Skip to main content

Overview

OrcBot supports multiple LLM providers with automatic fallback and provider-specific model persistence. You can configure providers via environment variables or YAML configuration files.

Quick Start

Provider Selection

enum
Explicit LLM provider selection. Supported values:
  • openai - OpenAI (GPT-4, GPT-3.5, o1)
  • google - Google Gemini
  • anthropic - Anthropic Claude
  • bedrock - AWS Bedrock
  • openrouter - OpenRouter (200+ models)
  • nvidia - NVIDIA NIM
  • ollama - Local Ollama models
The provider can also be inferred from the model name prefix (e.g., claude- → anthropic).
string
default:"gpt-4o"
Primary model to use. The provider is auto-detected from the model name if not explicitly set.
object
Per-provider model preferences. When you switch providers, OrcBot automatically restores the last model used for that provider.
object
Fallback models when primary provider fails:
string
Fast model for lightweight operations like summarization and classification.Examples:
  • gpt-4o-mini
  • gemini-1.5-flash
  • claude-3-5-haiku-20241022

OpenAI

Configuration

string
required
OpenAI API key (starts with sk-).Policy: APPROVAL - API keys are sensitive and require approval for changes.Environment variable: OPENAI_API_KEY

Supported Models

  • Model ID: gpt-4o-mini
  • Context: 128K tokens
  • Strengths: Fast and affordable
  • Use cases: Quick responses, summarization, classification
  • Model ID: gpt-4-turbo
  • Context: 128K tokens
  • Strengths: Previous generation flagship
  • Use cases: Complex reasoning, analysis
  • Model IDs: o1, o1-mini, o1-preview
  • Context: 128K tokens (o1), 128K tokens (o1-mini)
  • Strengths: Advanced reasoning, complex problem-solving
  • Limitations: No function calling, streaming only
  • Use cases: Deep analysis, strategic planning
o1 models do not support tool calling. Use with deep_reason skill only.

Example Configuration

orcbot.config.yaml

Google Gemini

Configuration

string
required
Google AI API key.Policy: APPROVAL - API keys are sensitive and require approval for changes.Environment variable: GOOGLE_API_KEYGet your API key at: https://makersuite.google.com/app/apikey

Supported Models

  • Model ID: gemini-1.5-pro
  • Context: 2M tokens
  • Strengths: Massive context window, high intelligence
  • Use cases: Extremely long documents, complex analysis
  • Model ID: gemini-1.5-flash
  • Context: 1M tokens
  • Strengths: Fast, affordable, good quality
  • Use cases: Quick responses, summarization

Computer Use (Experimental)

boolean
default:false
Enable Gemini’s computer use capabilities for screen control.
string
default:"gemini-2.5-computer-use-preview-10-2025"
Model to use for computer use features.

Example Configuration

orcbot.config.yaml

Anthropic Claude

Configuration

string
required
Anthropic API key (starts with sk-ant-).Policy: APPROVAL - API keys are sensitive and require approval for changes.Environment variable: ANTHROPIC_API_KEY

Supported Models

  • Model ID: claude-3-5-haiku-20241022
  • Context: 200K tokens
  • Strengths: Fast, affordable, intelligent
  • Use cases: Quick responses, summarization
  • Model ID: claude-3-opus-20240229
  • Context: 200K tokens
  • Strengths: Highest intelligence, complex reasoning
  • Use cases: Most demanding tasks, strategic planning

Example Configuration

orcbot.config.yaml

AWS Bedrock

Configuration

string
AWS region for Bedrock service (e.g., us-east-1, us-west-2).Environment variable: BEDROCK_REGION or AWS_REGION
string
AWS access key ID.Policy: LOCKED - Critical authentication credential.Environment variable: BEDROCK_ACCESS_KEY_ID or AWS_ACCESS_KEY_ID
string
AWS secret access key.Policy: LOCKED - Critical authentication credential.Environment variable: BEDROCK_SECRET_ACCESS_KEY or AWS_SECRET_ACCESS_KEY
string
AWS session token (for temporary credentials).Environment variable: BEDROCK_SESSION_TOKEN or AWS_SESSION_TOKEN

