The all-in-one AI agent living in your terminal. Build landing, mobile apps, backends, manages files, deep research, schedule tasks and events. Self-improving,
The all-in-one AI agent living in your terminal. Build landing, mobile apps, backends, manages files, deep research, schedule tasks and events. Self-improving,
The autonomous, self-improving AI agent. Single Rust binary. Every channel.
Autonomous, self-improving multi-channel AI agent built in Rust. Inspired by Open Claw.
…toml [providers.opencode] enabled = true vision_model = "mimo-v2-omni" # any vision-capable model on this provider
**Path B (fallback).** Enable Gemini globally. Use this only when your active provider has no vision-capable model. Easiest way: run `/onboard:image` and the wizard walks you through. Manual setup:
```toml
# config.toml
[image.vision]
enabled = true
model = "gemini-3.1-flash-image-preview"
provider = "openrouter" # Optional: force vision to use a specific provider (bypasses enabled gate)# keys.toml ← the Gemini key MUST live here, NOT in config.toml
[image]
api_key = "YOUR_GEMINI_KEY"
…
toml
[providers.xiaomi]
context_window = 1000000 # raise the budget; compaction still triggers at 65% / 90% of it
[providers.anthropic]
context_window = 1000000 # native providers too — Anthropic, Gemini, and the CLI providers
…
toml
[providers.openrouter]
enabled = true
# Caching is ON by default — uncomment only to opt out:
# cache_enabled = false
…
toml
[channels.telegram]
allowed_users = ["123456789"] # Only these users can interact
respond_to = "mention" # Bot only responds to @mentions in groups
silence_group_start = true # Silently ignore /start from non-allowed users in groups
…
toml
[channels.telegram]
allowed_users = ["123456789"] # who may interact
# bot_owner = ["123456789"] # owner for owner-only commands (auto-seeded from allowed_users[0])[channels.telegram.rate_limiter])Telegram rate-limits per peer, and a forum supergroup is one peer no matter how many topics it has. Under load a busy turn can outrun that on its own, so the governor paces outbound calls proactively instead of only reacting to 429s.
Enforcement engages only for forum peers (a chat seen carrying a topic id). DMs are never paced, so leaving this alone is the right default; the knobs exist for deployments whose traffic differs from the one the defaults were sized on.
[channels.telegram.rate_limiter]
enabled = true # master switch; forum peers only either way
typing_min_interval_secs = 3 # sendChatAction: min gap between actions
typing_burst = 8 # ...and how many may bunch up
typing_max_hold_secs = 30 # longest a typing indicator is held
edits_per_minute = 30 # classic editMessageText budget
edit_burst = 10
rich_per_minute = 30 # sendRichMessage budget (separate bucket)
rich_burst = 10
send_min_interval_millis = 1000 # new messages: min gap
sends_ceiling_per_minute = 18
sends_burst = 5
summary_log_secs = 300 # how often the admitted/dropped summary is logged
…
toml
[channels.telegram]
allowed_users = ["111"] # admins: DM + any chat
respond_to = "mention" # global default
[channels.telegram.groups.-1001234567890]
name = "Release Crew" # recorded from Telegram; a label, never part of the ACL
allowed_users = ["222", "333"] # allowed in this group only, never via DM
respond_to = "all" # per-group override of the global respond_to
open = true # any member of THIS group is allowed (blanket, per-group)
…
~/.opencrabs/
├── config.toml # default profile
├── opencrabs.db
├── profiles.toml # profile registry
├── locks/ # token-lock files
└── profiles/
├── hermes/ # named profile
│ ├── config.toml
│ ├── keys.toml
│ ├── opencrabs.db
│ ├── SOUL.md
│ └── memory/
└── scout/
└── ...
…
scp '/Users/you/Screenshot 2026-09-02.png' [email protected]:~/.opencrabs/tmp/If you also have OpenCrabs on the machine you drag from, the TUI pulls the file across the SSH connection you already opened, so the copy happens on its own. Two steps, once:
1. On the machine you drag files from, run the agent and leave it running. This needs the OpenCrabs binary there (it is the one part of this that is not server-side), but no config, keys or onboarding: it is a plain file server.
opencrabs drop-agent2. Add a reverse forward to how you connect. If you use an alias, change it once and forget it:
# before
alias son='ssh [email protected]'
# after
alias son='ssh -R 127.0.0.1:8765:localhost:8765 [email protected]'
…
bash
opencrabs drop-agent --root ~/work/screenshots --root ~/Desktop
…
bash
# Install as system service (macOS launchd / Linux systemd)
opencrabs -p hermes service install
opencrabs -p hermes service start
# Each profile gets its own service
# macOS: com.opencrabs.daemon.hermes
# Linux: opencrabs-hermes.service
# Manage independently
opencrabs -p hermes service status
opencrabs -p hermes service stop
opencrabs -p hermes service uninstall
…
bash
# Migrate from OpenClaw
opencrabs migrate openclaw
# Migrate from Hermes
opencrabs migrate hermes
# Preview what would be migrated without making changes
opencrabs migrate openclaw --dry-runWhat it migrates:
The agent reads each source file, maps it to OpenCrabs format, and writes the result. If a brain file already has content, it merges rather than overwrites. After the agent finishes, a verification summary shows exactly which files were created, updated, or left unchanged.
Use -p to migrate into a specific profile instead of the default:
opencrabs -p my-openclaw-setup migrate openclaw
…
toml
[providers.anthropic]
api_key = "sk-ant-api03-YOUR_KEY"OAuth tokens no longer supported. Anthropic disabled OAuth (
sk-ant-oat) for third-party apps as of Feb 2026. Only console API keys (sk-ant-api03-*) work. See anthropics/claude-code#28091.
Features: Streaming, tools, cost tracking, automatic retry with backoff
Use your Claude Code CLI. OpenCrabs spawns the local claude CLI for completion.
Setup:
claude login)config.toml:[providers.claude_cli]
enabled = true
…
toml
[providers.openai]
api_key = "sk-YOUR_KEY"
…
toml
[providers.github]
enabled = true
default_model = "gpt-4o"
base_url = "https://api.githubcopilot.com/chat/completions"Features: Streaming, tools, OpenAI-compatible API at api.githubcopilot.com. Copilot-specific headers (copilot-integration-id, editor-version) are injected automatically. Short-lived API tokens are refreshed in the background every ~25 minutes.
Setup in keys.toml — get a key at openrouter.ai/keys:
[providers.openrouter]
api_key = "sk-or-YOUR_KEY"
…
toml
[providers.gemini]
api_key = "AIza..."Enable and set default model in config.toml:
[providers.gemini]
enabled = true
default_model = "gemini-2.5-flash"Features: Streaming, tool use, vision, 1M+ token context window, live model list from /models endpoint
Image & video generation & vision: Gemini also powers the separate
[image]section forgenerate_image,analyze_image, andanalyze_videoagent tools. See Image Generation & Vision below.
Models: MiniMax-M3, MiniMax-M2.7, MiniMax-M2.5, MiniMax-M2.1, MiniMax-Text-01
Setup — get your API key from platform.minimax.io. Add to keys.toml:
[providers.minimax]
api_key = "your-api-key"MiniMax is an OpenAI-compatible provider with competitive pricing. It does not expose a /models endpoint, so the model list comes from config.toml (pre-configured with available models).
Models: glm-4.5, glm-4.5-air, glm-4.6, glm-4.7, glm-5, glm-5-turbo — fetched live from the z.ai API
Setup — get your API key from open.bigmodel.cn. Add to keys.toml:
[providers.zai]
api_key = "your-api-key"Pre-rename configs using
[providers.zhipu](andzhipuanywhere a provider name is taken) keep working — everything normalizes tozaion load.
Enable and choose endpoint type in config.toml:
[providers.zai]
enabled = true
default_model = "glm-4.7"
endpoint_type = "api" # "api" (General API) or "coding" (Coding API)
…
toml
[providers.zai]
enabled = true
base_url = "https://open.bigmodel.cn/api/paas/v4" # optional; the /models list follows it tooThinking and effort (GLM-5.x):
[providers.zai]
enabled = true
default_model = "glm-5.3"
reasoning_effort = "high" # GLM-5.3+: "low", "high" or "max" only
…
toml
[providers.moonshot]
api_key = "your-api-key"Enable and choose the plan in config.toml:
[providers.moonshot]
enabled = true
default_model = "k3"
endpoint_type = "api" # "api" (API plan) or "coding" (Coding plan)
reasoning_effort = "max" # Kimi reasoning control: "max" on K3, "on"/"off" on K2.x.
# Sent only when the active model accepts it; otherwise a no-op.
…
toml
[providers.opencode_cli]
enabled = true
default_model = "opencode/mimo-v2-pro-free"
…
toml
[providers.codex_cli]
enabled = true
default_model = "gpt-5.5" # falls back to gpt-5.4 if 5.5 isn't in your account yet
…
toml
[[providers.qwen_accounts]]
api_key = "..."
refresh_token = "..."
expiry_date = 1234567890
resource_url = "portal.qwen.ai"
[[providers.qwen_accounts]]
api_key = "..."
refresh_token = "..."
expiry_date = 1234567891
resource_url = "portal.qwen.ai"With 3 accounts you get 180 req/min and 3,000 req/day before fallback kicks in.
Use the Qwen Code CLI as a free LLM backend — 1,000 free requests/day via Qwen OAuth. OpenCrabs spawns the local qwen binary for completions.
Setup:
npm install -g @qwen-code/qwen-code or brew install qwen-code)qwen and follow the OAuth flow (or set DASHSCOPE_API_KEY for API key auth)config.toml:[providers.qwen_code_cli]
enabled = true
default_model = "qwen3-coder-plus"Available models: qwen3-coder-plus, qwen3.5-plus, qwen3.6-plus, qwen3-coder-480a35, qwen3-coder-30ba3b, qwen3-max-2026-01-23
Features: Streaming, tools, 256K context window, NDJSON event protocol (Gemini CLI fork)
Native built-in provider for Ollama — no custom config needed. OpenCrabs auto-detects localhost:11434 and lists your pulled models via /models.
Setup:
ollama pull qwen2.5-coder:7bconfig.toml:[providers.ollama]
enabled = true
default_model = "qwen2.5-coder:7b"Features: Streaming, tools, zero API cost, local-first. Optional api_key for cloud Ollama (api.ollama.com). Models fetched live from Ollama API.
Use for: LM Studio, Groq, or any OpenAI-compatible API.
Setup in config.toml — every custom provider needs a name (the label after custom.):
[providers.custom.lm_studio]
enabled = true
base_url = "http://localhost:1234/v1" # or your endpoint
default_model = "qwen2.5-coder-7b-instruct"
# Optional: list your available models — shows up in /models and /onboard
# so you can switch between them without editing config
moNo open issues yet, or sync has not completed.