System Architecture
Engram decouples intelligence from the interface. It follows a "Headless Host" pattern where the Python kernel runs as a background service, accessible via REST API or CLI.
Presentation Layer
The Interface (Next.js)
A lightweight React dashboard that visualizes memory. It communicates with the kernel purely over HTTP.
Intelligence Layer
The Brain (FastAPI + Ollama)
The Dockerized core. It routes intent to specific agents:
Llama 3
Reasoning
Whisper
Hearing
LLaVA
Vision
LangChain
Orchestration
Memory Layer
Local Persistence
No cloud databases. All state is stored in standard files on your disk.
./engram_db (Chroma)
./sqlite.db