pi Agent for VS Code

Run pi from a focused VS Code sidebar.

A pi VS Code extension that launches your installed pi binary in RPC mode and lets you work from a native-feeling sidebar: streaming chat, rich tool output, workspace context, session history, dictation, and model controls.

  • Free
  • macOS, Linux, Windows

Features

Why?

pi is powerful in the terminal, but agent work is easier to guide when it stays beside the code. vscode-pi brings that workflow into VS Code without replacing the setup you already use.

FAQ

What context can pi see?
The extension can attach editor state, selections, diagnostics, git status, pasted images, and explicitly mentioned files or folders. Context behavior is configurable, so you can decide how much workspace information is included.
Does my code go through an extension service?
No. The extension does not proxy your workspace through a hosted service. It passes selected context to your local pi runtime, and any model traffic is determined by your pi and model-provider configuration.
Where do model credentials live?
The extension does not store model credentials. It expects pi to be configured already, and can guide you through pi setup when needed.
Is dictation cloud based?
No. Dictation is fully local: it uses native Rust and Swift helpers with whisper.cpp to run local Whisper model files. Optimized for Apple Silicon.
Where should bugs or feature requests go?
Use the GitHub issue tracker for support, bugs, and feature requests. Feedback is appreciated.
Is this vibecoded?
No. The extension is developed using pi, but every important part of the codebase is reviewed and tested. Low-risk parts are reviewed, but not tested as thoroughly.