Skip to content
soasmePublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

rio

Rio runs coding agents the Freehand way: give the model a shell and let it decide everything else.

Rio has no model client and handles no tokens. It starts an agent CLI you already use and are logged in to (Claude Code, Codex, Gemini CLI or Antigravity), in headless mode, with its own harness. Rio replaces the system prompt where the CLI allows it, turns off built-in tools where it can, and gives the model one tool over MCP: bash, served by rio mcp.

Getting Started

Install via uv, and install and log in to at least one agent CLI:

uv tool install rio

Usage

rio run "Fix gh issue 123."                      # Claude Code
rio run --agent codex "Fix gh issue 123."
rio run --agent gemini -m gemini-2.5-pro task.md
rio run --agent agy "Add tests for the parser."

A sole Markdown file argument is read as the task. The agent CLI prints its own output; Rio exits with the CLI's exit code and prints the run directory, which keeps the full output of every command.

The bash tool runs each command in its own process group with a model-chosen timeout (default 120 seconds, at most a day). Long output shows its head and tail, with the path of the full output. Use it from any MCP client:

{"mcpServers": {"rio": {"command": "rio", "args": ["mcp", "--cwd", "/path/to/project"]}}}

Rio has no sandbox: commands run with your permissions, and approvals are turned off. Use a container or VM for code you do not trust. See Architecture.

Documentation

See the documentation for a tutorial, the command-line reference, and an explanation of Rio's architecture.

Development

uv run pytest
uv run ruff check .
uv run mypy
uv run tanny check src/rio/tools.py specs

specs/ models a run, a bash call and the MCP server with Temporal Typing; Tanny model-checks them and the contracts in src/rio/tools.py.

To run the Lean 4 verification, install elan and build the pinned toolchain from the repository root:

cd tests/lean && lake build

See the Lean behavior models for their scope and limits.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages