← Catalog

pi-setup-custom-providers

Interactive wizard to manage custom LLM providers and models for pi coding agent

ExtensionProvider

Install

Install with PiG

pig install npm:pi-setup-custom-providers

Install with Pi

pi install npm:pi-setup-custom-providers
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.

{
  "extensions": [
    "./src/index.ts"
  ]
}

README

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

pi-setup-custom-providers

Interactive wizard to manage custom LLM providers and models for the pi coding agent.

Features

  • Provider Management — Add, edit, remove custom providers (Ollama, OpenRouter, Groq, Together, DeepSeek, Mistral, Anthropic, Google, llama.cpp, LM Studio, enowX Labs, CLI Proxy API, and more)
  • Model Discovery — Auto-discover models from provider APIs with rich metadata (context window, max tokens, reasoning support, image input, pricing)
  • Health Checks — Background connectivity checks with per-provider status
  • Chat Testing — Test chat completions against any configured model
  • Compat Auto-Detection — Automatically applies compatibility settings for known providers
  • Thinking Level Maps — Configure per-model reasoning effort mappings (enables xhigh)
  • Import/Export — Share provider configurations as JSON
  • Ollama Cloud Tier Detection — Probes which models are free vs pro subscription
  • Batch Operations — Multi-select models for bulk edits (limits, reasoning, image support)

Install

pi install npm:pi-setup-custom-providers

Or from GitHub:

pi install https://github.com/davidyusaku-13/pi-setup-custom-providers

Usage

In pi, run:

/setup-custom-providers

This opens an interactive TUI wizard where you can:

  1. Add providers from presets or custom URLs
  2. Discover models from the provider's API
  3. Configure model capabilities (reasoning, image input, context window, etc.)
  4. Test connectivity and chat completions
  5. Manage compatibility settings

Supported Providers

ProviderTypeAuto-Discovery
Ollama (local)Local✅ via /api/tags + /api/show
Ollama CloudCloud✅ with tier probing
llama.cppLocal✅ via /v1/models + /props
LM StudioLocal✅ via /v1/models
OpenRouterCloud✅ with pricing
Together AICloud✅
GroqCloud✅
DeepSeekCloud✅
MistralCloud✅
AnthropicCloud✅
Google GeminiCloud✅
enowX LabsGateway✅ with tiers
CLI Proxy APIProxy✅

License

MIT