Catalog PyPI
PACKAGE EXPLORERView in registry

agent-provider-manager

PyPI

Centralized API provider management for AI coding agents

agentaiapi-keycliprovider
Versions collected1
Direct dependencies2From release 0.1.2
Last observed20 Oct, 23:00 UTC

README

Version 0.1.2 documentation

APM Logo

Agent Provider Manager

Centralized API provider management for AI coding agents.

CI Release GUI PyPI License: MIT Python


Your API subscriptions are the source of truth. Agents come and go — your provider config stays.

GUI Desktop App

APM GUI

Download the latest GUI release from Releases.

┌─────────────┐
│   Provider   │  ← Your API subscription (base URL + key)
│  (GLM 5.2)  │
└──────┬──────┘
       │  apm sync glm
       ├──────────────→ Claude Code
       ├──────────────→ Codex
       ├──────────────→ Cursor
       ├──────────────→ Hermes
       ├──────────────→ ZCode
       └──────────────→ ... (15 agents supported)

Install

Homebrew (macOS/Linux)

brew tap jaxtonzhc/tap
brew install apm

pip / pipx

pip install agent-provider-manager
# or
pipx install agent-provider-manager

One-line script

curl -sSL https://raw.githubusercontent.com/jaxtonzhc/agent-provider-manager/main/install.sh | bash

Quick Start

# Interactive setup (recommended for first-time users)
apm init

# Or step by step:
apm scan                                # 1. Scan installed agents
apm provider add deepseek               # 2. Add a provider (key entered interactively)
apm sync deepseek                       # 3. Sync to all agents
apm status                              # 4. Check status

Commands

Core

CommandDescription
apm initInteractive setup guide
apm scanScan installed agents
apm statusShow current provider for each agent
apm doctor [--fix]Diagnose and fix issues

Provider Management

CommandDescription
apm provider addInteractive provider selection from registry
apm provider add <name>Add provider by name (key entered interactively)
apm provider add <name> --key-env VARAdd provider with key from env var
apm provider add <name> --url <url>Add custom provider (not in registry)
apm provider add <name> --alias mynameAdd with custom alias
apm provider add <name> --variant VSelect specific variant (e.g., token-plan-cn)
apm provider update <name> --url/--anthropic-url/--key/--modelsUpdate provider fields
apm provider test [name]Test provider connectivity
apm provider rename <old> <new>Rename a provider slug
apm provider remove <name>Remove a provider
apm provider listList configured providers
apm provider show <name>Show provider details (models with context/reasoning/vision)
apm provider importImport from installed agents
apm provider knownList known providers from registry

Sync

CommandDescription
apm syncInteractive provider selection, sync to all agents
apm sync <provider>Sync to all installed agents
apm sync <provider> --agents a1,a2Sync to specific agents
apm sync <provider> --dry-runPreview changes
apm switch <provider>Alias for sync
apm undoUndo last sync (restore auto-snapshot)

Snapshot

CommandDescription
apm snapshot save [--name N]Save current agent configs
apm snapshot restore <name>Restore from a snapshot
apm snapshot listList saved snapshots
apm snapshot delete <name>Delete a snapshot

Maintenance

CommandDescription
apm updateUpdate provider/agent registry
apm self-updateUpdate apm itself
apm logs [--tail N]Show log file
apm agentsList known agents
apm providersList known providers

Debug & Machine-Readable Output

apm --debug status          # Verbose logging
APM_DEBUG=1 apm status     # Via environment variable
apm --json status           # JSON output (for GUI/scripts)
apm --json provider list    # All commands support --json

Built-in Registry

10 AI Agents with full sync support (read + write config):

Claude Code, Codex, Cursor, Hermes, OpenClaw, ZCode, WorkBuddy, Aider, Pi, Oh-My-Pi

5 additional agents known (detection only, no sync yet):

GitHub Copilot, Windsurf, Continue, Mimocode, OpenCode

13 Providers with pre-configured base URLs, models, and capabilities:

OpenAI, Anthropic, DeepSeek, Google Gemini, GLM (Zhipu), SiliconFlow, OpenRouter, Volcengine, Alibaba Qwen, MiniMax, Xiaomi MiMo, Groq, ZAI

Each model includes metadata: context window (e.g., 1M), reasoning support, and vision capability.

The registry is updated remotely — run apm update to get the latest providers and models.

Storage

~/.apm/
├── providers.json          # Your provider configs (mode 0600)
├── sync-state.json         # Sync history
├── registry-cache.json     # Remote registry cache
├── snapshots/              # Agent config backups (apm snapshot / apm undo)
└── apm.log                 # Debug log

Development

git clone https://github.com/jaxtonzhc/agent-provider-manager.git
cd agent-provider-manager
pip install -e ".[dev]"
make test

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.223 Jun 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
jaxtonzhc/apm

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:00 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:bf564451f7cbacbe5c366be909157f7b41262a7472a03d8becf0b260a112b9e5