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 executes independent Python scripts through uv. Committed work survives restart; interrupted scripts return UnknownExecution for inspection. See Architecture.

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.9.2

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.9.2
File Size Uploaded Provenance
rio-0.9.2.tar.gz 366.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 541.4 kB

Release files / rio-0.9.2.tar.gz

Download URL rio-0.9.2.tar.gz
Size 366.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9e8ad1c304aa36c6f198c41787e534a0414d76e140c8990bb0f564917b8245f2
BLAKE2b-256 checksum
How to use checksums
2520249a1a653784bffd4abe72edfd0ed06a590dc352372715dc6a6d6854223f
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 Oct 20, 2026.

Transparency log

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

Download URL rio-0.9.2-py3-none-any.whl
Size 174.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04635eeada87e54727f147dc47afc438d0dd73f81ead6c892cc4280087b9169c
BLAKE2b-256 checksum
How to use checksums
8253d9e8667c9248fdefbefca9099130d5da1aeca7524d8196d642b08767612f
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 Oct 20, 2026.

Transparency log

Security for rio 0.9.2

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rio-0.9.2.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 Oct 20, 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.

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