//pi-vscodebypi0

pi-vscode

Minimal VS Code extension for PI Coding Agent.

33
1
33
1
TypeScript

pi-vscode

VS Code Marketplace Open VSX

Minimal VS Code extension for pi coding agent.

Features

  • undefinedTerminal-based — Opens pi as an integrated terminal with full TUI/PTY support (opens beside the editor)
  • undefinedStatus bar button$(pi-logo) Pi button in the status bar for quick access
  • undefinedOpen with file context — Send current file path and line range (or cursor position) to pi, available from the editor title bar
  • undefinedSend selection — Send selected text directly to the pi terminal
  • undefined@pi chat participant — Use @pi in VS Code Chat to forward messages to the pi terminal
  • undefinedPackage manager — Browse, search, install, and uninstall pi packages from the sidebar with live output streaming and cancel support; automatically detects package capabilities (extensions, skills, prompts, themes)
  • undefinedAuto-detection — Finds the pi binary automatically from common paths (~/.bun/bin, ~/.local/bin, ~/.npm-global/bin)
image

Requirements

  • pi CLI installed (npm i -g @mariozechner/pi-coding-agent)
  • An API key configured for at least one provider

Install

Available on the VS Code Marketplace and Open VSX:

# VS Code / Cursor
ext install pi0.pi-vscode

# Open VSX (VSCodium, etc.)
ovsx get pi0.pi-vscode

Commands

Command Keybinding Description
Pi: Open Ctrl+Alt+3 Open or focus the pi terminal
Pi: Open with File Editor title bar Open pi with current file context
Pi: Send Selection Send selected text to pi terminal

The Pi activity bar icon opens a sidebar with:

  • undefinedPackages view — Search the npm registry for pi-package packages, see capability labels (extensions, skills, prompts, themes), install/uninstall with live streamed output, and cancel in-progress operations

Configuration

Setting Default Description
pi-vscode.path "" Absolute path to the pi binary (auto-detected if empty)
[beta]v0.14.0