Overview
The Provider Registry is ArgentOS’s dynamic catalog of LLM providers and their available models. It tracks API endpoints, authentication methods, model capabilities, pricing, and context windows for every provider the system can route to. The registry ships with seed data covering 11+ providers and 60+ models. Operators can customize entries, add new providers, and adjust model configurations. User edits are preserved across seed updates through a merge strategy that adds new seed entries without overwriting existing customizations.How It Works
- On first run, the seed data is written to
~/.argentos/provider-registry.json. - On subsequent runs, the file is read and its version compared against the seed version.
- If the file version is older, a merge is performed: new seed entries are added, existing user entries are preserved.
- If the file version is equal or newer, it is returned as-is.
Seed Providers
The current seed (version 7) includes these providers:| Provider | API Format | Auth | Notable Models |
|---|---|---|---|
| MiniMax | Anthropic Messages | API Key | M2.5, M2.1, VL-01, M2-her |
| MiniMax Portal | Anthropic Messages | OAuth | M2.1 |
| Xiaomi | Anthropic Messages | API Key | MiMo V2 Flash |
| Moonshot | OpenAI Completions | API Key | Kimi K2.5 |
| Qwen Portal | OpenAI Completions | OAuth | Qwen Coder, Qwen Vision |
| Inception | OpenAI Completions | API Key | Mercury 2 |
| Ollama | OpenAI Completions | API Key | Dynamic (local models) |
| LM Studio | OpenAI Completions | None | Dynamic (local models) |
| Groq | OpenAI Completions | API Key | Llama 3.3, Qwen3 32B, GPT OSS |
| Synthetic (HF) | Anthropic Messages | API Key | DeepSeek, GLM-4.7, Kimi K2, Qwen3 |
| Venice | OpenAI Completions | API Key | 20+ models including proxied Claude, GPT, Gemini |
API Formats
Providers use one of two API formats:- anthropic-messages
- openai-completions
Anthropic Messages API format. Used by MiniMax, Synthetic, Xiaomi.
ArgentOS normalizes between these formats internally, so the model router can seamlessly fall back across providers regardless of their native API format.
Dynamic Providers
Some providers support dynamic model discovery:Registry File Structure
The registry file at~/.argentos/provider-registry.json:
Provider Entry Schema
Model Entry Schema
Registry Operations
Loading
Saving
Getting a Single Provider
Resetting to Seed
Merge Strategy
When the seed version is bumped, the merge process:Merge existing providers
For each provider in the user’s existing file: if the provider also exists in the seed, merge models (user models take priority, new seed models are appended). If the provider is user-added (not in seed), preserve it as-is.
- New providers from seed updates are automatically added
- New models for existing providers are added alongside user-customized models
- User-added providers are never removed
- User model customizations (cost overrides, context window adjustments) are preserved
Adding Custom Providers
Edit~/.argentos/provider-registry.json to add a new provider:
Integration with Model Router
The provider registry feeds the model router’s provider resolution. When the router needs to route a request to a specific tier (LOCAL, FAST, BALANCED, POWERFUL), it consults the registry to find available providers and their models. The registry also provides cost data that the router uses for budget-aware routing decisions.Key Files
| File | Description |
|---|---|
src/agents/provider-registry.ts | Registry manager (149 LOC) |
src/agents/provider-registry-seed.ts | Seed data with 11+ providers (752 LOC) |
src/config/types.models.ts | Type definitions for registry entries |
~/.argentos/provider-registry.json | Persistent registry file |
