Athena: Distributed AI Home Automation

Open source AI-assisted home automation with conversation archaeology

View the Project on GitHub tensiondriven/athena

Athena Event Types and Data Sources

User Stories

“I want all my conversations with Claude Code to be searchable in future conversations and I want to be able to extract knowledge from it and then visualize and query that later”

This drives the need to capture:

“I want to understand patterns in how I work - when I’m most productive, what triggers deep work sessions, how my environment affects my focus”

This drives the need to capture:

“I want the system to learn from everything happening in my physical space and make intelligent decisions about displays, alerts, and automation”

This drives the need to capture:

“I want a complete audit trail of how my home automation responds to events, so I can improve the system and troubleshoot issues”

This drives the need to capture:

Event Sources

Based on these user stories, we capture data from:

Event Schema Structure

{
  "timestamp": "2025-06-08T16:30:00Z",
  "source_type": "logged-conversation",
  "source_id": "claude-code-session-2025-06-08",
  "data": {
    "file_path": "/path/to/chat.jsonl",
    "size_bytes": 1024,
    "message_count": 15
  },
  "metadata": {
    "confidence": 1.0,
    "processing_time_ms": 5,
    "tags": ["ai", "collaboration", "physics-of-work"]
  }
}

Example source_types:

Storage Targets

Primary Storage

Future Storage Options

Ingestion Pipeline

  1. File watchers monitor directories
  2. Event extractors parse different formats
  3. Event validator ensures schema compliance
  4. Storage engine persists to database/queue
  5. AI processors analyze and respond

Comprehensive event taxonomy for Athena distributed AI system