Open source AI-assisted home automation with conversation archaeology
Distributed AI system with physical components and intelligent decision-making
Athena is a distributed AI system that processes events from multiple sources and makes intelligent decisions about device control and information display.
┌─ Physical Layer ─────────────────────────────────────────┐
│ │
│ 📹 PTZ Cameras 🎤 Microphones 📺 Displays │
│ 📱 Raspberry Pis 🔊 Speakers 🏠 Home Assistant │
│ │
└─────────────────┬────────────────────────────────────────┘
│
┌─ Event Layer ───▼────────────────────────────────────────┐
│ │
│ • Motion events from cameras/PIR sensors │
│ • Sound events from microphones │
│ • MQTT messages from IoT devices │
│ • File system changes (logs, conversations) │
│ • Home Assistant events │
│ │
└─────────────────┬────────────────────────────────────────┘
│
┌─ Processing ────▼────────────────────────────────────────┐
│ │
│ 🧠 AI Decision Engine (Phoenix LiveView + Ash) │
│ │ │
│ ├─ Event Router (Elixir Broadway pipelines) │
│ ├─ Context Manager (conversation state) │
│ ├─ Vision Pipeline (SAM, CLIP computer vision) │
│ └─ Chat Interface (multi-user AI agents) │
│ │
└─────────────────┬────────────────────────────────────────┘
│
┌─ Control Layer ─▼────────────────────────────────────────┐
│ │
│ 🎛️ MCP Tool Calls: │
│ • Display HTML/messages on specific screens │
│ • Control PTZ cameras (pan, tilt, zoom) │
│ • Trigger audio playback on speakers │
│ • Capture screenshots and video │
│ • Update Home Assistant entities │
│ │
└──────────────────────────────────────────────────────────┘
Unlike traditional home automation that follows if-then rules, Athena processes events through an AI decision layer that can:
Every component serves dual purposes:
This architecture enables research into:
Real distributed AI system architecture emerging from research through practice methodology