Athena: Distributed AI Home Automation

Open source AI-assisted home automation with conversation archaeology

View the Project on GitHub tensiondriven/athena

AI Quick Reference - Athena Project

Core Patterns & Quick Answers for Future AI Sessions

Project Structure

athena/
├── data/claude-logs/           # Claude conversation archives (append-only)
├── system/ash-ai/ash_chat/     # Main web UI (Phoenix LiveView)
├── system/athena-ingest/       # Event collectors (Elixir Broadway)
├── system/athena-mcp/          # MCP servers for hardware control
├── docs/                       # Documentation & collaboration guides
└── dev-tools/                  # Development MCP servers

Key Services & Locations

Web UI

Event Collection

Hardware Control

Common Tasks

Start/Check Services

# Web UI (if not running)
cd /Users/j/Code/athena/system/ash-ai/ash_chat && mix phx.server

# Claude collector
cd /Users/j/Code/athena/system/athena-ingest/claude_collector && mix run --no-halt

# Check what's on port 4000
lsof -i :4000

# Neo4j status
ssh j@llm "docker ps | grep neo4j"

UI Updates

Git Workflow

git status
git add -A
git commit -m "Brief description + thinking log"
git push origin master

Architecture Patterns

Physics of Work

Event Pipeline

Source → File Watcher → Broadway Pipeline → Neo4j → Dashboard

Safety Principles

Quick Fixes

Port Already in Use

lsof -i :4000  # Check what's using port
# Usually means service is already running

Neo4j Connection Errors

ssh j@llm "docker restart neo4j"

Missing Dependencies

cd /path/to/elixir/project && mix deps.get

File Permissions

chmod +x script.sh

File Editing Patterns

LiveView Layout Updates

Already implemented in app layout with emoji icons:

Common Elixir/Phoenix

Current Session Context

Remember


Quick reference for efficient AI collaboration on Athena