Embedded graph database for agent coordination — episodic memory, knowledge persistence, and session accountability across coding sessions.
Part of the grounded-coding ecosystem.
Current core crate release: atheneum 0.10.0.
Role — persistence layer for coding agents: what was discovered, what sessions did, what tasks exist, what knowledge is worth keeping.
Data model
- Episodic memory — sessions, events (tool calls), discoveries, tasks, handoffs
- Evidence + decision chains via
caused_by/led_tolinks - FTS5 wiki page index (search, sync, backfill, auto-repair)
Coordination surface
- Session accountability —
session-trace,tool-usage,sessions-recent - Cross-agent activity —
discoveries-recent,handoffs-recent,events-recent - Token-bounded session digests (bootstrap packets for new sessions)
- Decision-chain walks —
threadwith depth + token budget
Interfaces
- Rust library (
AtheneumGraph) + CLI - MCP server (
atheneum-mcp) - Exposed via agent-envoy HTTP endpoints
Keyword index: episodic memory · knowledge graph · agent coordination · session accountability · decision chains · handoff protocol · token-bounded digests · MCP · FTS5 · SQLiteGraph · Rust
| Crate | Description | Version |
|---|---|---|
atheneum |
Core library + CLI | |
atheneum-mcp |
MCP server (optional) | — |
cargo add atheneumFor the CLI binary:
cargo install atheneumAtheneumGraph::open() automatically repairs a corrupt wiki_pages_fts FTS5 index if an external SQLite writer left the shadow tables inconsistent, so sync-wiki, search-wiki, and backfill-wiki keep working without manual intervention.
The CLI now covers the common observability reads that previously pushed operators toward raw SQLite:
# Inspect one session with recent events and tool calls
atheneum session-trace ~/.magellan/atheneum/atheneum.db --session <session-id> --limit 10
# Aggregate tool usage for one session
atheneum tool-usage ~/.magellan/atheneum/atheneum.db --session <session-id> --limit 20
# Review recent cross-agent activity
atheneum discoveries-recent ~/.magellan/atheneum/atheneum.db --project envoy --limit 10
atheneum handoffs-recent ~/.magellan/atheneum/atheneum.db --agent claude4 --limit 10
atheneum events-recent ~/.magellan/atheneum/atheneum.db --type tool_call --limit 10
atheneum sessions-recent ~/.magellan/atheneum/atheneum.db --project envoy --limit 10
# Bounded bootstrap packet so a new session grounds on prior work
atheneum session-digest ~/.magellan/atheneum/atheneum.db --project envoy --last 3 --tokens 500
# Walk a decision chain — discoveries linked by caused_by/led_to per session
atheneum thread ~/.magellan/atheneum/atheneum.db "adopt graph chain" --depth 3 --tokens 1500GPL-3.0-only — see LICENSE.