← Catalog

pi-connect

Unified OAuth and API key login for pi with an OpenCode-inspired UI. Connect 15+ providers with one /connect command.

Extension

Install

Install with PiG

pig install npm:pi-connect

Install with Pi

pi install npm:pi-connect
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/hk-vk/pi-connect/main/assets/screenshot.png",
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.3 (README.md). PiG does not review it.

pi-connect

pi-connect screenshot

Unified OAuth and API key login for pi with an OpenCode-inspired UI.

Connect 15+ providers with one /connect command.

Official pi providers list:

Install

pi install git:github.com/hk-vk/pi-connect

Usage

/connect — connect any provider

OAuth (browser login) or API key (paste your key) — one unified UI for all providers supported by pi.

/connect

Opens a picker like this:

╭───────────────────────────────────╮
│ Connect provider                  │
│                                   │
│ ○ Anthropic     OAuth             │
│ ○ ChatGPT       OAuth             │
│ ○ Copilot       OAuth             │
│ ○ OpenAI        API key           │
│ ○ OpenRouter    API key           │
│ ○ OpenCode      API key           │
│ ○ Gemini        API key           │
│ ○ Groq          API key           │
│                                   │
│ ● connected  ◌ env  ○ new        │
╰───────────────────────────────────╯

Status:

  • ● connected = saved in auth.json
  • ◌ env = available from environment variable
  • ○ new = not configured yet

Direct connect

/connect openai
/connect anthropic
/connect openrouter

/disconnect — remove a saved credential

/disconnect

Supported — 15+ providers

OAuth:

  • Anthropic (Claude Pro/Max)
  • ChatGPT Plus/Pro (Codex)
  • GitHub Copilot
  • Google Gemini CLI
  • Google Antigravity

API key:

  • Anthropic
  • OpenAI
  • OpenCode
  • OpenRouter
  • Google Gemini
  • Groq
  • Mistral
  • Cerebras
  • xAI
  • ZAI
  • Azure OpenAI
  • Vercel AI Gateway
  • Hugging Face
  • Kimi
  • MiniMax

See the official pi provider documentation for the full list and auth details:

License

MIT