Install
Install with PiG
pig install npm:pi-multi-provider-managerInstall with Pi
pi install npm:pi-multi-provider-managerPackages 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": [
"./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-multi-provider-manager
Multi-account provider extension for pi. Log into multiple ChatGPT/Codex, Fireworks AI, and Z.ai accounts simultaneously.
Install
pi install npm:pi-multi-provider-manager
Quick Start
Run /accounts for a guided, interactive setup:
/accounts
→ 📋 List accounts
→ ➕ Add account
→ 🗑️ Remove account
→ 🔁 Re-login to account
→ ❌ Cancel
Or use CLI-style commands:
/accounts add chatgpt alice@gmail.com
/accounts add fireworks my-work FIREWORKS_API_KEY
/login # pick "ChatGPT Accounts" or "Fireworks Accounts"
Commands
Just type /accounts for an interactive menu, or use:
/accounts add <kind> <label> [apiKeyEnv]— Add account (chatgpt, fireworks, zai)/accounts remove [kind] <label>— Remove account/accounts list— List all accounts/accounts relogin <kind> <label>— Re-authenticate OAuth accounts
Setup Examples
ChatGPT/Codex (OAuth):
/accounts add chatgpt alice@gmail.com
# Then: /login → "ChatGPT Accounts"
Fireworks AI (API key from env var):
export FIREWORKS_API_KEY="fw-..."
/accounts add fireworks my-work FIREWORKS_API_KEY
# Then: /login → "Fireworks Accounts"
Z.ai (API key from env var):
export ZAI_API_KEY="z-..."
/accounts add zai production ZAI_API_KEY