Memory infrastructure for building stateful agents
open sourceAGPL-3.0self-hostablefreeMCP
Honcho is a memory server from Plastic Labs that models the people, agents and groups your app talks to. You store messages on sessions; a background worker reasons over them with an LLM and keeps a representation, summary and peer card for each peer, which you query as prompt-ready context, hybrid BM25 and vector search, or natural-language questions through its chat endpoint. Every message you add is processed by an LLM in the background, on Plastic Labs' cloud or with the provider key you configure when self-hosting. The FastAPI server is AGPL-3.0 and runs on PostgreSQL with pgvector; the hosted service at api.honcho.dev charges per token stored and per query. First-party plugins cover Claude Code, Codex, Cursor, OpenCode, OpenClaw and more, and an MCP server serves other clients.
Ways to install
On your own server
Problems it solves
- my agent should build up an understanding of each user's preferences and style over months of chats
- track what different people and agents in a group conversation know about each other
- ask a plain-language question about a user and get an answer drawn from all their past sessions
- get prompt-ready context and a summary for a conversation too long for the context window
- self-host an open source agent memory server on Postgres and pgvector
- share one memory between Claude Code, Codex, OpenClaw and Hermes on my machine
- move my assistant's MEMORY.md and USER.md files into a proper memory service
- work out insights from conversations in the background so replies aren't slowed down
- pay per token stored for agent memory, with reads free
- get a webhook when background processing of new messages has finished
Features
- peer-centric model: workspaces, peers (users, agents, groups) and sessions
- background reasoning (the deriver) that writes conclusions, summaries and peer cards
- chat endpoint with five reasoning levels, from a single search to exhaustive history analysis
- session context with summaries, formatted for OpenAI or Anthropic message lists
- hybrid BM25 and vector search over messages and conclusions
- low-latency static representations that skip the LLM at read time
- file uploads into sessions
- webhooks when background work finishes
- MCP server, plus first-party plugins for Claude Code, Codex, Cursor, OpenCode, Kilo Code, OpenClaw and Pi
- OpenClaw plugin that migrates USER.md, MEMORY.md and memory/ files and gives each subagent its own peer
View 2 more
- honcho CLI:
honcho start --setupruns API, deriver, Postgres and Redis locally - any OpenAI-compatible LLM provider (OpenRouter, Together, Fireworks, vLLM) configurable per feature
Limitations
- Doesn't build memory without an LLM: its background worker (the deriver) calls an LLM provider, OpenAI's gpt-5.4-mini by default, and models must support tool calling2
Ways to run it
Honcho Cloud
$2.00 per 1M tokens stored; queries $0.001 to $0.50 by reasoning level; reads free23
Only in this edition
- a dedicated Honcho instance per organization
Self-hosted Honcho
free2
You arrange
- PostgreSQL with the pgvector extension
- Redis
- an API key for an LLM provider whose models support tool calling
- an embeddings provider (OpenAI's text-embedding-3-small by default)
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Has official SDKs | plan not known |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what Honcho does.
- Mem0 The memory layer for AI agents
- Supermemory Memory and context layer for AI: memory, RAG, user profiles and connectors in one API
- Zep The enterprise context layer for reliable agents
- Letta Build stateful agents with memory that can learn and improve over time
- Cognee The open-source AI memory platform for agents
- Hindsight Long-term memory for AI agents that learns from experience