Skip to main content

rio

Rio is a fully autonomous, one-shot coding agent. It has no built-in interactive TUI, no conversation history, no human steer in the middle and no follow-up turns. Start a task and Rio runs until the task completes or aborts.

Getting Started

Install via uv:

uv tool install rio

Usage

Login to your preferred providers:

  • rio login anthropic
  • rio login github-copilot
  • rio login codex
  • ...

Run an ad hoc task:

rio run "Fix gh issue 123."

Rio keeps its State in SQLite and runs code cells in Small Python, a minimal interpreter with builtins only. Committed work survives restart; interrupted scripts return UnknownExecution for inspection. See Architecture.

Code cells can search and call MCP server tools configured in ~/.rio/mcp.json or .mcp.json. See Use MCP tools.

Run a predefined workflow:

rio run task.md

The workflow is to write the task in a Markdown file, then run Rio against it.

You can add a short instruction when invoking it:

uv run rio run "Follow feature.md, run the tests, and finish the implementation"

Use --provider NAME --model MODEL to choose a provider and a model.

Rio prints a compact human transcript by default. Use --output json for one JSON event per line. Each human-mode run prints a session id; continue it with rio run --resume SESSION_ID. Start a new run for a new task.

Documentation

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

Development

uv run pytest
uv run ruff check .
uv run mypy

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.

  • rio.ai streams model responses from multiple providers.
  • rio.agent owns SQLite state, immutable cells, notes, controls, workers, and recovery. Callers add runnable cell kinds.
  • rio.coding supplies code and cmd cells, provider configuration and credentials.
  • rio.cli runs coding tasks.

Metadata

Release files for rio 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rio 0.10.0
File Size Uploaded Provenance Actions
rio-0.10.0.tar.gz 400.8 kB With provenance Details for rio-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rio 0.10.0
File Interpreter ABI Platform Actions
rio-0.10.0-py3-none-any.whl Python 3 none any Details for rio-0.10.0-py3-none-any.whl

Total release size: 586.0 kB

Release files / rio-0.10.0.tar.gz

Download URL rio-0.10.0.tar.gz
Size 400.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0deb781a44c2f70dfd890ebaab4dd2e58468d99ec106973f80fbd2a2be800c55
BLAKE2b-256 checksum
How to use checksums
549fde1d8fdf76a99880b9720a1f430e2740ac5eb89214e52fd11ce226681cd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / rio-0.10.0-py3-none-any.whl

Download URL rio-0.10.0-py3-none-any.whl
Size 185.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f54a658e2c0ac8b727645997e1312c8b5b69cdbe35be2b059352aa76198b4989
BLAKE2b-256 checksum
How to use checksums
424c3f582ff8dff31a77c173112cb9bc101ad6f895096e65c28dd8e37f31d6f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for rio 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rio-0.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page