A visual VS Code UI for Pi Coding Agent, built around the Pi you already use.
FrostPi brings your existing Pi Coding Agent workflow into VS Code without replacing your configuration, extensions, models, or sessions.
This extension is published both on VsCode marketplace and Open VSX.
You can also download *.vsix file in Github release and install mannually, if network is constrainet on your machine.
There is also an experimental Windows Desktop app for using FrostPi outside VS Code.
If you already use Pi and have built your own workflow around it, getting a GUI shouldn't mean adopting another one.
FrostPi uses your Pi, your configuration, your extensions, your models, and your sessions. It does not maintain a parallel Pi setup, inject a system prompt, or try to manage your workflow for you.
FrostPi handles the GUI. Pi stays in charge.
The Pi experience, not just the chat.
FrostPi aims to keep Pi's functional workflows available from the GUI: extension commands, prompt templates, skills, model selection, thinking controls, Resume, /compact, tree summaries, custom extension messages, and more.
Conversation rendering supports ordered reasoning, tool activity, command output, errors, images, rich Markdown including Mermaid, compaction records, branch summaries, and extension-defined custom messages.
Model and thinking controls |
Workspace-aware prompting |
Extension commands, prompts, and skills |
Native compaction messages |
Steer and queue controls |
Context, token usage, and estimated session cost |
Pi's session tree, directly in the GUI.
Pi sessions are trees, not just linear chat histories. FrostPi exposes Pi's native tree workflow as graphical controls: branch from an earlier prompt, switch between existing paths, and optionally preserve context with branch summaries.
Fork when you actually want another session.
Tree navigation stays inside the current Pi session and session file. Fork is intentionally different: it creates a separate Pi session and FrostPi session, so the continuation can run and persist independently.
Run Pi in parallel — including across Git worktrees.
Create, resume, switch, rename, and concurrently run independent Pi sessions. If the workspace belongs to a repository with Git worktrees, FrostPi can also start or resume sessions from them.
Independent concurrent sessions |
Sessions across Git worktrees |
Conversation rendered, not flattened.
Agent output stays readable instead of collapsing into plain text:
- Full Markdown with sanitization and syntax-highlighted code fences.
- Link targets — hover or focus a link to preview its target before opening it.
- Mermaid diagrams — incomplete fences remain plain source while streaming; complete ones render as diagrams.
- Math via KaTeX — inline
$...$and block$$...$$display formulas. - Embedded images — PNG, JPEG, WebP, GIF, AVIF, BMP, and SVG with captions, the shared Lightbox, lazy local loading, and click-to-load for remote HTTPS images.
- Diffs —
diff/patchfences and tool diffs use VS Code diff colors, down to word-level intra-line additions and deletions.
One assistant message, rendered live
- VS Code 1.99 or newer.
- A trusted file-system workspace.
- Pi installed and configured in the same environment as the VS Code Extension Host.
- Pi available as
pionPATH, or configured throughfrostpi.pi.executable. fdandrgare recommended on the Extension Host'sPATH.
Remote SSH, WSL, and Dev Container workspaces run FrostPi and Pi in the remote workspace Extension Host. FrostPi does not bridge a local Pi process into a remote file system.
- Install FrostPi in VS Code.
- Open a trusted workspace.
- Open FrostPi from the Activity Bar.
- Start a new session, resume an existing Pi session, or paste a prompt into the composer.
- If Pi is not on
PATH, run FrostPi: Configure Pi Executable.
Paste PNG, JPEG, or WebP images directly into the composer.
Use / completion for Pi extension commands, prompt templates, skills, and FrostPi-local actions.
Use @Selection, @CurrentFile, or @path/to/file for workspace references.
FrostPi answers a few slash commands itself; they take precedence over a Pi extension command or prompt template with the same name.
/compact [instructions]—— run Pi's context compaction./new—— start a new conversation in the same session; the earlier one stays open to Resume session./name <name>—— rename the session (/aliasalso works; without a name, FrostPi asks for one)./reload—— reload Pi's extensions, skills, prompt templates, themes and context files without restarting.
/new and /reload need Pi. With the oh-my-pi compatibility profile FrostPi does not offer them and passes such text to the runtime unchanged.
FrostPi provides a graphical interface for Pi's session-tree workflow:
- Branch here navigates to an earlier user prompt, restores it in the Composer, and lets you continue as another path in the same Pi session and session file.
- Switch branch opens a searchable native VS Code picker for existing paths. Path rows expose message count, last update, and ending context. Leaving the current path may use no summary, Pi's default branch summary, or custom summary-focus instructions.
- Fork creates a separate Pi session and FrostPi session.
FrostPi includes an optional question tool for answering agent questions directly inside the Webview. It is disabled by default; enable frostpi.questionTool.enabled and restart running sessions to apply it.
It is deliberately opt-in because, unlike the tree adapter, it registers a model-visible Pi tool. Pi loads project and global extensions before FrostPi's bundled one, so an existing question registration keeps priority.
Every Pi child process launched by FrostPi receives:
PI_INSIDE_FROSTPI=1
PI_INSIDE_FROSTPI_VERSION=<extension version>
Third-party Pi extensions can read these variables to detect that they are running under FrostPi and which FrostPi version launched them. For example, a third-party question extension can conditionally skip its own registration when the user prefers FrostPi's Webview question tool.
Open the speedometer badge beside Usage to see the average output speed, output tokens and elapsed time for the current or last response. The details mark streaming estimates with ≈.
The sidebar's Usage view shows supported providers' quotas, balances and credits; the active provider loads automatically.
This feature reads Pi's auth.json, provider-level models.json and the workspace Extension Host environment. It does not refresh/login or use model-specific/extension-injected authentication. These files are read in memory per query only; credentials are never stored, sent elsewhere, or logged. Only a few providers, such as openai-codex and opencode-go, are supported.
FrostPi supports inherited, VS Code, custom, and direct proxy modes for Pi subprocesses.
Custom proxy mode accepts:
host:porthttp://...orhttps://...socks5://...
Proxy usernames and passwords are stored in VS Code SecretStorage instead of settings.json. Changes apply to newly started sessions; running sessions show restart required until restarted. Use FrostPi: Configure Network Proxy or the session menu to choose User/Workspace scope and configure the active proxy mode.
Common settings include:
frostpi.pi.executablefrostpi.pi.runtimeCompatibility— choose the limited Pi or Oh My Pi compatibility contract; this does not enable all runtime-specific OMP features.frostpi.pi.argumentsfrostpi.session.startOnOpenfrostpi.session.closeWithEditorTabfrostpi.composer.sendOnEnterfrostpi.composer.streamingBehaviorfrostpi.conversation.collapseTurnTracefrostpi.conversation.collapseRunningTurnTracefrostpi.composer.fileMentions.respectSearchExcludefrostpi.composer.fileMentions.respectIgnoreFilesfrostpi.composer.fileMentions.followSymlinksfrostpi.attachments.maxImageBytesfrostpi.questionTool.enabledfrostpi.network.proxy.modefrostpi.network.proxy.endpointfrostpi.network.proxy.noProxyfrostpi.diagnostics.level
FrostPi follows these VS Code Chat settings as soon as they change:
chat.fontFamily— rendered Markdown message text.chat.fontSize— rendered message and code-block size.chat.editor.fontFamily— composer and Markdown code-block font.chat.editor.fontSize— composer size.
From v0.15.0, FrostPi provides limited compatibility with oh-my-pi. Set FrostPi: Pi Runtime Compatibility to oh-my-pi in the VS Code settings, or configure it in settings.json:
{
"frostpi.pi.runtimeCompatibility": "oh-my-pi"
}After switching, FrostPi uses omp instead of pi and reads session history from .omp/sessions. If omp is not on PATH, configure frostpi.pi.executable; for a custom session directory or model scope, pass --session-dir through frostpi.pi.arguments.
The compatibility layer is minimal: basic conversation, tool calls, model switching, and discovering and resuming sessions under OMP's basic contract. As omp's RPC format is incompatible in some respects, advanced features such as tree and fork remain disabled in an omp session, pending future integration. / slash commands support only OMP command files (.omp/commands/*.md; prompts/*.md is not supported yet) and skill commands (/skill:<name>).
Create, resume, and switch between Pi sessions for different projects in one window. Have Pi work on a feature in one project while it updates documentation in another; switching projects keeps the original task running in the background. Think of several Pi terminals, with a GUI for switching between projects and sessions.
Desktop uses your existing Pi configuration, extensions, and session history, and provides project and session management. When you need to inspect files, edit code, or debug, keep using your preferred IDE. We don't plan to put another development environment inside this window.
The sidebar lists sessions across projects; select one to switch to its project and conversation.
Close all sessions in a Project before removing it. Removing a Project does not delete its directory or saved conversation files.
Demo projects and conversation: sessions keep running in the background when you switch projects.
Currently supports Windows x64 and requires Node.js 22.19+, Pi, and WebView2. MSI builds install for all users and request administrator approval. See the development guide to build and run from source, and MSI signing setup for release builds. Ordinary source builds need no signing keys and leave network updates disabled.
pnpm install --frozen-lockfile
pnpm check
pnpm package:vsix
pnpm verify:vsixThe workspace contains:
packages/pi-rpc— Pi subprocess transport and typed RPC API.packages/provider-usage— Provider usage queries.apps/pi-client— Shared Pi integration, session management, and Svelte UI.apps/vscode— VS Code extension and editor integration.apps/desktop— Windows desktop app and multi-project management..dev/docs— Architecture, protocol, UI, testing, and release documentation.
Start with .dev/docs/index.md. Behavioral compatibility contracts live next to their modules as *.SPEC.md or SPEC.md.
FrostPi contains no telemetry or remote service of its own. Prompts and images are passed to the locally launched Pi process.
See PRIVACY.md and THIRD_PARTY_NOTICES.md for details.
FrostPi is licensed under AGPL-3.0-only.
FrostPi is an independent client and is not an official Pi distribution.
We try not to touch the internals of the user's Pi runtime. However:
- Question/Ask tools are important for agentic coding.
- Common Question/Ask tools depend on a complex TUI and cannot work properly in a GUI.
For that reason, FrostPi provides this as one of the few optional exceptions. If you enable it, we recommend disabling other local question tools to avoid conflicts.
The impact is limited, apart from the optional question tool, which is disabled by default.
If you configure a proxy, FrostPi sets the proxy environment variables when the process starts.
FrostPi also injects a session-tree-adapter extension to provide Pi's tree functionality in the GUI. This extension is process-local: it does not write to Pi's home directory or interfere with the Agent's runtime context.
They are not mandatory, and not having them does not prevent FrostPi from working.
FrostPi's @ workspace completion uses fd internally, while session resume uses rg to accelerate session-file parsing. Installing both improves the experience.
Not currently. We may integrate tools that read VS Code workspace state in the future. Any such extension features will be introduced cautiously and disabled by default.
See GitHub issue #6.
TL;DR: Pi's built-in Write tool returns only the changed result, not a diff, so FrostPi cannot obtain the actual file changes.
However, FrostPi treats any tool details that include a diff as an Edit-like tool. You can implement an extension yourself. For example, you can send the following prompt to your Agent:
Implement an extension in Pi's home directory that overrides Pi's built-in Write tool and returns a
diff: stringfield in its details, similar to the Edit tool. It is acceptable to construct the value by concatenating-oldcontentand+newcontent; only the changed line counts need to be accurate, not the hunk positions.
FrostPi will not implement this extension for you. We try to avoid conflicting with user extensions and will not silently change Pi's execution behavior.









