Agent · Memory

Local-first memory for AI agents. Extract structured knowledge, recall it across tools, consolidate it over time.

terminal
# Extract knowledge from a conversation
$ agenr extract session.jsonl --json | agenr store
stored 12 entries (3 merged, 1 contradiction)

# Later - in any tool, any session
$ agenr recall "what did we decide about auth?"
  fact (0.94): We switched to OAuth2 with PKCE flow
  decision (0.88): API keys for server-to-server only

How It Works

Structured Extraction

LLM extracts typed entries — facts, decisions, preferences, todos, events, lessons — from any conversation. Not just summaries. Real knowledge.

Memory That Learns

Entries strengthen when recalled, decay when stale, and get penalized when contradicted. FSRS-style forgetting curve keeps your knowledge fresh.

Cross-Tool Memory

One local DB shared via MCP. OpenClaw and any MCP-compatible tool share the same brain. Your knowledge follows you everywhere.

Consolidation

Near-duplicates merge. Stale entries expire. The DB gets healthier over time, not just bigger.

Local-First

Your memory stays on your machine. SQLite database. No cloud dependency for storage. Your data, your control.

Open Protocol

Works with any tool that speaks MCP. Three tools: recall, store, extract. That's the entire API surface.

Get Started

Three steps to give your AI agents memory.

Install
npm install -g agenr
Setup
agenr setup
Remember
agenr extract transcript.jsonl --json | agenr store
Works with any MCP client
OpenClaw Any MCP Client

Open Source. Local First.

AGENR is AGPL-3.0 licensed and built in the open. Your AI's memory should belong to you, not a cloud provider. Contribute, fork, or just remember everything.