# OpenCrabs

> A self-improving personal AI agent in a single Rust binary, with a terminal UI, chat-app channels, local memory and dozens of model providers

- Category: Agents & Automation / Assistants & Chatbots
- Language: Rust
- Licence: MIT
- Repository: https://github.com/opencrabs/opencrabs
- Website: https://opencrabs.com
- Canonical page: https://ai-tldr.dev/tools/opencrabs/
- Updated: 2026-10-16

## In short

OpenCrabs is an open-source personal AI agent written in Rust and shipped as a single binary. It sits in the Assistants & Chatbots category of the Agents & Automation tools and is open-source, written in Rust and licensed MIT. To get started: install with the one-line installer.

## Overview

OpenCrabs is an open-source personal AI agent written in Rust and shipped as a single binary. You talk to it in a terminal UI, or through Telegram, WhatsApp, Discord, Slack and Trello channels that share or isolate sessions per chat, and it acts on your machine with more than 30 built-in tools (files, search, code execution, image generation and analysis, cron jobs) plus any command-line program through bash. The README positions it against Node.js agent frameworks such as OpenClaw, and it includes a migrate command for moving over from OpenClaw or Hermes.

Everything runs locally: sessions, embeddings and memory live in SQLite and Markdown files under ~/.opencrabs/, there is no server or open port, and the project states it has no telemetry at all. Memory comes in three tiers: curated brain files (SOUL, USER, AGENTS, TOOLS, MEMORY), daily logs written by auto-compaction, and hybrid full-text plus vector search. On top of that sits an "epistemic engine" of beliefs that are tracked by use and decay when stale.

Models are pluggable: Anthropic, OpenAI, GitHub Copilot, OpenRouter, Gemini, MiniMax, z.ai GLM, Moonshot Kimi, Qwen, Ollama or any OpenAI-compatible endpoint, plus a built-in provider that needs no account, with fallback chains and per-provider vision and voice models. The agent can spawn typed child agents, loop on a /goal with an LLM judge until it is met, speak the Agent-to-Agent (A2A) protocol, serve the Agent Client Protocol so editors such as Zed can drive it, and run as a headless daemon or OS service. It is MIT licensed.

## What it does

- One Rust binary with a terminal UI: tmux-style split panes running parallel sessions on different providers, inline tool and plan approval, themes, a usage dashboard and a bang operator for raw shell commands
- Messaging channels for Telegram, WhatsApp, Discord, Slack and Trello, with images, documents and voice notes in and spoken replies out
- Three-tier local memory (brain files, daily compaction logs, hybrid FTS5 and vector search) plus decaying beliefs, all stored on your machine with no telemetry
- Broad provider support with fallback chains, prompt caching, auto-compaction and local models through Ollama, LM Studio or any OpenAI-compatible server
- Agent tooling: typed sub-agents, an autonomous /goal loop with an LLM judge, SKILL.md skills, runtime-defined HTTP and shell tools, cron jobs and Chromium browser control over CDP
- Interop and operations: A2A gateway, ACP server mode for editors, multi-instance profiles, a headless daemon with launchd/systemd service install, and migration from OpenClaw or Hermes

## Getting started

The README offers a one-line installer, prebuilt binaries for Linux, macOS and Windows, Homebrew, Cargo and Docker. A first run starts an onboarding wizard that sets up a provider and channels.

1. Install with the one-line installer

   The script picks the archive for your OS and architecture, checks it against the release's SHA256SUMS, and installs the CLI plus rtk. Add --dry-run to print the plan without installing, or --no-deps to leave system packages alone.

```bash
curl -fsSL https://raw.githubusercontent.com/opencrabs/opencrabs/main/src/scripts/install.sh | bash
```

2. Or use Homebrew or Cargo

   Homebrew installs a prebuilt bottle from homebrew-core. Cargo compiles from source (the README warns this takes around an hour) and lets you choose feature flags such as only the Telegram and Discord channels.

```bash
brew install opencrabs

# or, from source with selected features
cargo install opencrabs --no-default-features --features "telegram,discord"
```

3. Launch it and run the onboarding wizard

   Running opencrabs opens the terminal UI; onboard re-runs the setup wizard, run executes one prompt non-interactively, and doctor checks config, provider connectivity, channels and tools on your PATH.

```bash
opencrabs              # interactive TUI
opencrabs onboard      # setup wizard
opencrabs run "What is Rust?"
opencrabs doctor
```

4. Run it in the background or move over from OpenClaw

   daemon runs the channels without the TUI, service installs it under launchd or systemd, and migrate scans for an OpenClaw or Hermes setup and hands the move to the agent (--dry-run to preview).

```bash
opencrabs service install
opencrabs service start

opencrabs migrate openclaw --dry-run
```

## When to use it

- Run a personal agent you can message from Telegram, WhatsApp, Discord or Slack that works on your own machine and keeps its memory locally
- Work several coding or research sessions side by side in one terminal, each on a different model provider
- Replace a Node.js agent stack such as OpenClaw with a single self-contained binary and migrate its existing setup
- Drive the same agent from an editor through ACP or connect it to other agents over A2A

## Version history

- 2026-10-16 v0.5.11: Release v0.5.11 published on GitHub.
