Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Pi VS Code UI — FrostPiNew to Visual Studio Code? Get it now.
Pi VS Code UI — FrostPi

Pi VS Code UI — FrostPi

frostime

|
337 installs
| (1) | Free
A visual VS Code UI for Pi Coding Agent that uses your existing Pi configuration, extensions, models, sessions, and workflows.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FrostPi

Pi VS Code UI — FrostPi

A visual VS Code UI for Pi Coding Agent, built around the Pi you already use.

English · 简体中文

FrostPi brings your existing Pi Coding Agent workflow into VS Code without replacing your configuration, extensions, models, or sessions.

FrostPi conversation view

This extension is available on both VS Code Marketplace and Open VSX.

If network restrictions prevent access to the extension registries, you can also download a .vsix file from GitHub Releases and install it manually.

The separate experimental Windows Desktop app has MSI installation and its own Settings → Updates. Its sidebar lists loaded Sessions across Projects and prioritizes those needing attention. This extension continues to use VS Code's update mechanism.

Why FrostPi

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.

Highlights

The Pi experience, not just the chat.

FrostPi keeps Pi's functional workflows available from the GUI:

  • Stream ordered reasoning, tool activity, command output, errors, and final responses.
  • Paste PNG, JPEG, or WebP images directly into prompts.
  • Use / completion for Pi extension commands, prompt templates, skills, and FrostPi-local actions.
  • Use @Selection, @CurrentFile, and workspace paths as explicit prompt references.
  • Switch provider/model and select only thinking levels supported by the active model's Pi metadata.
  • Resume sessions and use Pi's native /compact and session-summary behavior.
  • Render rich Markdown including Mermaid, compaction records, branch summaries, and Pi extension custom messages.
  • Display PNG, JPEG, WebP, GIF, AVIF, BMP, and SVG images in conversations; remote HTTPS images load only when clicked.
  • Review command output and tool details; open files and Git-base diffs in native VS Code editors.
  • Inspect context, token categories, tool/message counts, and estimated session cost.
Model picker
Model and thinking controls
Workspace references
Workspace-aware prompting
Slash commands
Extension commands, prompts, and skills
Compaction
Native compaction messages
Steer and queue controls
Steer and queue controls
Context and cost detail
Context, token usage, and estimated session cost

Rich conversation rendering.

One assistant message, rendered live — Mermaid diagrams, KaTeX math, embedded images, and word-level diff highlighting.

Hover or focus a link to preview its target before opening it.

Rendered Markdown in FrostPi
Rich conversation rendering

Pi's session tree, directly in the GUI.

Branch from an earlier prompt, move between existing paths, and optionally preserve context with Pi's branch summaries — all inside the current Pi session.

Pi session tree in FrostPi

Fork into an independent session.

Fork selected context when you want the continuation to have its own Pi process, lifecycle, and session history instead of becoming another path in the current tree.

Multiple sessions and Git worktrees.

Create, resume, switch, rename, and concurrently run independent Pi sessions. If the current repository has Git worktrees, new and resumed sessions can run from them as well.

Multiple Pi sessions
Independent concurrent sessions
Git worktree sessions
Sessions across Git worktrees

Getting Started

  1. Install and configure Pi in the same local or remote environment where VS Code runs workspace extensions.
  2. Open a trusted file-system workspace.
  3. Open FrostPi from the Activity Bar.
  4. Start a new session, resume an existing Pi session, or paste a prompt into the composer.
  5. If pi is not on PATH, run FrostPi: Configure Pi Executable.

Remote SSH, WSL, and Dev Container workspaces run Pi in the remote Extension Host.

For best workspace and session discovery, install fd and rg on the Extension Host's PATH.

Reference

Conversation commands

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 (/alias also 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.

Pi Session Tree and Fork

FrostPi exposes Pi's session-tree workflow as graphical conversation controls:

  • Branch here restores an earlier user prompt and continues from it as another path in the same Pi session and session file.
  • Switch branch uses a native VS Code picker to move between existing paths, with message count, last update, ending context, and optional branch summaries.
  • Fork creates a separate Pi session and FrostPi session instead of another path in the current tree.

Question tool

FrostPi includes an optional bundled question tool for answering Pi question requests 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 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.

Injected environment variables

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.

Provider usage

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.

Network and diagnostics

FrostPi supports inherited, VS Code, custom, and direct proxy modes for Pi subprocesses.

Custom mode accepts:

  • host:port
  • http://... or https://...
  • 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.

Settings

  • frostpi.pi.executable
  • frostpi.pi.runtimeCompatibility — choose the limited Pi or Oh My Pi compatibility contract; this does not enable all runtime-specific OMP features.
  • frostpi.pi.arguments
  • frostpi.session.startOnOpen
  • frostpi.session.closeWithEditorTab
  • frostpi.composer.sendOnEnter
  • frostpi.composer.streamingBehavior
  • frostpi.conversation.collapseTurnTrace
  • frostpi.conversation.collapseRunningTurnTrace
  • frostpi.composer.fileMentions.respectSearchExclude
  • frostpi.composer.fileMentions.respectIgnoreFiles
  • frostpi.composer.fileMentions.followSymlinks
  • frostpi.attachments.maxImageBytes
  • frostpi.questionTool.enabled
  • frostpi.network.proxy.mode
  • frostpi.network.proxy.endpoint
  • frostpi.network.proxy.noProxy
  • frostpi.diagnostics.level

Typography

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.

Limited oh-my-pi compatibility

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>).

Privacy, Repository, and License

FrostPi contains no telemetry or remote service of its own. Prompts and images are sent to the locally launched Pi process.

See PRIVACY.md in the extension package for details.

For comparisons, architecture, development instructions, and protocol documentation, see the FrostPi repository.

FrostPi is licensed under AGPL-3.0-only.

FrostPi is an independent client and is not an official Pi distribution.

FAQ

Why does FrostPi provide a question tool if it is non-intrusive?

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.

What impact does FrostPi have on the Pi runtime?

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.

Why are fd and rg recommended?

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.

Will FrostPi provide Pi extension tools integrated with VS Code?

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.

Why does the Write tool show only +<lines> instead of file additions and removals like Edit?

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: string field in its details, similar to the Edit tool. It is acceptable to construct the value by concatenating -oldcontent and +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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft