Back to directory

rig

A small, single-binary agent runtime that points at any OpenAI-compatible model, local or hosted, reads and edits a repository's code, runs its tests and remembers what it learned, with a loop implemented in a few hundred lines.

rig

rig is a small agent runtime distributed as one binary with no separate runtime to install, meant to turn a model the user already runs, local or hosted, into an agent that can read a repository's code, edit it, run its tests, and remember what it learned across turns. It connects to anything that speaks the OpenAI-compatible API, including llama.cpp, llama-swap, Ollama and OpenRouter, configured through a small set of local JSON files that set which model is active, each model's context window and token budget, and how many background workers run on which model.

The project describes its whole agent loop, batching included, as a few hundred lines of code, deliberately kept small enough to read before trusting it, with tools, guardrails, schedules and background workers implemented as separate pieces that plug into that loop. Tool calls run concurrently, and the project states that most of the tokens it serves in real use come from cache rather than being generated fresh. It installs with a shell script and can update itself in place afterward, and a session can be closed on one device and picked up again from another.

More in Coding agents

See all 793
  • The City

    github.com

    A native macOS app that shows Claude Code runs as a city, with each project as a building, each team as a floor of robots, and every animation driven by a real event from the claude CLI's stream.

  • Jauvex

    jauvex.reindent.com

    An Electron desktop app that puts Claude Code, Codex and Grok coding-agent sessions side by side and lets you steer them by voice, with a small model handling fast routing decisions.

  • Crest

    crestnotch.app

    A Mac app for developers that surfaces a waiting Claude Code or Codex approval prompt on the MacBook notch, so an agent run stops idling while you are in another window.