⚠️ Work in Progress — This project is under active development, but already usable with some caveats. APIs, features, and configuration are subject to change.
rab is a lightweight, extensible, Rust-based coding agent.
Inspired by pi coding agent.
rab uses yoagent as its core agentic loop and provider framework. Model and provider metadata is fetched from models.dev via the rab generate-models command — see Generating models below.
rab is an archaic Slavic word for slave or servant, commonly found in the phrase Раб Божији (Rab Božiji) — Servant of God. It shares the same origin with a robot, carrying the same notion of a servant who performs work on behalf of another — a fitting name for an agent broker that orchestrates tireless AI agents. Some call coding agents clankers — a term that evokes clumsy, rattling machinery. rab is the opposite: a quiet, devoted servant, faithful rather than noisy.
Prerequisites: Rust (latest stable toolchain)
cargo install --git https://github.com/markokocic/rab.git
⚠️ The project is under active development — the version on crates.io may be outdated. Prefer the git install above for the latest changes.
cargo install rab-agentThis installs the rab binary.
git clone https://github.com/markokocic/rab.git
cd rab
cargo build --release
./target/release/rabOr to install the binary:
cargo install --path .
rabModel and provider information (base URLs, model costs, capabilities, etc.) is sourced from models.dev. To update the local catalog:
cargo run -- generate-modelsThis fetches provider/model data for GitHub Copilot, OpenCode (Zen), OpenCode Go, and DeepSeek, applies corrections, and writes it to src/provider/models.json.
Copyright © 2026-present Marko Kocic marko@euptera.com
This project is licensed under the Eclipse Public License 2.0 (EPL-2.0) — see the LICENSE file for details.