A provider in Shob is a connection to an AI model API. Shob uses providers to send messages, stream responses, and call tools on your behalf. Out of the box, Shob supports a broad set of cloud providers — Anthropic, OpenAI, Google, GitHub Copilot, OpenRouter, Vercel AI Gateway, and many more — as well as any API that is compatible with the OpenAI HTTP interface.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/shobcoder/shob/llms.txt
Use this file to discover all available pages before exploring further.
Supported Providers
The full provider list is fetched from models.dev at runtime, so it stays current with new releases. The providers that appear highest in the login selector (in priority order) are:| Provider | ID | Notes |
|---|---|---|
| Shob | shob | Shob’s own hosted inference — recommended starting point |
| OpenAI | openai | ChatGPT Plus/Pro subscriptions or API key |
| GitHub Copilot | github-copilot | Copilot subscription via OAuth |
google | Gemini models | |
| Anthropic | anthropic | Claude models |
| OpenRouter | openrouter | Aggregates many providers behind one API key |
| Vercel AI Gateway | vercel | Vercel’s model routing layer |
shob.json.
Authentication
Shob supports two authentication methods: API keys and OAuth. Which method is available depends on the provider.Interactive login
The recommended way to authenticate is with theshob providers login command. It walks you through provider selection, authentication method, and credential storage interactively:
--method to skip the authentication method picker when a provider supports multiple methods:
auth.json). You can inspect the stored path by running shob providers list.
Environment variables
Shob automatically detects API keys set as environment variables. The variable names follow each provider’s standard convention:shob providers list to confirm which providers are active via environment variables.
Environment variables take effect immediately and do not need to be stored with
shob providers login. They are resolved at startup alongside any stored credentials.Listing and Removing Credentials
shob providers list prints two sections:
- Stored credentials — from
auth.json, showing each provider name and auth type (apioroauth) - Environment variables — any provider API keys detected in the current environment
Selecting a Model
Models are identified by aprovider/model string. Pass it with --model (or -m) on any command that runs the agent:
shob.json so you do not have to specify it on every run:
shob.json
small_model can be configured for lightweight internal tasks like title generation:
shob.json
Model variants
Some providers expose reasoning-effort variants (e.g.,thinking, high, max, minimal). Pass the variant with --variant:
shob.json:
shob.json
Custom and OpenAI-Compatible Providers
To connect a custom or self-hosted endpoint, add a provider block toshob.json. Custom providers use the @ai-sdk/openai-compatible adapter by default:
shob.json
Enabling and disabling providers
By default, all providers from models.dev are available. You can restrict which providers appear in Shob usingenabled_providers (allowlist) or disabled_providers (blocklist):
shob.json
Per-Agent Model Configuration
You can assign a specific model to an individual agent without changing the global default:shob.json