whatisgithub

What is pi-vsc?

bilalbentoumi/pi-vsc — explained in plain English

Analysis updated 2026-05-18

1TypeScriptAudience · developerComplexity · 2/5LicenseSetup · moderate

In one sentence

A VS Code and VSCodium extension that adds a chat sidebar for the Pi coding agent, driving an external pi runtime through a JSON lines protocol.

Mindmap

mindmap
  root((Pintra))
    What it does
      Chat sidebar
      Drives pi runtime
      Streams output
    Tech stack
      TypeScript
      VS Code API
      Pi agent
    Use cases
      In editor chat
      Diff review
      HTML export
    Audience
      Developers
      Pi agent users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Chat with the Pi coding agent inside VS Code instead of a separate terminal.

USE CASE 2

Review diffs of files the agent edited or wrote before accepting them.

USE CASE 3

Fork a conversation to try a different approach without losing the original thread.

What is it built with?

TypeScriptVS Code Extension APIPi coding agent

How does it compare?

bilalbentoumi/pi-vsc0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardeasy
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires installing and authenticating the separate pi runtime before the extension can drive it.

MIT license: free to use, modify, and distribute, as long as the copyright notice is kept.

So what is it?

Pintra is a VS Code and VSCodium extension that brings an AI coding agent called Pi into the editor as a chat sidebar. Instead of building its own AI logic, Pintra spawns the separate pi runtime as an external program and talks to it through a JSON lines protocol, meaning it sends and receives structured messages line by line. That runtime is not included with the extension, so a user needs to install and log into pi on their own machine once before Pintra can drive it from inside the editor. Once connected, Pintra streams the agent's tool output and its reasoning as it works, so a user can watch what the assistant is doing rather than waiting for a single final answer. The extension keeps a record of session history and shows usage statistics, and it gives the user controls over which model and reasoning settings the agent uses. Other features listed include the ability to fork a conversation into a new branch, review diffs when the agent edits or writes files, autocomplete for slash commands, a chat view that can open as a full editor tab rather than only a sidebar, and the ability to export a conversation as an HTML file. The project is aimed at developers who already use, or want to try, the Pi coding agent and prefer working with it inside VS Code rather than a separate terminal or interface. Setup requires installing the pi runtime as a prerequisite, which is a small extra step beyond installing the extension itself from the VS Code Marketplace or the Open VSX registry. Pintra is released under the MIT license, which is a permissive license that generally allows free use, modification, and distribution. It also embeds the MIT licensed pi coding agent package through its documented RPC interface. The README does not describe internal architecture beyond this integration, and bug reports or feature requests are directed to the project's GitHub issues page.

Copy-paste prompts

Prompt 1
Walk me through installing and authenticating the pi runtime so Pintra can use it in VS Code.
Prompt 2
Show me how to open Pintra's chat as a full editor tab instead of the sidebar.
Prompt 3
Explain how to export a Pintra conversation as an HTML file.
Prompt 4
Help me set up slash command autocomplete in Pintra's chat sidebar.

Frequently asked questions

What is pi-vsc?

A VS Code and VSCodium extension that adds a chat sidebar for the Pi coding agent, driving an external pi runtime through a JSON lines protocol.

What language is pi-vsc written in?

Mainly TypeScript. The stack also includes TypeScript, VS Code Extension API, Pi coding agent.

What license does pi-vsc use?

MIT license: free to use, modify, and distribute, as long as the copyright notice is kept.

How hard is pi-vsc to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pi-vsc for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.