plastic-labs / honcho
git clone https://github.com/plastic-labs/honcho.git
v3.3.0 · 8d ago
Memory library for building stateful agents
+15
stars, 24h · #2,428
+~82
stars, 7 days · #2,598
+~350
stars, 30 days · #2,358
7.7k
★ total · +1% this week
953
forks · 174 open issues
Star history (as recorded here)
LanguagePython
LicenseAGPL-3.0
Created2023-09-10 (3y ago)
Last pushtoday
Watchers29
OwnerOrganization
GitHub topics
Links
- GitHub: github.com/plastic-labs/honcho
- Homepage: https://honcho.dev/docs
- Releases · Issues · Hacker News mentions
README excerpt
--- **Honcho is memory infrastructure for building stateful agents that understand changing people, agents, groups, projects, and ideas over time.** Store messages and events, let Honcho reason in the background, then query peer representations, session context, search results, or natural-language insights from any model or framework. Use it managed at api.honcho.dev, run a local stack with `honcho start`, or self-host the FastAPI server yourself. Using Honcho as your memory system will earn your agents higher retention, more trust, and help you build data moats to out-compete incumbents. > Honcho has defined the Pareto Frontier of Agent Memory. Watch the video, check out our evals page, and read the blog post for more detail. ## Contents - Start Here - Why Honcho - The Honcho Loop - Quickstart - What Honcho Gives You - Integrations - CLI - Core Concepts - Benchmarks & Evals - Self-hosting - Configuration - Architecture - SDKs - Learn More - Contributing - License The Honcho project is split between several repositories, with this one hosting the core service logic — implemented as a FastAPI server. Client SDKs for Python and TypeScript live in the `sdks/` directory. The `honcho-cli` package lives here too. ## Start Here | I want to... | Path | Get started | | -------------------------------------- | ---------------------------------------------------------- | ----------------------------- | | Give my coding agent persistent memory | Claude Code, Cursor, Grok Bot, OpenCode, Kilo Code, OpenClaw, Hermes, or any MCP client | Integrations | | Add memory to my product | Python or TypeScript SDK | Quickstart | | Run Honcho locally | Install CLI, then `honcho start --setup` | CLI | | Inspect a deployment | `honcho workspace inspect`, `honcho doctor` | CLI | | Self-host from source | Docker Compose or local development | Self-hosting | ## Why Honcho | Capability | What it means | | ----------------------- | ------------------------------------------------------------------------------------ | | Reasoning-first memory | Extracts conclusions from conversations and events, not just matching chunks. | | Peer-centric model | Tracks users, agents, groups, projects, and ideas as entities that change over time. | | Multi-peer perspective | Models what one peer knows about another when configured. | | Managed or self-hosted | Use `api.honcho.dev`, `honcho start` locally, or run the FastAPI server yourself. | | Agent-tool integrations | MCP, Claude Code, Cursor, Grok Bot, OpenCode, Kilo Code, OpenClaw, Hermes. | ## The Honcho Loop 1. **Store** conversations, events, documents, or tool traces as messages on a session. 2. **Reason** — Honcho processes the queue in the background and updates peer representations. 3. **Query** — ask Honcho for context, search results, peer representations, or a natural-language answer. 4. **Inject** — drop the result into any LLM call or agent framework. Concretely: workspaces hold peers, peers participate in sessions, messages live o