PI-Desktop is a free, open source ai development platforms project written in TypeScript and released under LGPL-3.0. It has 4,258 GitHub stars, 357 forks and 102 open issues, and was last pushed 2 hours ago. On this registry it ranks #96 of 139 tracked projects in AI Development Platforms, with 5 head-to-head comparisons available.

What is PI-Desktop?

PI-Desktop is a local-first desktop workspace for AI coding agents, built on an Electron shell with a Rust host core and the pi Agent Harness, extensible through user-installable plugins, and aimed at developers who want agents working inside their own local projects against model providers they configure themselves.

What it is

PI-Desktop is a desktop application for the AI coding agent ecosystem, written primarily in TypeScript and licensed under LGPL-3.0. It combines an Electron front end with a Rust host core and the pi Agent Harness, and it presents projects, sessions, files, reviews, previews, models, permissions, extensions, and long-running work as one workspace. The project describes itself as local-first, model-agnostic, and extensible, and it ships for macOS, Windows, and Linux with documentation and a Simplified Chinese README. Sessions and projects stay on the machine, and model requests go directly to the provider or endpoint the user configures, with no PI-Desktop account and no mandatory relay.

The concrete problem it addresses is the fragmentation of coding agents across terminal tools, editor extensions, and hosted services. Rather than adding another chat window to an existing editor, PI-Desktop gives the agent workflow a workspace of its own, so the workflow is not tied to a single editor, model vendor, or hosted runtime. It also imports existing local sessions from Claude Code, Codex, OpenCode, and Pi, which lets users carry prior work into the desktop instead of starting over.

Key capabilities

  • Three working modes with different approval boundaries: Agent approves nothing extra, Plan approves the implementation plan, and Goal approves the outcome and acceptance criteria. In Plan mode the agent studies the repository, writes a frozen plan, then waits for approval.
  • Model-agnostic provider configuration supporting OpenAI, Anthropic, local models, hosted gateways, and any OpenAI-compatible API, with configurable context windows, output limits, and reasoning levels. Models can be switched from the Composer without recreating the session.
  • A permission layer that routes privileged actions from the agent through explicit approval, covering file reads, code edits, and command execution, with diffs and command output available for inspection.
  • Extension surfaces for Skills, MCP servers, Subagents, pi extensions, and installable Plugins, documented in docs/plugin-development.md, plus a plugin marketplace for extending both the agent and the desktop.
  • Session and project management across multiple repositories, with pinning, archiving, branching, conversation search, prompt queuing, and transcript navigation for long-running conversations.
  • Session import from Claude Code, Codex, OpenCode, and Pi.
  • Global, i18n-aware desktop builds distributed from GitHub releases, with the CI workflow at .github/workflows/ci.yml and documentation at https://pi-docs.aiuo.net.

Who uses it and how

  • Developers doing fast day-to-day work in Agent mode, letting the agent inspect the tree, patch files, run commands, test, and iterate.
  • Teams facing large or risky changes in Plan mode, reviewing an immutable implementation plan before execution rather than approving each step.
  • Users of outcome-first tasks in Goal mode, locking the objective and acceptance criteria while the agent chooses the path.
  • Developers migrating from Claude Code, Codex, OpenCode, or Pi, importing existing local sessions into the desktop workspace.
  • Plugin and extension authors building against the documented plugin interfaces, Skills, MCP servers, and Subagents.

Getting started

Download a release build for macOS, Windows, or Linux from the latest GitHub release, then follow the documentation at https://pi-docs.aiuo.net/. No package-manager or container install method is described in the README.

How it compares

Among the tools named in its own materials, PI-Desktop sits beside Claude Code, Codex, OpenCode, and Pi — which it can import sessions from — but positions itself as a desktop workspace rather than a terminal agent or an editor extension or a hosted service. The distinguishing claim in the README is that it requires no PI-Desktop account, no mandatory relay, and no editor lock-in.

When to use it — and when not to

PI-Desktop is in Early Preview: it is usable for real coding workflows, but APIs, extension interfaces, and some desktop behaviors are still evolving, so teams that need frozen interfaces or long-term stability guarantees should wait. It expects the user to supply model providers and endpoints directly, so anyone wanting a fully managed hosted agent service with no configuration will not be served by it. Self-hosters operate the desktop application itself; no database, object storage, or SMTP dependency appears in the README.

project readme (upstream, from github) — read inline

PI-Desktop

The desktop workspace for AI coding agents.

Bring your own model. Open any local project. Let agents work — while you stay in control.

Local-first · Model-agnostic · Extensible · macOS / Windows / Linux


Release Downloads Stars CI License


Download · Documentation · Screenshots · Build a Plugin · 简体中文



No PI-Desktop account. No mandatory relay. No editor lock-in.

Projects and sessions stay on your machine. Model requests go directly to the provider or endpoint you configure.



