@agnishc/edb-custom-provider

Custom model providers for pi

Packages

Package details

extension

Install @agnishc/edb-custom-provider from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@agnishc/edb-custom-provider
Package
@agnishc/edb-custom-provider
Version
0.15.1
Published
Jun 9, 2026
Downloads
516/mo · 158/wk
Author
agnishc
License
MIT
Types
extension
Size
10.5 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

edb-custom-provider

Custom model providers for pi.

CrofAi

Adds CrofAi as a model provider with 22 models:

  • DeepSeek V4 Pro/Flash
  • Kimi K2.5/K2.6
  • GLM 4.7/5/5.1
  • Qwen 3.5/3.6
  • Gemma 4 31B
  • MiMo V2.5
  • MiniMax M2.5

Authentication

Option 1: Environment variable

export CROFAI_API_KEY="your-api-key"

Option 2: Auth file (~/.pi/agent/auth.json)

{
  "crofai": { "access": "your-api-key" }
}

Option 3: Interactive login

/login crofai

Usage

# Select CrofAi model
/model crofai/deepseek-v4-pro

# View available models
/models | grep crofai

Notes

  • Uses OpenAI-compatible Chat Completions API
  • Supports reasoning_effort for reasoning-enabled models
  • Vision support for kimi-k2.5 (pass images in requests)