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: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:1
Start with seed as base
The full seed becomes the starting point.
2
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.
3
Write merged result
Write the merged result with the new seed version.
- 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:
