Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Pi ShrimpNew to Visual Studio Code? Get it now.
Pi Shrimp

Pi Shrimp

Anonychun

|
1 install
| (0) | Free
Run the Pi coding agent inside VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pi Shrimp, a confused shrimp holding a pi sign

Pi Shrimp

Pi Shrimp is so dumb, all it does is reference your codebase.

It runs the Pi coding agent in a VS Code terminal and types @src/main.go:16-19 into it when you ask. That's the whole extension. Pi does the thinking. The shrimp just points at things.

Requirements

The Shrimp can't code. Install Pi first:

bun install -g --ignore-scripts @earendil-works/pi-coding-agent

Usage

The shrimp knows two tricks.

  • Cmd+Shift+/ (Ctrl+Shift+/ on Windows and Linux) starts Pi if it isn't running, focuses it if it's running, and hides it if it's already focused. Hiding keeps the session alive.
  • Cmd+Shift+. (Ctrl+Shift+. on Windows and Linux) adds a reference like @src/main.go:16-19 to Pi's prompt, and Pi reads those lines itself. With nothing selected, it adds just the file path. Untitled files aren't on disk, so their code is pasted in directly.

Pi Shrimp: Open Pi from the command palette also opens or focuses Pi, in case you forget the tricks.

Pi runs in a regular VS Code terminal, as a "Pi" tab next to your other terminals, so everything works the same as running pi yourself.

Pi Shrimp adds piShrimp.toggle to terminal.integrated.commandsToSkipShell in your user settings, so the toggle shortcut works while the terminal has focus instead of reaching pi. Add -piShrimp.toggle to that list to opt out.

To use different shortcuts, rebind piShrimp.toggle and piShrimp.addSelection in Keyboard Shortcuts.

Settings

  • piShrimp.path: path to the Pi executable (default pi, looked up on PATH).
  • piShrimp.args: extra arguments passed to Pi, for example ["--model", "sonnet"].

Development

bun install
bun run compile
bun run package   # builds pi-shrimp-<version>.vsix

Press F5 in VS Code to launch an Extension Development Host.

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