HarnessLink for pi

HarnessLink captures pi's prompts and transcripts, banks every finished turn into the memory your other harnesses search, and routes pi's Anthropic and OpenAI Codex calls through the local gateway. pi has no hooks HarnessLink can use, so memory does not flow back into a pi session.

What HarnessLink captures from pi

What HarnessLink does in pi
FeatureIn piDetails
Prompt historyYesYour prompts, read from the session transcripts.
Session transcriptsYes~/.pi/agent/sessions/<folder>/*.jsonl, uploaded moments after they change.
Memory bank (autobank)YesEvery finished turn becomes a memory entry, plus todo, plan and checkpoint snapshots.
Gateway routingYesproviders.anthropic.baseUrl and providers.openai-codex.baseUrl in ~/.pi/agent/models.json.
Context hooksNopi has no hook HarnessLink can install.
Memory tools (MCP)NoThere is no MCP preset for pi.
Org policy rulesNoNot enforced: pi has no tool hook.
Skills from templatesYeshnl add <skill> installs into ~/.pi/agent/skills; pi also reads ~/.agents/skills.
Resume in another harnessYeshnl resume reopens a pi session through omp.

Set up pi

  1. Install HarnessLink on macOS or Linux (Windows has its own one-liner).

    Terminal
    curl -fsSL https://harnesslink.sh/install.sh | bash
  2. Sign in once in your browser; setup then turns on what each harness on the machine supports.

    Terminal
    hnl cloud setup
  3. Or turn the pieces on one at a time.

    Terminal
    hnl gateway connect pi
    hnl cloud harnesses enable pi
    hnl cloud autobank enable pi
  4. Check what is connected: plain hnl shows, for each harness, the gateway, transcripts, autobank, context and memory tools.

    Terminal
    hnl

How memory reaches pi

HarnessLink does not add memory to a pi session: pi has neither context hooks nor an MCP preset.

What you do in pi still counts. Every finished turn is banked, so Claude Code, Codex and omp find it through their hooks and memory tools, and it shows on the dashboard's Memory and History pages.

Limits

  • No context hooks and no MCP memory tools in pi.
  • Org policy rules are not enforced in pi. Model rules and usage limits apply to its Anthropic and OpenAI Codex providers through the gateway.

Guides

  • Using HarnessLink: Using HarnessLink day to day: Query, history, policies, shared memory, resuming sessions across harnesses, profile sync, templates, delegation, runs and cost.
  • Memory Banking: How HarnessLink turns each finished turn in omp, Claude Code, Codex, pi and Antigravity into a Markdown memory entry, when banking runs, and what reads it.
  • What HarnessLink captures from each harness: What HarnessLink captures from omp, Claude Code, Codex, pi, Antigravity and Cursor after setup, and how it stays a controller rather than a harness.

Other harnesses

  • Claude Code: Hooks, MCP memory tools, gateway and autobank
  • Codex: Hooks, MCP memory tools, gateway and autobank
  • omp: Context extension, MCP memory tools, gateway and autobank
  • Antigravity: Transcripts and one memory entry per conversation
  • Cursor: MCP memory tools, by hand; chats not captured

Flag notifications