Vscode Pi Model Chat Provider banner
tintinweb tintinweb

Vscode Pi Model Chat Provider

AI community

Description

VSCode Language Model Chat Provider integration for Pi coding agent, making Pi models available in VS Code's model picker for use with GitHub Copilot Chat and any extension that consumes the vscode.lm.* APIs.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Pi Banner

Pi Coding Agent - Language Model Provider for VS Code

[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/tintinweb.vscode-pi-model-chat-provider?style=flat-square&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=tintinweb.vscode-pi-model-chat-provider)

VS Code Language Model Chat Provider integration for [Mario Zechner's](https://github.com/badlogic) open source [Pi coding agent](https://pi.dev), making Pi models available in VS Code's model picker for use with GitHub Copilot Chat and any extension that consumes the `vscode.lm.*` APIs.

Pi Banner

https://github.com/user-attachments/assets/196cffa2-660e-4b7e-911b-389830420579

Features

  • Universal Model Access: Use Pi with any VS Code extension that supports language models
  • Dynamic Model Discovery: Automatically detects all configured models from Pi, across every provider Pi supports (Anthropic, OpenAI, OpenRouter, and more)
  • Tool Execution: Pi handles tools internally (file operations, bash commands, etc.)
  • Streaming Responses: Real-time streaming of LLM responses
  • Tool Transparency: Optional display of tool execution as text annotations

Prerequisites

  1. **Pi CLI** must be installed and available in your PATH:

    npm install -g @earendil-works/pi-coding-agent
  2. **API Keys** configured via Pi:

    pi> /login

Installation

  1. Install the extension from the VS Code Marketplace (or build from source)
  2. Verify Pi is installed: pi --version
  3. Open VS Code and Pi models will appear in the model picker

Configuration

Access settings via `Ctrl/Cmd+,` and search for "Pi":

| Setting