Documentation Index
Fetch the complete documentation index at: https://mintlify.com/omnigent-ai/omnigent/llms.txt
Use this file to discover all available pages before exploring further.
omnigent setup is the interactive tool for managing model credentials. It walks you through adding a credential, setting a default, or removing one — organized by agent. Credentials are stored securely and are per-agent, so a Claude default and a Codex default coexist without conflict.
Credential types
Omnigent works with four kinds of credentials:| Icon | Kind | What it is |
|---|---|---|
| 🔑 | API key | A first-party vendor key for Anthropic, OpenAI, or similar providers |
| 🎟️ | Subscription | A Claude Pro/Max or ChatGPT plan, used via the official claude / codex CLIs |
| 🌐 | Gateway | Any OpenAI- or Anthropic-compatible base_url and key (OpenRouter, LiteLLM, Ollama, vLLM, Azure) |
| 🧱 | Databricks | A Databricks workspace profile (requires the databricks extra) |
Running setup
- Add a new credential (API key, subscription, gateway, or Databricks profile)
- Set the default credential for each agent
- Remove a credential
/model chat command.
Switching models mid-session
Type/model in any agent chat to switch the active model without restarting the session. This is also how you unblock a session that has hit the cost_budget hard limit — switch to a cheaper model and tool calls are allowed again.
Gateway providers
When you add a Gateway credential,omnigent setup asks for a base URL and an API key. The base URL format depends on which agent you point it at:
| Provider | For agent | Base URL | Key |
|---|---|---|---|
| OpenRouter | Claude Code (claude-sdk) | https://openrouter.ai/api | sk-or-… |
| OpenRouter | Codex / OpenAI Agents | https://openrouter.ai/api/v1 | sk-or-… |
| Ollama (local) | Codex / OpenAI Agents | http://localhost:11434/v1 | any value |
For Claude Code, point at OpenRouter’s Anthropic-compatible endpoint
(
…/api, not …/api/v1). For Codex and the OpenAI-agents harness, use
the OpenAI-compatible …/api/v1.Databricks workspace
To use a Databricks workspace as your model provider:Environment variables
Omnigent reads standard API key environment variables on first run and offers them as credential defaults:| Variable | Provider |
|---|---|
ANTHROPIC_API_KEY | Anthropic (Claude) |
OPENAI_API_KEY | OpenAI (GPT, Codex) |
omnigent and it will be detected automatically. You can also add them explicitly through omnigent setup at any time.