pi-x-ide
Pi extension package for IDE selection context integration.
Package details
Install pi-x-ide from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-x-ide- Package
pi-x-ide- Version
1.18.0- Published
- Jul 21, 2026
- Downloads
- 2,492/mo · 128/wk
- Author
- pzyyll
- License
- Apache-2.0
- Types
- extension
- Size
- 288.3 KB
- Dependencies
- 2 dependencies · 2 peers
Pi manifest JSON
{
"image": "https://fastly.jsdelivr.net/gh/balaenis/pi-x-ide@main/assets/icons/pi-x-ide.png",
"extensions": [
"./dist/src/pi/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Pi × IDE
Pi extension package for IDE selection context integration.
Automatically attaches the currently opened or selected file and text range from VS Code, Zed, Neovim, and JetBrains IDEs to the Pi TUI, submitting them as conversation context to the LLM.
Quick start
pi install npm:pi-x-ide
Install the IDE extension for your editor, then start Pi from your project directory:
pi
Open a file, select some text, and press Ctrl+Alt+K in the Pi TUI to attach it
as @src/foo.ts#L10-L20. New to Pi × IDE? Follow the
5-minute tutorial.
Documentation
Learning
- Get started — from install to your first attached selection
How-to guides
- Install for VS Code / Cursor / Windsurf
- Use with Zed
- Install the Neovim plugin
- Install the JetBrains plugin
- Use over WSL2
- Troubleshoot a missing connection
Reference
Explanation
中文文档见 README.zh-CN.md。
Development
See CONTRIBUTING.md for build, local testing, and release instructions.