Back to services

honcho

Memory library for building stateful agents

View alternatives to honcho
Suggest edit
Open source
Self-hostable
AGPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Honcho is an open-source agent memory library developed by Plastic Labs. It also comes with a managed service, Honcho Cloud, and is used to build stateful AI agents. It isn't tied to any particular model, framework, or architecture, and it can build and maintain state for all kinds of entities, such as users, agents, groups, and ideas. Honcho is a continual-learning system: as entities change over time, its understanding of them is updated too.

The Problem It Solves

Many LLM applications work well at first but can't remember context across sessions. Developers often spend a lot of time building and repeatedly tuning RAG setups, for example changing chunking, embedding, and retrieval strategies, yet their agents still forget things, contradict themselves, or lose context in the middle of a session. Honcho's view is that the root of the problem is that not all of the latent information in the data is being extracted. It aims to provide a general-purpose solution for context engineering, memory, and state management.

How It Works

Honcho has four storage primitives:

  • Workspaces: The top-level container, used to isolate different applications or environments.
  • Peers: Any long-lived entity that changes over time, such as a user, an agent, or an object.
  • Sessions: Time-bounded interaction threads between peers. Peers and sessions have a many-to-many relationship.
  • Messages: The units of data that trigger reasoning. They can be conversations, events, activity records, documents, and so on.

Once messages are written to Honcho, they are stored and processed in the background. Custom reasoning models perform formal logical reasoning and draw conclusions about each peer, and these conclusions are saved as representations. Developers or agents can query representations to get richer context for the next reply.

Key Advantages

  • Memory as reasoning: Traditional RAG can only retrieve what was explicitly stated. Honcho uses reasoning to uncover implicit connections, handle contradictions between old and new information, and support predictions under uncertainty.
  • Model- and framework-agnostic: It can plug into any LLM and any agent framework.
  • Highly controllable: The data model is flexible and composable. Developers can tune token usage, latency, and reasoning depth.
  • Benchmark performance: The project claims Honcho reaches the "Pareto frontier" in agent memory, and it has published an evaluation page and benchmark articles.
  • Business value: The project claims it helps agents improve user retention and trust, and build a data moat.

Deployment Options

  • Honcho Cloud: Sign up at app.honcho.dev and get an API key to start using it.
  • Self-hosting: Honcho is an open-source project, so you can deploy it yourself. The official CLI can inspect existing deployments, and you can also start a local environment with honcho start --setup.

The official documentation offers a quickstart guide, which claims you can set up your first stateful agent in just a few minutes.

Target Users

It is aimed at developers of AI applications that need long-term memory and user modeling, such as teams building personalized assistants, companion apps, and multi-agent systems.