For the complete documentation index, see llms.txt. This page is also available as Markdown.

Providers & Gateways

Use the AI provider you want, from OpenAI and Claude to local models, and connect agents to the channels your people use with gateways.

🌐 One API, Many Providers

Write your code once and switch providers with configuration. Cloud and local providers share the same API.

Provider
Type
Chat
Stream
Tools
Embeddings
Vision

Bedrock

Cloud

✅

✅

✅

✅

Claude

Cloud

✅

✅

✅

✅

Cloudflare

Cloud

✅

✅

✅

✅

Cohere

Cloud

✅

✅

✅

✅

DeepSeek

Cloud

✅

✅

✅

✅

Docker Desktop

Local

✅

✅

✅

✅

Gemini

Cloud

✅

✅

✅

✅

✅

Grok

Cloud

✅

✅

✅

✅

Groq

Cloud

✅

✅

✅

HuggingFace

Cloud

✅

✅

✅

✅

MiniMax

Cloud

✅

✅

✅

✅

✅

Mistral

Cloud

✅

✅

✅

✅

Ollama

Local

✅

✅

✅

✅

✅

OpenAI

Cloud

✅

✅

✅

✅

✅

OpenRouter

Gateway

✅

✅

✅

✅

✅

Perplexity

Cloud

✅

✅

Voyage

Cloud

✅

ElevenLabs

Cloud

Audio only

Capabilities can vary by model. Vision requires a multimodal model, and OpenRouter capabilities depend on the underlying model. See the full provider table for details.

Configure a Provider

Keep credentials in environment variables:

Run Models Locally

Use Ollama for private, offline, cost-free AI:

Need a provider that is not listed? Write a custom provider.

🔌 Gateways

A gateway connects agents to people and platforms. It translates platform events, such as a CLI keystroke, a signed webhook, or a chat button click, into agent input, and turns agent events, such as a suspended approval, into a native experience.

Gateway
Use it for

cli

A blocking terminal approval prompt for scripts and local development

http

Network-reachable approvals and messages over signed webhooks

mock

Tests and examples, fully offline

Platform modules can register more gateways through aiGatewayRegistry(). Gateway sessions wire an agent to inbound messages with policies for what to do when a thread is busy: reject, queue, steer, or interrupt.

🧱 ColdBox

In ColdBox, mount a gateway on a route with toAiGateway():

See the ColdBox AI gateway routing documentation.

🔍 Go Deeper

Last updated

Was this helpful?