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.0.tar.gz (5.8 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.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rio_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 5.8 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.0.tar.gz
Algorithm Hash digest
SHA256 6bcaf5619bb08898080aa6103ac968cd537b8b977ea80f8b43fbce551252c1a0
MD5 bca2dd572946e29bdfba34d5404b0f01
BLAKE2b-256 36a479bcc71da623a0ffff18411473ced2315965d617586214947fd4bf066728

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rio_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7bcc9753cf9f238b848a078411186f06432596c7f4d51a92bd2dfd9d610fbdd2
MD5 bbf46cf6943c500c9341a3774194bd22
BLAKE2b-256 6d064e5d675cbb97ef8be16690177173e48627deb3f2e0d427d394aa536f7d06

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

0.2.1

2 files

This release

0.2.0 This release

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