{"id":48833589,"url":"https://github.com/cdervis/vscode-pi","last_synced_at":"2026-04-21T03:01:45.949Z","repository":{"id":351399927,"uuid":"1210842899","full_name":"cdervis/vscode-pi","owner":"cdervis","description":"VS Code extension for the pi agent.","archived":false,"fork":false,"pushed_at":"2026-04-16T21:58:36.000Z","size":1358,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-18T00:03:42.852Z","etag":null,"topics":["ai","ai-agents","assistant","coding-agent","developer-tools","local-ai","local-ai-agents","pi","pi-agent","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://vscode-pi.dev","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdervis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-14T20:11:56.000Z","updated_at":"2026-04-17T19:52:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cdervis/vscode-pi","commit_stats":null,"previous_names":["cdervis/vscode-pi"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cdervis/vscode-pi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdervis%2Fvscode-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdervis%2Fvscode-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdervis%2Fvscode-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdervis%2Fvscode-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdervis","download_url":"https://codeload.github.com/cdervis/vscode-pi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdervis%2Fvscode-pi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31989314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-agents","assistant","coding-agent","developer-tools","local-ai","local-ai-agents","pi","pi-agent","vscode","vscode-extension"],"created_at":"2026-04-14T22:02:32.109Z","updated_at":"2026-04-19T01:01:02.443Z","avatar_url":"https://github.com/cdervis.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# pi Agent for VS Code\n\n## Run your local pi coding agent directly inside VS Code.\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/cdervis/vscode-pi/main/media/cover-light.png\"\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/cdervis/vscode-pi/main/media/cover-dark.png\"\u003e\n  \u003cimg alt=\"pi Agent for VS Code\" src=\"https://raw.githubusercontent.com/cdervis/vscode-pi/main/media/cover-dark.png\"\u003e\n\u003c/picture\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=cdervis.vscode-pi\"\u003e\u003cimg src=\"https://img.shields.io/badge/VS%20Code-Marketplace-0078D4?logo=visualstudiocode\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://open-vsx.org/extension/cdervis/vscode-pi\"\u003e\u003cimg src=\"https://img.shields.io/badge/Open%20VSX-Registry-C8962E?logo=openvsx\u0026logoColor=black\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/cdervis/vscode-pi/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/cdervis/vscode-pi?label=Release\u0026logo=github\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/VS%20Code-%E2%89%A51.85.0-007ACC\" alt=\"Required VS Code version\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/pi-%E2%89%A50.66.1-purple\" alt=\"Minimum pi version\"\u003e\n\u003c/p\u003e\n\nThis is a sidebar extension that launches your installed [pi](https://pi.dev) binary in RPC mode and turns it into a VS Code-native chat workflow. It adds streaming transcript rendering, tool output UI, session restore/history, model switching, and file context-aware prompts.\n\nAll while staying lightweight and true to pi's minimalism-focused philosophy.\n\nTested on macOS, Linux, and Windows.\n\n## Features\n\n- Sidebar chat built for long-running coding sessions\n- Streaming markdown answers with syntax highlighting\n- Rich tool rendering for read, write, edit, bash, images, and subagents\n    - Including interactive Mermaid diagrams\n- Message queuing and steering\n- Supports your pi prompts and skills, e.g. \"/commit\"\n- Session manager with search, rename, delete, and forking\n- `@` file and folder mentions from the current workspace\n- Easy-to-use model selector and thinking-level controls\n- Context window tracking and manual compaction\n- Smart merging of tool blocks\n\n## Requirements\n\n- VS Code or VSCodium\n- A local `pi` installation available on `PATH` or `pi.binaryPath` setting\n- A configured pi agent directory with at least one provider/model in `models.json`\n\nIf you don't have pi installed, the extension can install it for you using npm.\nThis requires you to have npm installed and available in your environment.\n\nIt can also create a basic `auth.json` file, but having a preconfigured pi installation is preferred. The onboarding process of the extension is a work-in-progress.\n\n## Getting Started\n\n1. Install pi: `npm install -g @mariozechner/pi-coding-agent`\n2. Install this extension.\n3. [Configure pi](https://github.com/cdervis/vscode-pi#readme) to your liking.\n4. Open the `PI AGENT` view in the activity bar and start a chat.\n\n## Notes\n\n- This is a prerelease version, please [report any feedback and issues](https://github.com/cdervis/vscode-pi) to help improve it!\n- The extension is a UI layer built on top of pi. Live pi state remains the source of truth.\n\n## Troubleshooting\n\n### pi is not detected\n\n- Make sure `pi` is installed and available on your shell `PATH`.\n- If it is installed somewhere custom, set `pi.binaryPath` to the absolute path.\n- If the extension reports an incompatible version, update your local `pi` install first.\n\n### Sessions or history look wrong\n\n- Check `pi.agentDir`. The extension uses the resolved agent directory for both runtime startup and session-history file access.\n- If you switch agent directories, restart the extension host or run the pi restart action so the running process and file-backed history stay aligned.\n\n### Models are missing\n\n- Confirm your pi agent directory contains a valid `models.json`.\n- Make sure your provider configuration and API keys are set where pi expects them.\n\n### Provider requests fail\n\n- Re-check the provider credentials stored in your pi config or VS Code-backed secrets.\n- After updating a key, restart pi from the extension so the spawned process picks up the new environment.\n\n\u003e **Unofficial extension**. This project is community-built and is not affiliated with or endorsed by the [pi agent](https://pi.dev) project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdervis%2Fvscode-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdervis%2Fvscode-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdervis%2Fvscode-pi/lists"}