Harness Notes

Migration

Updated 2026-11-22,

On this page

Moving between harnesses: what each one can import from another, which of another harness's files it reads as-is, and what it can export.

Questionpichecked at 1.2.0
Import setup from another harness

Partly

There is no import command for another harness's setup. The MCP docs explain how to move servers by hand: copy mcpServers entries from Claude Desktop, Claude Code or Cursor into ~/.pi/agent/mcp.json or .pi/mcp.json as they are, convert Codex TOML or VS Code and OpenCode entries, then run pi mcp list to check them.

Other harnesses' files it reads directly

Partly

Pi reads AGENTS.md and, in any folder without one, CLAUDE.md from the agent directory, the working folder and its parents. It also loads skills from the shared Agent Skills folders ~/.agents/skills/ and .agents/skills/. It does not read ~/.claude/CLAUDE.md, .claude/skills, .claude/commands, other harnesses' MCP configs, hooks or subagents.

You can point the skills setting or --skill <path> at another harness's skills folder yourself.

Import sessions or history

Not supported

No. /import <path.jsonl> copies a session file into Pi's session folder and resumes it, but it only accepts Pi's own JSONL format; a file whose first line is not a Pi session header loads as empty.

Export for use elsewhere

Partly

Sessions only. /export writes the current session as HTML, or as Pi JSONL when the path ends in .jsonl (active branch only); pi --export <file> [output] makes HTML from the shell, and /share uploads it as a private GitHub gist or Radius artifact. There is no export of settings, skills or MCP config for another harness.

Exports can contain prompts, tool output, file contents and credentials, so review them before sharing.

Since 1.3.0, sessionShareDestination can force gist or Radius. The default auto destination selects Radius when authenticated, otherwise a private gist; forcing radius requires its authentication and does not fall back.

Commands

No commands recorded.

Notes and sources

pi, 12 sources
Import setup from another harness, 1
Other harnesses' files it reads directly, 3
Import sessions or history, 3
Export for use elsewhere, 6