Ebbinghaus Decay
Biological forgetting curve thins low-salience nodes automatically — memory that ages, not bloats.
AlekhDB is a local-first GraphRAG database and MCP server engineered for autonomous AI agents — with Ebbinghaus decay, Doyle-style truth maintenance, and sub-millisecond retrieval.

Six core behaviors borrowed from cognitive science and engineered for autonomous agents.
Biological forgetting curve thins low-salience nodes automatically — memory that ages, not bloats.
Justification-based truth maintenance keeps the knowledge graph internally consistent under contradiction.
High-value memories are surfaced and reinforced on access; stale ones decay below the recall threshold.
First-class storage for parsed code — agents reason about structure, not just tokens.
The whole memory store mounts as a real filesystem. Read, diff, version with the tools you already use.
Model Context Protocol is the first-class interface — Claude, Cursor, and any MCP client plug in directly.
All numbers from the open benchmark suite in the repository. Reproduce them with one command.
Inspired by cognitive psychology. Each tier has its own decay curve, retrieval cost, and access pattern.
One JSON-RPC contract. Drop the snippet into your client config and the agent inherits a memory.
01{02 "mcpServers": {03 "alekhdb": {04 "command": "alekhdb",05 "args": ["serve", "--store", "~/.alekh"],06 "env": { "ALEKH_PROFILE": "agent" }07 }08 }09}
Zero dependencies. No compile step. Runs from source on any POSIX shell.
$git clone https://github.com/MAHADEV369/AlekhDB && cd AlekhDBBootstrap the six memory tiers and the decay schedule for an agent profile.
$./alekh seed --profile agent ~/.alekhPush documents into the graph and ask in natural language. Sub-millisecond round-trip.
$./alekh ingest ./docs && ./alekh query "who broke the build last week?"