Skip to main content

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

  1. On first run, the seed data is written to ~/.argentos/provider-registry.json.
  2. On subsequent runs, the file is read and its version compared against the seed version.
  3. If the file version is older, a merge is performed: new seed entries are added, existing user entries are preserved.
  4. 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 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:
When dynamic: true, the system queries the discoveryUrl to populate the model list. This is how local providers like Ollama and LM Studio expose whatever models you have downloaded.

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.
This means:
  • 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:
Custom providers survive seed updates because the merge strategy preserves user-added entries.

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