← Catalog

@agnishc/edb-custom-provider

Custom model providers for pi

Extension

Install

Install with PiG

pig install npm:@agnishc/edb-custom-provider

Install with Pi

pi install npm:@agnishc/edb-custom-provider
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 0.21.1 (README.md). PiG does not review it.

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)