# Pi-Harness
English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Русский · Français · Deutsch
Native Pi with a visual workspace, run controls, recovery, and agent teams.
Pi Coding Agent ⊂ Pi-Harness
Download · Create a custom skin · Screenshots
## Why Pi-Harness? Pi-Harness brings Pi Coding Agent into a desktop workspace for macOS, Windows, and Linux. Manage conversations, projects, files, Git, models, and Skills in one place, with tools to inspect runs, control budgets, recover work, and coordinate agent teams. Native Pi runs the agent. Your Pi sessions, configuration, tools, Skills, and extensions remain compatible with Pi, and you can continue using Pi outside the desktop app. ## Pi vs Pi-Harness Pi-Harness is the operational superset of Pi Coding Agent: native Pi capabilities form the foundation, with observation, control, recovery, orchestration, and a visual workspace added around them. | Capability | Native Pi | Pi-Harness | | ------------------------ | --------- | -------------------------- | | Agent Runtime | Yes | Native Pi | | Agent Loop | Yes | Native Pi | | Sessions | Yes | Yes + visual management | | Context | Yes | Yes + inspection | | Compaction | Yes | Yes + visual control | | Steering | Yes | Yes | | Follow-up | Yes | Yes | | Models | Yes | Yes + manager | | Thinking | Yes | Yes + visual control | | Tools | Yes | Yes + selection and policy | | Skills | Yes | Yes + manager | | Extensions | Yes | Yes + manager | | Packages | Yes | Yes + manager | | MCP / Codemode | Yes | Yes + selection and policy | | Runs | — | Yes | | Trace | — | Yes | | Replay | — | Yes | | Run Compare | — | Yes | | Evaluation | — | Yes | | Policy | — | Yes | | Budget | — | Yes | | Checkpoints | — | Yes | | Recovery | — | Yes | | Diagnostics | — | Yes | | Regression | — | Yes | | Artifacts | — | Yes | | Multi-Agent | — | Yes | | Task DAG | — | Yes | | Handoff | — | Yes | | Review Gates | — | Yes | | Worktree isolation | — | Yes | | Project architecture map | — | Yes | ## Features ### Workspace, files, and Git Start a standalone chat or open a project and resume a Pi session. Follow streaming replies, thinking, tool calls, images, and changed files; choose the model, thinking level, and tools, or compact the conversation. Workspace Tools gives you access to Harness and Agents while preserving your conversation and draft. Browse and search files, preview media and documents, and edit readable text with syntax highlighting, line numbers, find, undo/redo, explicit save, and external-change conflict protection. The lightweight editor keeps file editing focused. Git provides diffs, history, activity graphs, commits, optional AI commit messages, and worktrees. ### Providers and models Configure Pi-compatible providers with presets or custom endpoints, manage credentials, discover models where supported, test connections, and choose your chat model. Use supported image models for text-to-image or image editing, then download the results. ### Skills, extensions, packages, and MCP Browse built-in and local Skills, edit them, and manage Pi packages and extensions from Capabilities. Type `@` in the composer to search and invoke an installed Skill. Connect MCP through supported packages. Optional add-ons such as [Superpowers](https://github.com/obra/superpowers) and [Odai](https://github.com/orziz/odai) can be installed, updated, or removed when you choose. ### Harness: observe, control, and recover Inspect Runs, Trace, Replay, timelines, and tool activity. Compare runs, follow forks and retries in the Run Tree, review tokens, cost, and duration, and browse artifacts and project statistics. Set tool policies and per-run budgets, create checkpoints, and resume, fork, or retry work. Evaluation, Diagnostics, and regression baselines help you check results and investigate failures using recorded run evidence. ### Agent teams and task orchestration Coordinate Pi agents with reusable teams and templates. Assign tasks with dependencies and priorities, schedule them manually, sequentially, or in parallel, pass results and artifacts to the next task, and use review gates. Worktrees keep agent changes separate; budgets, conflict hints, and pause, resume, abort, retry, skip, and reassign controls help you manage the work. ### Local conversation history Browse Claude Code, Codex (including desktop and archived conversations), Cursor, Cursor Agent, Gemini CLI, OpenCode, and Pi history together. Search, filter by source, project, or date range, and add custom history folders. View the original conversation in read-only mode, preview a handoff, and edit the next instruction before continuing in a new Pi chat under the same project. Browsing, local previews, and scan retries use no model tokens. Optional AI summaries use your configured model only when requested. ### Project architecture Open Architecture in Workspace to explore modules, dependencies, entrypoints, and source references. Filter by package, focus on a module, browse map pages, zoom, or use fullscreen. Save analysis snapshots, see when source changes make them stale, and export JSON, offline HTML, or the current view as PNG. Maps describe supported static dependencies; they do not establish a complete function-call graph. Local conversation history keeps source sessions read-only, and continuing a task starts a new Pi conversation. Local analysis uses no model tokens; AI descriptions are optional. JavaScript, TypeScript, and Vue import relationships are analyzed locally, while other supported languages have a file-level index. The analysis shows its coverage and limitations. ### Themes and custom skins Choose classic palettes, Ming themes, Starship Cockpit, macOS 27 backgrounds, or an imported custom skin. New installations start in Dark. Customize chat display names, app icons, local background images, window and screen glow, and the input flame effect. Startup animation accompanies the environment check; mascot-free builds retain the general appearance controls. ### Environment and app settings Check Node.js, npm, PATH, Pi Coding Agent, and the active configuration. Install, update, or repair Pi where supported, inspect environment diagnostics, manage configuration backups, and check for app updates. The interface is available in eight languages. ## Create your own skin Use the [Pi-Harness Custom Skin Starter](https://github.com/wangmiaozero/pi-harness-skin-starter) to create the visual style you want. 1. Use the starter repository as a template or download it. 2. Open it with your coding agent and describe your preferred style using the included prompt. 3. Import the completed project from **Settings → Theme → Import Skin**. The multilingual starter includes guidance for colors, previews, wallpapers, and optional character artwork. Keep your skin in its own repository to update and share it independently. ## Screenshots Product screenshots are grouped by theme. Browse the [complete screenshot index](docs/README.md) for additional views. ### Classic theme #### Workspace [](docs/%E5%8A%9F%E8%83%BD%E7%95%8C%E9%9D%A2/%E7%BB%8F%E5%85%B8%E4%B8%BB%E9%A2%98/%E5%B7%A5%E4%BD%9C%E5%8C%BA.png)