Supported Models

Bedrock provides access to multiple model families:
  • Anthropic Claude: anthropic.claude-3-sonnet-20240229-v1:0
  • Amazon Titan: amazon.titan-text-premier-v1:0
  • Meta Llama: meta.llama3-70b-instruct-v1:0
  • Cohere Command: cohere.command-r-plus-v1:0
  • Mistral AI: mistral.mistral-large-2407-v1:0

Example Configuration

orcbot.config.yaml
.env

OpenRouter

Configuration

string
required
OpenRouter API key.Policy: APPROVAL - API keys are sensitive and require approval for changes.Environment variable: OPENROUTER_API_KEYGet your API key at: https://openrouter.ai/keys
string
default:"https://openrouter.ai/api/v1"
OpenRouter API base URL.Environment variable: OPENROUTER_BASE_URL
string
HTTP Referer header for OpenRouter requests (optional, for ranking).Environment variable: OPENROUTER_REFERER
string
Application name for OpenRouter (optional, for ranking).Environment variable: OPENROUTER_APP_NAME

Supported Models

OpenRouter provides access to 200+ models from multiple providers:
OpenRouter offers several free models:
  • google/gemini-2.0-flash-exp:free
  • meta-llama/llama-3.2-3b-instruct:free
  • microsoft/phi-3-mini-128k-instruct:free
Free models have rate limits and may have lower availability.

Example Configuration

orcbot.config.yaml
Browse all models: https://openrouter.ai/docs#models

Ollama (Local Models)

Configuration

boolean
default:false
Enable local Ollama integration for running models locally.
string
default:"http://localhost:11434"
Ollama API endpoint URL.Policy: SAFE - Non-sensitive endpoint configuration.

Supported Models

Ollama supports running models locally:
  • Llama 3.3: llama3.3:70b, llama3.3:8b
  • Qwen 2.5: qwen2.5:72b, qwen2.5:32b
  • Mistral: mistral:7b, mistral-nemo:12b
  • DeepSeek: deepseek-r1:70b, deepseek-r1:8b
  • Phi-4: phi4:14b
  • Gemma 2: gemma2:27b, gemma2:9b

TUI Management

OrcBot’s TUI provides built-in Ollama management:
  • Auto-start server - Automatically starts Ollama if not running
  • Pull models - Download models from the Ollama library
  • Model selection - Switch between installed models
  • OpenAI-compatible - Native tool calling support

Example Configuration

orcbot.config.yaml

Installation

1

Install Ollama

Download from https://ollama.com or install via package manager:
2

Pull a model

3

Start Ollama service

4

Configure OrcBot

Additional Providers

OrcBot also supports these providers via direct API integration:

NVIDIA NIM

string
NVIDIA NIM API key.Policy: APPROVAL - API keys are sensitive.Environment variable: NVIDIA_API_KEY

Groq

string
Groq API key for ultra-fast inference.Environment variable: GROQ_API_KEY

Mistral AI

string
Mistral AI API key.Environment variable: MISTRAL_API_KEY

Cerebras

string
Cerebras API key for fastest inference.Environment variable: CEREBRAS_API_KEY

xAI

string
xAI (Grok) API key.Environment variable: XAI_API_KEY

Multi-Provider Strategy

Configure multiple providers for automatic fallback:
orcbot.config.yaml
When a provider fails, OrcBot automatically tries the fallback model, then switches to an alternative provider if configured.

Provider Auto-Detection

You can omit llmProvider and OrcBot will infer it from the model name:

Best Practices

Use Environment Variables

Store API keys in .env files or environment variables, not in YAML configuration.

Configure Fallbacks

Set fallback models to ensure continuity when primary provider fails.

Choose Fast Models

Configure fastModelName for lightweight operations to reduce latency and cost.

Test Locally First

Use Ollama for development and testing before using paid APIs.