0

Provider directory

Browse cloud, local, and deterministic provider adapters.

Pr
Provider Directory
Chapter 026ProvidersIndexIndex
01Orientation

These defaults derive from MTPX 0.1.37 constructors. Choose a model available to your account. The terminal model picker can discover provider metadata or accept a custom ID.

Use this when

Browse cloud, local, and deterministic provider adapters.

  • Cloud and local adapters
  • Offline testing
  • Configuration
02 / minimal pattern
03 / manual

Read the system

The complete source manual—syntax, examples, linked references, edge cases, and implementation notes.

Documentation index ↗

These defaults derive from MTPX 0.1.37 constructors. Choose a model available to your account. The terminal model picker can discover provider metadata or accept a custom ID.

Cloud and local adapters

Adapter aliasInstall extraCredential or endpointSource model defaultGuide
Groqmtpx[groq]GROQ_API_KEY'openai/gpt-oss-120b'GROQ.md
OpenAImtpx[openai]OPENAI_API_KEY'gpt-4o'OPENAI.md
OpenRoutermtpx[openrouter]OPENROUTER_API_KEY'qwen/qwen3.6-plus-preview:free'OPENROUTER.md
Anthropicmtpx[anthropic]ANTHROPIC_API_KEY'claude-3-5-sonnet-20241022'ANTHROPIC.md
Geminimtpx[gemini]GEMINI_API_KEY'gemini-2.0-flash'GEMINI.md
SambaNovamtpx[sambanova]SAMBANOVA_API_KEY'Meta-Llama-3.1-70B-Instruct'SAMBANOVA.md
Cerebrasmtpx[cerebras]CEREBRAS_API_KEY'llama-4-scout-17b-16e-instruct'CEREBRAS.md
DeepSeekmtpx[deepseek]DEEPSEEK_API_KEY'deepseek-chat'DEEPSEEK.md
Mistralmtpx[mistral]MISTRAL_API_KEY'mistral-large-latest'MISTRAL.md
Coheremtpx[cohere]COHERE_API_KEY'command-a-03-2025'COHERE.md
TogetherAImtpx[togetherai]TOGETHER_API_KEY'meta-llama/Llama-4-Scout-17B-16E-Instruct'TOGETHER.md
FireworksAImtpx[fireworksai]FIREWORKS_API_KEY'accounts/fireworks/models/llama-v3p3-70b-instruct'FIREWORKS.md
Xiaomimtpx[xiaomi]MIMO_API_KEY'mimo-v2.5-pro'XIAOMI.md
Ollamamtpx[ollama]local server'qwen3'OLLAMA.md
LMStudiomtpx[lmstudio]local server'qwen3'LMSTUDIO.md

Install an extra with python -m pip install "mtpx[groq]", replacing groq with the provider's name. The providers aggregate installs a subset of common SDKs; use the specific extras above for an exact adapter.

Offline testing

MockPlannerProvider requires no external SDK. The offline agent example executes a real Python tool through a deterministic provider.

Configuration

The SDK reads environment variables. To load .env, install mtpx[dotenv] and call Agent.load_dotenv_if_available(). The TUI has its own masked credential form, model catalog, and local endpoint setup. Read the TUI operating guide.

01

Read

Understand where Provider Directory sits in the agent loop before adding abstractions.

02

Wire

Connect the smallest useful provider, registry, store, or event stream first.

03

Observe

Expose events, logs, results, and failure states while the runtime is still moving.

04

Harden

Add policy, tests, retries, and audit traces after the behavior is visible.

Next docAnthropic Provider