Skip to main content

rio-cli

The command-line client for Rio, an automated code review tool. Review your local diffs from the terminal, backed by the same AI review engine used by Rio's GitHub App.

Installation

pip install rio-cli

This installs the rio command.

Authentication

Before using rio review, authenticate with a Rio API key (create one on your Rio dashboard's API keys page):

rio auth

This prompts for your API key, validates it against your Rio instance, and saves it to ~/.config/rio/config.toml with restricted (0600) file permissions.

Usage

# Review currently staged changes
rio review --staged

# Review uncommitted changes (staged + unstaged)
rio review --uncommitted

# Review the last commit
rio review --committed

# Review a diff from a file
rio review --diff path/to.diff

# Include untracked files alongside any of the above
rio review --staged --include-untracked

Configuration

rio auth manages ~/.config/rio/config.toml for you. To point the CLI at a self-hosted ai-engine instance instead of the default (http://localhost:8000), edit the [api] url value in that file, or set it before running rio auth:

[api]
url = "https://your-rio-instance.example.com"
api_key = "your-api-key"

License

ISC © 2026 JayTheCoder77

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rio_cli-0.2.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rio_cli-0.2.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file rio_cli-0.2.1.tar.gz.

File metadata

  • Download URL: rio_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rio_cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5ea9454ba771e81e1b916276537269bccced437135e356d8ad5cfd3cc5a4332a
MD5 a1c8ed8c5b52a8efa980e4de946d786b
BLAKE2b-256 8893bdab2ceecf2f6a74b444dc955e09d6fd6e648dfb23d209b9181727baff22

See more details on using hashes here.

File details

Details for the file rio_cli-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: rio_cli-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rio_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53788b1f2021e0f1c71b58efbe428b8d32deda7af08522807a26769f7588db5b
MD5 b955b2f0568d8b51869626b77610fee9
BLAKE2b-256 e9a42f69da5f91c6970dbc7fb1ede9413bd577b63f2eefb2a028964b0df210a7

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.0

2 files

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