vastsa/PI-Desktop | Trendshift   PI-Desktop on Product Hunt


[!IMPORTANT] PI-Desktop is in Early Preview. It is already usable for real coding workflows, while APIs, extension interfaces, and some desktop behaviors are still evolving.

Not another chat window

Most coding agents live inside a terminal, an editor extension, or a hosted service.

PI-Desktop gives the agent workflow a workspace of its own.

Projects, sessions, files, reviews, previews, models, permissions, extensions, and long-running work live together — without tying your workflow to a single editor, model vendor, or hosted runtime.

Your models

Use OpenAI, Anthropic, local models, hosted gateways, or any OpenAI-compatible API.

Configure multiple providers, context windows, output limits, reasoning levels, and model-specific behavior. Switch models directly from the Composer without recreating the session.

Your projects

Open a local repository or project directory and keep its sessions, files, reviews, previews, and agent work in one place.

Import existing local sessions from Claude Code, Codex, OpenCode, and Pi.

Your control

Agents can read files, edit code, and run commands, while privileged actions pass through PI-Desktop's permission layer.

Inspect diffs. Review command output. Decide how much autonomy each session gets.

Your extensions

Add Skills, MCP servers, Subagents, pi extensions, and installable Plugins.

Extend the agent and the desktop instead of waiting for every workflow to become a built-in feature.


One workspace. Three ways to work.

Same agent. Different approval boundaries.

Agent Plan Goal
You approve Nothing extra The implementation plan The outcome and acceptance criteria
The agent does Reads, edits, runs commands, tests, iterates Studies the repo, writes a frozen plan, then waits Chooses the path and works toward the goal
Best for Fast day-to-day work Large or risky changes Outcome-first tasks

Agent — let it inspect the tree, patch files, run commands, test, and keep going.

Plan — review the approach before execution. The agent researches first, produces an immutable implementation plan, and waits for approval.

Goal — lock the objective and acceptance criteria. The agent decides how to get there.

Privileged tools still go through the permission layer in every mode.


See the work, not just the answer

Long-running conversations with transcript navigation

Switch providers, models, and reasoning levels per session

Extend the workspace through the plugin marketplace

Add a provider and connect a model

Explore all screenshots →


Built for work that lasts longer than one prompt

PI-Desktop is designed around persistent projects and long-running sessions rather than disposable chat threads.

  • Manage multiple projects and sessions
  • Pin, archive, branch, and search conversations
  • Queue prompts while an agent is already running
  • Reference files with @
  • Use slash commands
  • Review diffs and command output
  • Keep streaming responses checkpointed so interrupted work can recover whenever possible

Delegate to Subagents

Large tasks do not have to live in one context window.

Delegate independent work to background Subagents for:

  • codebase exploration
  • multi-file implementation
  • research and investigation
  • test analysis
  • adversarial review

Each Subagent runs in its own context and reports its result back to the parent agent.


Extend the workspace instead of rebuilding it

PI-Desktop has multiple extension layers, from lightweight reusable instructions to full desktop integrations.

Plugins

Plugins can extend PI-Desktop with:

Agent Workspace Platform
Agent tools Commands MCP servers
Skills Workspace panels Subagents
pi extensions Work-panel views Resident services
Themes Inter-plugin messaging

Install plugins locally or through the marketplace using the .piplug package workflow.

Session Orchestrator

The official pi.session-orchestrator plugin lets an Agent coordinate durable worker sessions in parallel. Install pi.session-orchestrator from the Plugins marketplace, then use its SessionTask tool to spawn, send, supervise, inspect status, wait for bounded results, accept reports, cancel work, and list workers.

Workers inherit the parent project's provider, model, thinking level, and permission mode. They remain ordinary PI-Desktop sessions, so you can open and inspect their transcripts at any time. Work is parent-scoped and bounded to four active workers per parent and sixteen across the plugin.

Coordinate multiple durable worker sessions from one conversation

Open a worker session and inspect its progress independently

Build your first plugin →

[!NOTE] Plugin processes are permission-gated and isolated from the renderer, but plugins are still user-trusted code rather than a complete operating-system sandbox. Only install plugins you trust.

Skills

Give agents reusable instructions and workflows. Skills can be installed globally or activated for individual projects.

MCP

Connect external tools and services through Model Context Protocol servers without baking them into the desktop application.

PI-Desktop can also be controlled by an external MCP Agent. Start the app with PI_DESKTOP_MCP_CONTROL=1, then read the loopback endpoint and bearer token from

readme truncated — read the full docs on github

Frequently asked questions

Is PI-Desktop free to use?

PI-Desktop is open source under the LGPL-3.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does PI-Desktop do?

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

What is PI-Desktop written in?

PI-Desktop is primarily written in TypeScript. Its source is publicly available at https://github.com/vastsa/PI-Desktop, and it has 4,258 GitHub stars.