Skip to main content
pi starts every session from scratch. The pi-honcho extension gives it memory that carries over: who you are, how you like to work, and what you decided in this project last time.

Quick Start

Step 1: Install the Extension

Requires pi 1.0 or later.
pi-honcho builds on pi-honcho-memory, the community extension Agney Menon created, and we’re grateful for it. To use pi-honcho, uninstall pi-honcho-memory first:

Step 2: Sign In

Run /honcho login inside pi and pick a method:
  • Browser — approve in your browser and pi receives the callback on 127.0.0.1. Over SSH or inside a container, press p and paste the URL the browser was redirected to.
  • Device code — for SSH and headless machines. Enter the code on any device.
  • API key — paste a key from app.honcho.dev. It is checked before it is saved.
Browser and device sign-in are available on Honcho’s managed service. Self-hosted Honcho uses API keys. HONCHO_API_KEY in your environment also works, and takes precedence over any saved login.

Step 3: Verify

Run /honcho. It shows the connection, account, workspace, peers, session, memory counts, and queue. The footer shows the connection state the rest of the time.

What You Get

  • Memory at session start — your peer card and the session summary are added to the system prompt
  • Recall on every turn — before pi answers, Honcho is asked about your message (chat, the default) or returns the most relevant conclusions (context). It waits at most 30 seconds, then the turn continues without it
  • Automatic capture — your messages and pi’s replies are saved to Honcho after every run
  • Agent tools — honcho_chat and honcho_search for when pi needs to look something up
  • Visible context — everything Honcho adds appears as a collapsible ◆ honcho entry. Press ctrl+o to expand or collapse them
  • Shared configuration — the same ~/.honcho/config.json the other Honcho integrations read

Commands

Agent Tools

Configuration

/honcho config edits ~/.honcho/config.json. Root keys are shared with every Honcho integration; keys under hosts.pi apply to pi only. perTurn uses the same names as the Claude Code plugin: ["dialectic"] is chat, ["userContext"] is context, and [] turns per-turn recall off.

Session Mapping

To pin a directory to a session name of your choosing, add it to the root sessions map: {"/abs/path": "name"}.

Sign-in Storage

When nothing pi-specific is saved, pi uses a root apiKey written by another Honcho tool. /honcho logout never removes a root apiKey.

Sharing Memory With Other Integrations

pi defaults to its own pi workspace, and a workspace is the isolation boundary, so it does not see memory from other integrations. To share memory with the Claude Code plugin, point both at the same workspace:

Environment Variables

Environment variables win over the config file. /honcho config names the variable when one is shadowing a saved value.

Next Steps

GitHub Repository

Source code, issues, and README.

Honcho Architecture

Learn about peers, sessions, and dialectic reasoning.