better-custom

Pi extension package for adding and deleting custom providers through an interactive wizard.

Package details

extension

Install better-custom from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:better-custom
Package
better-custom
Version
0.1.1
Published
May 1, 2026
Downloads
142/mo · 142/wk
Author
glammm
License
MIT
Types
extension
Size
30.7 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

better-custom

A better way to add custom provider for Pi coding agnet

Features

  • Add or delete custom providers from an interactive wizard
  • Supports:
    • Anthropic-compatible endpoints
    • OpenAI-compatible endpoints
    • Ollama-compatible endpoints
  • API key modes:
    • environment variable name
    • literal API key
    • shell command
    • none
  • Auto-probe /models for OpenAI-compatible endpoints
  • Multi-select model picker for probed models
  • Optional reasoning: true flag for all saved models
  • Safe delete flow for existing providers

Install

From npm:

pi install npm:better-custom

From GitHub:

pi install https://github.com/ratatulieoi/better-custom

Usage

After installing, reload pi if needed, then run:

/better-custom

The wizard can:

  1. Add a provider
  2. Delete a provider

When adding a provider, it will guide you through:

  • provider style
  • endpoint
  • provider name
  • API key method
  • model discovery or manual model entry
  • reasoning flag

Files

  • index.ts — extension entry point
  • package.json — pi package manifest

License

MIT