Atheneum
Embedded graph database for AI agent coordination — episodic memory, knowledge persistence, and session accountability across LLM coding sessions.
Part of the grounded-coding ecosystem. Used as the storage layer inside envoy.
Ecosystem
grounded-coding ── install + Claude Code plugin (skills, hooks, MCP)
│
├── magellan ── code graph indexer (symbols, call graph, CFG)
├── llmgrep ── semantic code search over magellan graphs
├── mirage ── CFG analysis (paths, loops, dominance)
├── splice ── span-safe refactoring
│
├── envoy ── HTTP coordination server (messaging, agent registry)
│ └── atheneum ◀── YOU ARE HERE
│ └── sqlitegraph ── SQLite graph engine
│
└── envoy-hook ── Claude Code hook binary (session + tool call logging)
Atheneum is the persistence layer. It stores what agents discovered, what sessions did, what tasks exist, and what knowledge is worth keeping — so the next agent doesn't start from scratch.
Install
Atheneum is a library. Production use is via agent-envoy which exposes all endpoints over HTTP (envoy binary). Direct embedding is for custom runtimes.
Quickstart
use AtheneumGraph;
use Path;
let graph = open?;
// Record a session
graph.record_session?;
// Store a discovery
use json;
graph.store_discovery?;
// Query recent sessions for a project
let sessions = graph.query_sessions?;
for s in &sessions
// Ingest a wiki article
let content = "---\ntitle: My Note\n---\n# My Note\nSee also [[Related Concept]].\n";
graph.ingest_wiki_page?;
What It Stores
| Domain | Types |
|---|---|
| Sessions | start, end, tool calls, file writes, commits, test runs, cost |
| Discoveries | facts, decisions, bugs, invariants — scoped by project |
| Knowledge | wiki pages, journal sections, wikilinks |
| Planning | tasks, requirements, blockers, kanban state |
| Handoffs | inter-agent state transfers with manifests |
| Ontology | class/property schemas for typed entity reasoning |
| Search index | FTS5 full-text + HNSW lexical index (hash-projected tokens, not neural) |
HTTP Access
When embedded in envoy, all atheneum operations are accessible over HTTP:
# Query recent sessions
# Store a discovery
# Get recent project context (for session bootstrap hooks)
See envoy's API.md for the full HTTP reference.
Features
| Feature | Default | Description |
|---|---|---|
default |
✓ | Core graph, wiki, sessions, planning, search |
web |
— | Web dashboard (axum + askama templates) |
cli |
— | atheneum CLI binary |
async |
— | Async runtime support |
CLI
Requirements
- Rust 1.75+
- SQLite 3.35+ with JSON1 (bundled via rusqlite)
Related
- envoy — HTTP server exposing atheneum over REST
- grounded-coding — Claude Code plugin using this ecosystem
- magellan — code graph indexer
- sqlitegraph — underlying SQLite graph engine
License
GPL-3.0-only — see LICENSE.