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 Bun. If you don’t have it:
curl -fsSL https://bun.sh/install | bashStep 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
- 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
- Cross-Tool Context — Link workspaces across Claude Code, Cursor, and other hosts so context flows between tools
- 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.
Session Strategies
Session strategy controls how Honcho maps your conversations to sessions:| Strategy | Behavior | Best for |
|---|---|---|
per-directory (default) | One session per project directory. Stable across restarts. | Most users — each project accumulates its own memory |
git-branch | Session name includes the current git branch. Switching branches switches sessions. | Feature-branch workflows where context per branch matters |
chat-instance | Each Claude Code chat gets its own session. No continuity between restarts. | Ephemeral usage or when you want a clean slate each time |
peerName by default (e.g., alice-my-project). Set sessionPeerPrefix: false if you’re the only user and want shorter names.
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
Linking Hosts for Cross-Tool Context
If you use both Claude Code and Cursor, you can link them so context from one is readable in the other. Writes always stay in the current host’s workspace — linking only adds read access./honcho:config and select Workspace > Linking to set this up interactively.
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.
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:| Tool | Description |
|---|---|
search | Semantic search across session messages |
chat | Query Honcho’s knowledge about the user |
create_conclusion | Save insights about the user to memory |
get_config | View current configuration and status |
set_config | Change any configuration field programmatically |
Skills (Slash Commands)
| Command | Description |
|---|---|
/honcho:status | Show current memory status and connection info |
/honcho:config | Interactive configuration menu |
/honcho:setup | First-time setup — validate API key and create config |
/honcho:interview | Interview to capture stable, cross-project user preferences |
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.
| Variable | Required | Default | Description |
|---|---|---|---|
HONCHO_API_KEY | Yes | — | Your Honcho API key from app.honcho.dev |
HONCHO_PEER_NAME | No | $USER | Your identity in the memory system |
HONCHO_WORKSPACE | No | claude_code | Workspace name (used only when no config file exists) |
HONCHO_AI_PEER | No | claude | AI peer name |
HONCHO_HOST | No | auto-detected | Force host detection: claude_code, cursor, or obsidian |
HONCHO_ENDPOINT | No | production | production, local, or a full URL |
HONCHO_ENABLED | No | true | Set to false to disable |
HONCHO_SAVE_MESSAGES | No | true | Set to false to stop saving messages |
HONCHO_LOGGING | No | true | Set to false to disable file logging to ~/.honcho/ |
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!