OpenCrabs is a new open‑source AI agent that runs on your own server. It can learn from the data it sees, fix mistakes on its own, and keep working without needing a big cloud subscription. In this article we’ll walk through what OpenCrabs is, how it works, why it matters, and how you can start using it today.
What Is OpenCrabs?
OpenCrabs is a self‑hosted AI agent written in Rust. It is designed to be lightweight, fast, and easy to run on a laptop or a small server. The name “Crabs” comes from the idea that the bot can “crawl” through information, learn new skills, and adapt over time—just like a crab that moves sideways and can pick up new tools.
Key points:
- Open‑source – Anyone can view, modify, or contribute to the code on GitHub.
- Self‑hosted – You run it on your own hardware, so you keep full control of your data.
- Self‑learning – The bot can add new skills and fix errors without a developer’s help.
- Multi‑profile support – You can run several independent bots from one installation.
OpenCrabs is part of a growing trend of “agentic” tools that can act on behalf of a user, but it stands out because it is fully open‑source and can be customized to fit any workflow.
Core Features of OpenCrabs
| Feature | What It Does | Why It Matters |
|---|---|---|
| Multi‑profile support | Run many bots from one install | Keeps your projects separate and organized |
| Self‑healing config | Restores a corrupted config automatically | Reduces downtime and manual fixes |
| Provider health tracking | Logs success/failure of each AI provider | Helps you spot problems early |
| CLI and TUI | Command‑line and text‑based UI | Works on any machine, even headless servers |
| Tool integration | Calls external tools like Git, curl, or custom scripts | Lets the bot do real work, not just chat |
| Self‑learning | Adds new skills from conversation history | The bot grows smarter over time |
These features make OpenCrabs a powerful tool for developers, researchers, and anyone who wants an AI that can adapt without constant supervision.
How Does OpenCrabs Learn and Fix Itself?
OpenCrabs uses a combination of techniques that let it improve on its own:
- Memory Management – The bot stores conversation history in a local SQLite database. When it sees a pattern that it can automate, it writes a new “skill” file in Markdown.
- Skill Generation – When the bot notices that a user repeatedly asks for the same command, it creates a new skill that can be called automatically.
- Self‑Healing – If a configuration file gets corrupted, OpenCrabs restores the last good copy from a snapshot.
- Provider Health Checks – The
/doctorcommand shows which AI providers are working and which are not. If a provider fails, the bot can switch to a backup provider automatically. - CLI Tool Calls – The bot can run external commands and capture their output. If a command fails, it logs the error and can retry or ask the user for help.
Because all of this happens locally, you never have to worry about sending sensitive data to a third‑party cloud.
Real‑World Use Cases
OpenCrabs can be used in many scenarios. Here are a few examples that show its flexibility:
1. Code Review Assistant
A developer can set up OpenCrabs to run on a repository. Whenever a pull request is opened, the bot can run static analysis tools, run tests, and provide a summary of potential issues. If the bot finds a new type of bug, it can add a new skill to check for that bug in future PRs.
2. Customer Support Automation
A small business can host OpenCrabs on its server and connect it to its email or chat system. The bot can answer common questions, fetch order status, and even open support tickets. If a new FAQ appears, the bot learns it automatically.
3. Data Pipeline Orchestration
Data scientists can use OpenCrabs to trigger ETL jobs, monitor data quality, and alert on anomalies. The bot can call scripts, run SQL queries, and log results. When a new data source is added, the bot can learn how to pull from it.
4. Personal Knowledge Base
An individual can run OpenCrabs to manage notes, schedule tasks, and answer questions about personal projects. The bot can learn new commands like “create a meeting note” or “summarize this article” and add them to its skill set.
Comparing OpenCrabs to Other Agentic Frameworks
| Feature | OpenCrabs | OpenClaw | Browser‑Use v0.11.3 |
|---|---|---|---|
| Open‑source | Yes | Yes | Yes |
| Self‑hosted | Yes | Yes | Yes |
| Self‑learning | Yes | Limited | No |
| Multi‑profile | Yes | No | No |
| Self‑healing | Yes | No | No |
| Tool integration | Extensive | Moderate | Limited to browser actions |
OpenCrabs stands out because it combines self‑learning with self‑healing and multi‑profile support. If you need a bot that can grow on its own and keep running even when something goes wrong, OpenCrabs is a strong choice.
Getting Started with OpenCrabs
Below is a quick guide to installing and running OpenCrabs on a Linux machine. The steps are similar for macOS and Windows with WSL.
1. Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
2. Clone the Repository
git clone https://github.com/adolfousier/opencrabs.git
cd opencrabs
3. Build the Binary
cargo build --release
The compiled binary will be in target/release/opencrabs.
4. Create a Profile
./opencrabs profile create mybot
This creates a new profile directory under ~/.opencrabs/profiles/mybot.
5. Run the Bot
./opencrabs -p mybot
You’ll see a text‑based UI that shows the bot’s status. Use the /help command to see available commands.
6. Connect a Provider
OpenCrabs can use any LLM provider that supports the OpenAI API format. Add your key to ~/.opencrabs/profiles/mybot/config.toml:
[providers]
openai = "sk-..."
7. Add a Skill
Create a new Markdown file in ~/.opencrabs/profiles/mybot/skills/. For example, greet.md:
# greet
When the user says “hello”, reply with “Hi there! How can I help you today?”
The bot will automatically load this skill on startup.
Future Roadmap
OpenCrabs is still evolving. The latest changelog (March 2026) added several important features:
- Profile migration – Move settings and memory between profiles easily.
- Self‑healing config recovery – Automatic restoration of corrupted configs.
- Provider health tracking –
/doctorshows real‑time provider status. - CLI token usage tracking – Accurate token accounting for cost control.
- Improved UI rendering – Cleaner split‑pane layout and better scrolling.
These updates make OpenCrabs more reliable and easier to manage.
Why OpenCrabs Is a Game‑Changer
- Privacy – All data stays on your machine.
- Cost‑effective – No monthly cloud fees.
- Customizable – Add any skill you need.
- Resilient – Self‑healing and health checks keep it running.
- Community‑driven – Open‑source means you can contribute or fork.
If you’re looking for an AI agent that can grow with you and stay under your control, OpenCrabs is worth a try.