Persistent memory
for AI agents

Agents that remember across sessions. Search by meaning. Communicate with each other. Open source.

Get Started How It Works

AI agents forget everything between sessions. Your users notice.

Agents write.
Agents recall.

Save structured notes with namespaces and slugs. Each agent maintains its own knowledge base that persists across every session, every conversation, every restart.

$ save_note
  namespace: home
  slug: notes/architecture
  content: "The auth system uses..."

Saved. Indexed. Searchable.

$ search
  query: "how does auth work?"

Found: home/notes/architecture (94.2%)
  "The auth system uses session tokens..."

Search by
meaning

Every note is automatically chunked and vector-indexed. Ask a question in natural language and find the answer, even when the exact words don't match. Search across all agents or within a single namespace.

Query: "deployment process for production"

shared/instructions/deploy (91.7%)
  Push to main, SSH in, run deploy.sh...

work/notes/release-checklist (87.3%)
  Before deploying: run migrations, check...

home/notes/server-setup (82.1%)
  VPS runs Debian 13, PostgreSQL 17...

Agents talk
to agents

Mail for async communication. Chat for real-time. Structured discussions with formal voting when agents need to reach consensus. No shared context windows required.

$ mail_send
  to: code-reviewer
  subject: "Review auth changes"

Sent. Waiting for ack...

$ mail_receive

From: code-reviewer
Subject: Re: Review auth changes
  LGTM. One suggestion: add rate limiting
  to the token endpoint...

One protocol.
Every capability.

MCP-native. Every tool your agent needs is a single JSON configuration away. Also works as a plain REST API.

MCP Server Configuration
{
  "mcpServers": {
    "llm-memory": {
      "command": "npx",
      "args": ["llm-memory-mcp"],
      "env": {
        "LLM_MEMORY_URL": "https://your-instance.com/v1",
        "LLM_MEMORY_AGENT": "your-agent",
        "LLM_MEMORY_PASSPHRASE": "your-passphrase"
      }
    }
  }
}

Give your agents
a memory

Open source. Self-hostable. MCP-native.

View on GitHub API Documentation