--- title: HearthNet emoji: 🐒 colorFrom: purple colorTo: pink sdk: gradio sdk_version: 6.16.0 python_version: '3.12' app_file: app.py pinned: true short_description: Community-Owned AI That Works Even When The Internet Doesn't --- # πŸ”₯ HearthNet ### Community-Owned AI That Works Even When The Internet Doesn't

HearthNet Banner

🌐 Local-First AI β€’ 🀝 Community-Powered β€’ πŸ›‘οΈ Resilient by Design β€’ ⚑ Offline-Capable

--- ## 🚨 The Problem Today's AI depends on centralized cloud infrastructure. When the internet goes down, so does access to: * πŸ€– AI assistants * πŸ“š Knowledge bases * πŸ’¬ Communication platforms * πŸ›’ Marketplaces * πŸ—ΊοΈ Navigation and local information Whether caused by outages, disasters, censorship, infrastructure failures, or simply poor connectivity, modern communities become digitally isolated almost instantly. What if AI could continue working anyway? --- # πŸ”₯ Introducing HearthNet **HearthNet** transforms the computers already around you into a resilient local AI network. Your gaming PC. Your neighbor's old laptop. A Raspberry Pi in a community center. An unused workstation in a local business. Together, they become a shared AI cooperative. No centralized server required. No cloud dependency required. No single point of failure. --- ## 🎬 Imagine This Scenario A storm damages the internet connection for an entire neighborhood. Most online services become unavailable. With HearthNet: βœ… AI assistants still answer questions βœ… Local document search continues working βœ… Emergency information remains available βœ… Community chat stays online βœ… Local marketplaces continue operating βœ… Knowledge remains accessible The internet disappears. The community does not. --- # ⚑ Key Features ## πŸ€– Distributed AI Inference Every node advertises its capabilities. A gaming PC might offer: * Large Language Models * Vision Models * Embeddings A Raspberry Pi might offer: * Message relaying * Local storage * Discovery services Requests are automatically routed to the most suitable node. --- ## πŸ“š Local Knowledge (RAG) HearthNet can host community knowledge libraries including: * First aid manuals * Emergency procedures * Community resources * Local guides * Educational content Even completely offline. --- ## 🌐 Automatic Discovery No manual configuration. No IP addresses. No complex setup. Open HearthNet and nearby nodes automatically discover each other. --- ## πŸ›‘οΈ Internet-Outage Resilience When the internet is available: ```text Community ↔ Internet ↔ Cloud Services ``` When the internet disappears: ```text Community ↔ Community ↔ Community ``` HearthNet automatically switches to local-first operation. --- ## πŸ’¬ Local Community Communication Communities can communicate directly through: * Chat * Announcements * Local messaging * Shared information boards No external servers required. --- ## πŸ›’ Community Marketplace Buy. Sell. Trade. Share resources. Even during connectivity disruptions. --- # πŸ—οΈ Architecture ```text β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Frontend β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Capability Bus β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β–Ό β–Ό β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ LLM β”‚ β”‚ RAG β”‚ β”‚ Chat β”‚ β”‚ Node β”‚ β”‚ Node β”‚ β”‚ Node β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β–² β–² β–² β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”‚Laptop Aβ”‚ β”‚Laptop Bβ”‚ β”‚Pi Zero β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` --- # πŸš€ Hackathon Goals Our hackathon MVP demonstrates: ### Phase 1 * [x] Node discovery * [x] Capability registration * [x] Local AI inference * [x] Knowledge retrieval * [x] Offline operation ### Phase 2 * [ ] Local marketplace * [ ] Community messaging * [ ] Health monitoring * [ ] Distributed storage ### Phase 3 * [ ] Long-distance mesh networking * [ ] Federated communities * [ ] Distributed inference * [ ] Federated learning --- # 🧠 Why This Matters AI is rapidly becoming essential infrastructure. Today, that infrastructure is mostly controlled by a handful of organizations. HearthNet explores a different future: A future where communities own and operate AI together. A future where knowledge remains available during outages. A future where local resilience is built directly into our digital systems. --- # 🌍 Potential Use Cases ## πŸš‘ Emergency Response Access critical information when external services are unavailable. --- ## 🏫 Schools Run local educational AI systems without constant cloud access. --- ## 🌾 Rural Communities Provide AI services in areas with limited connectivity. --- ## πŸŽͺ Events & Festivals Create temporary local AI networks for attendees. --- ## 🏘️ Neighborhoods Community knowledge sharing and local services. --- # πŸ› οΈ Technology Stack ### AI * llama.cpp * Ollama * Hugging Face Models * Sentence Transformers ### Backend * Python * FastAPI * WebSockets ### Knowledge Layer * ChromaDB * FAISS * Local Embeddings ### Infrastructure * Docker * Docker Compose ### Frontend * Gradio / Web UI --- # πŸ‘₯ Team Built during the Hugging Face Hackathon ❀️ We believe that the future of AI should be: βœ… Open βœ… Local βœ… Resilient βœ… Community-Owned --- # 🀝 Join Us We're actively looking for: * AI Engineers * Distributed Systems Developers * Frontend Developers * DevOps Engineers * Designers * Community Builders Ideas, feedback, contributions, and discussions are always welcome. --- # 🌟 Vision > "The cloud owns AI today. > > HearthNet is our bet that communities will own it tomorrow." ---

Built with ❀️, β˜•, open source, and a slightly unreasonable belief that neighborhoods should have their own AI.