AxonDb is local graph memory and persistent memory for AI agents. It links the people, projects and tools your agent hears about, and every recall returns the path it followed to find the answer.
Vector search returns sentences that sound like your question. AxonDb also follows the links between them, so answers that span two or three facts still come back.
SQLite on your disk. No account, no API key, no hosted service.
The traversed path is part of every result, so you can see why a memory surfaced.
Embedding search finds the entry points. Two-hop expansion with decaying scores finds the rest.
Memories are closed with an end timestamp, so history stays intact.
Use it from the terminal, plug it into Claude Desktop, or watch the graph in a local web viewer.
All database access goes through one interface, so SQLite can be replaced later.
The graph viewer is a small web server on 127.0.0.1.
AXONDB_PATH=/FULL/PATH/TO/memory.db python -m uvicorn AxonDb.api:app --port 8000
Memories live in ~/.AxonDb/AxonDb.db, or any path you choose. Delete the file to remove everything.
100 generated memories, 100 questions, one answer each. A hit means the right sentence is in the top 5. Same questions and same embedding model for every method.
# install git clone https://github.com/yashogale30/AxonDb cd AxonDb python3 -m venv .venv source .venv/bin/activate pip install . # remember and recall AxonDb remember "Priya leads the Atlas project." AxonDb remember "Atlas uses Redis for seat locking." AxonDb recall "Which project does Priya lead?"
# claude_desktop_config.json { "mcpServers": { "axondb": { "command": "/PATH/TO/.venv/bin/python", "args": ["-m", "AxonDb.mcp_server"], "env": { "AXONDB_PATH": "/PATH/TO/memory.db" } } } } # tools: remember, recall, forget
The first run downloads two small models from Hugging Face. After that everything runs locally. Write complete sentences with names, not pronouns, for the best entity linking.
Privacy: memories stay in a local SQLite file and AxonDb sends nothing to a hosted service. To remove everything, delete the database file.