ctrl+c. Claude remembers what you’re working on, your preferences, and what it was doing across all your projects.
Quick Start
Step 1: Get Your Honcho API Key
- Go to app.honcho.dev
- Sign up or log in
- Copy your API key (starts with
hch-)
Step 2: Set Environment Variables
Add these to your shell config (~/.zshrc, ~/.bashrc, or ~/.profile):
Step 3: Install the Plugin
This plugin requires Node.js on your PATH.
Step 4: Restart Claude Code
Step 5: (Optional) Kickstart with an Interview
What You Get
- Persistent Memory — Claude remembers your preferences, projects, and context across sessions
- Survives Context Wipes — Even when Claude’s context window resets, memory persists
- Configurable Memory Injection — Choose exactly what context is injected at session start and per turn
- Git Awareness — Detects branch switches, commits, and changes made outside Claude
- Flexible Sessions — Map sessions per directory, per git branch, or per chat instance
- AI Self-Awareness — Claude knows what it was working on, even after restarts
- Secret Redaction — Built-in patterns (plus your own) scrub secrets from tool summaries before upload
- Team Support — Multiple people can share a workspace and build context together
- MCP Tools — Search memory, query knowledge about you, and save insights
Configuration
All configuration lives in a single global file at~/.honcho/config.json. You can edit it directly, use the /honcho:config skill interactively, or use the set_config MCP tool. Environment variables work for initial setup but the config file takes precedence once it exists.
Memory Injection
Theinjection config block controls exactly what memory is injected into Claude’s context, on two surfaces: once at session start and per prompt. Each surface selects zero or more components; retrieval knobs shape what those components emit.
Configure it interactively with /honcho:config (under the memory injection settings), by asking Claude to use set_config, or by editing ~/.honcho/config.json directly.
Session-Start Components
Injected once when a session opens. Default:["directives", "summary", "peerCard"].
Per-Turn Components
Injected with each non-trivial prompt. Default:["userContext"].
Retrieval Knobs
If injected context feels off-topic, lower
searchMaxDistance (stricter relevance); if it feels too sparse, raise it or bump searchTopK.
Injection Visibility
By default, per-turn components report a one-line summary in the terminal instead of printing their full contents. To see exactly what a component injects, list it inshowContents:
The honcho_remember Tool
An experimental on-demand recall tool. When enabled, Claude gets a honcho_remember MCP tool that fans out up to 5 parallel dialectic queries about you and returns per-question answers — useful before starting a task, when catching up (“where were we?”), or whenever your history could shape the response.
To enable it, just ask Claude: “Set my Honcho rememberTool config to true” (it uses the set_config tool). Or set it in ~/.honcho/config.json:
Session Strategies
Session strategy controls how Honcho maps your conversations to sessions:
Session names are prefixed with your
peerName by default (e.g., alice-my-project). Set sessionPeerPrefix: false if you’re the only user and want shorter names.
Linked git worktrees resolve to their main repository’s session, so a worktree shares memory with the repo it belongs to.
Observation Mode
Controls how Honcho stores and retrieves conclusions about you. Change it viaset_config or edit config.json directly. Requires a Claude Code restart.
Switching modes doesn’t automatically migrate existing conclusions — each mode reads from a different collection. The plugin repository ships a
migrate-observations.py script to copy conclusions between collections.
Host-Aware Configuration
The plugin auto-detects which tool is running it (Claude Code, Cursor, etc.) and reads the matching block fromhosts. Each host gets its own workspace and AI peer name, so data stays separated by default.
Host detection priority:
HONCHO_HOSTenv var (explicit override)cursor_versionin hook stdin (Cursor detected)CURSOR_PROJECT_DIRenv var (Cursor child process)- Default:
claude_code
apiKey (useful when different tools authenticate against different Honcho orgs) and override most settings — sessionStrategy, injection, rememberTool, observationMode, and more.
Global Override
If you want all hosts to share a single workspace (instead of per-host isolation), setglobalOverride: true and a flat workspace field:
shared workspace. Each tool still uses its own AI peer name.
Building with Teammates
Multiple people can share context by pointing to the same workspace. Each person uses their ownpeerName as identity, and sessions are automatically prefixed with it to avoid collisions.
Person A (~/.honcho/config.json):
~/.honcho/config.json):
team-acme workspace. Their sessions are namespaced (e.g., alice-my-project, bob-my-project) so data doesn’t collide, but Honcho’s dialectic reasoning can draw on context from both users.
Secret Redaction
Tool-capture summaries are scrubbed against built-in secret patterns (API keys, tokens, credentials) before upload. Add your own patterns withredactPatterns — an array of regexes applied on top of the defaults:
Logging
The plugin logs activity to~/.honcho/ and to Claude Code’s verbose mode, so you can see exactly how Honcho is being used — what context is loaded at session start, what messages are saved, and what context is injected into Claude’s prompts. Set logging to false in your config (or HONCHO_LOGGING=false) to disable file logging.
MCP Tools
The plugin provides these tools via MCP:Skills (Slash Commands)
The Interview
The/honcho:interview skill conducts a short interview to learn stable, cross-project aspects about you:
- Communication style — Concise answers, detailed explanations, or a mix
- Tone — Direct and professional or conversational
- Structure — Bullet points, step-by-step, or narrative
- Technical depth — Beginner, intermediate, or expert
- Code quality focus — Clarity, performance, tests, or minimal changes
- Collaboration style — Make changes directly, propose options, or ask first
Environment Variables
Environment variables work for initial bootstrap (before a config file exists). Once~/.honcho/config.json is written, the config file takes precedence for host-specific fields like workspace.
Using a local Honcho instance
Via config file:Using Honcho with Claude Desktop
You can also use Honcho with the Claude Desktop app via MCP. This lets Claude manage its own memory in the native desktop experience.Step 1: Get Your API Key
Get an API key from app.honcho.dev.Step 2: Configure Claude Desktop
This requires Node.js. Claude Desktop or Claude Code can help you install it!
Step 3: Restart Claude Desktop
Upon relaunch, Honcho should start and the tools will be available.Step 4: Add Instructions
The Desktop app doesn’t allow system prompts directly, but you can create a project and paste these instructions into the “Project Instructions” field. Claude will then query for insights before responding and write your messages to storage!Next Steps
GitHub Repository
Source code, issues, and README.
Honcho Architecture
Learn about peers, sessions, and dialectic reasoning.