Skip to main content

runinfra-cli

Your coding agent sets up RunInfra's open models for you. Paste this prompt into the agent you want to connect:

Set up RunInfra's open models in this coding agent for me. Read https://runinfra.ai/docs/tools-sdks/agent-setup.md and follow it step by step. If you cannot open links, run `npx -y @runinfra/cli@latest --help` and follow its FOR CODING AGENTS section. I approve sign-in in my browser. Before you install anything, change this agent's settings or spend money, show me the plan and wait for my yes.

Approve sign-in in your browser, then say yes to the setup plan your agent shows you. The plan names the files, keys, one short paid check and who pays. You never paste a key into chat.

To set it up yourself, run runinfra in a terminal.

Your agent runs this sequence, stopping for your approval at sign-in and before apply:

runinfra whoami --json
runinfra login --device --no-wait --json
runinfra login --device --json --timeout 100
runinfra agents --json
runinfra plan --json
runinfra connect <agent> --json [--funding plan|credits]
runinfra connect <agent> --json [--funding plan|credits] --yes
runinfra doctor --json

It connects only itself, asks which payer to use when a Coding plan can pay, and relays the start command, model choice and restart instructions. A changed or used review requires a fresh review and yes. Preview connections also need your consent. Without a plan that can pay, it omits --funding, so the key uses credits now and can use a plan you add later.

Plan-funded connections add covered models; models added earlier stay, and any outside the plan pay from credits. Verification uses workspace credits for pay-as-you-go workspaces. For coding plan workspaces, verification uses the workspace funding policy.

runinfra keys lists agent key prefixes. To recover an unused key, review runinfra keys revoke --id <keyId> before approving revocation. runinfra update --check checks the update path for your install channel. The CLI refuses unsafe configuration changes.

doctor and models sync send no paid requests without --verify. help and version, including --help and --version, also print plain text when stdout is redirected. Scripts require --yes; without it, the command exits 8 with the complete plan as consent_required.

Guide: https://runinfra.ai/docs/tools-sdks/agent-setup

Run runinfra help for commands. Every channel installs the same CLI release. Install with pip install runinfra-cli. Wheels embed the CLI binary. No Node.js required. Requires Python 3.8+ on Linux x64/arm64 (glibc 2.25+ or musl 1.2+), macOS 13+ x64/arm64, or Windows x64. npm users can install with npm install -g @runinfra/cli. Bundled licenses are in LICENSE and THIRD-PARTY-NOTICES.txt. The CLI stores sign-in privately in credentials.json, using credentials.json.<random>.tmp during atomic writes. Never open or share these files or Connect's key copies and snapshots.

The Windows installer checks SHA-256 only. The POSIX installer checks SHA-256 and the Ed25519 release signature when OpenSSL supports it. It reports when signature verification is unavailable.

Verifying a release

Download the release's binary, SHA256SUMS and SHA256SUMS.sig from the same GitHub release. Verify the signature before trusting the manifest, then compare the binary's SHA-256 checksum with its entry in SHA256SUMS.

Save the pinned public key as runinfra-release.pub from: https://raw.githubusercontent.com/RightNow-AI/runinfra-cli/main/runinfra-release.pub

The SHA-256 fingerprint of the raw 32-byte Ed25519 public key is:

5b2c8f637c0cd00a61ec6f126e5a9493c022ef1ea5be70fdd3ef4adf55801532

With an OpenSSL version that supports Ed25519, verify the manifest:

openssl pkeyutl -verify -pubin -inkey runinfra-release.pub -rawin -in SHA256SUMS -sigfile SHA256SUMS.sig

A CI-held key proves the artifact came out of this pipeline and nothing more.

Metadata

Release files for runinfra-cli 0.5.0

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

Built distributions (wheels)

Table of built distributions (wheels) for runinfra-cli 0.5.0
File Actions
runinfra_cli-0.5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for runinfra_cli-0.5.0-py3-none-win_amd64.whl
runinfra_cli-0.5.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for runinfra_cli-0.5.0-py3-none-musllinux_1_2_x86_64.whl
runinfra_cli-0.5.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for runinfra_cli-0.5.0-py3-none-musllinux_1_2_aarch64.whl
runinfra_cli-0.5.0-py3-none-manylinux_2_25_x86_64.whl Python 3 none Linux glibc 2.25+ x86-64 Details for runinfra_cli-0.5.0-py3-none-manylinux_2_25_x86_64.whl
runinfra_cli-0.5.0-py3-none-manylinux_2_25_aarch64.whl Python 3 none Linux glibc 2.25+ ARM64 Details for runinfra_cli-0.5.0-py3-none-manylinux_2_25_aarch64.whl
runinfra_cli-0.5.0-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for runinfra_cli-0.5.0-py3-none-macosx_13_0_x86_64.whl
runinfra_cli-0.5.0-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for runinfra_cli-0.5.0-py3-none-macosx_13_0_arm64.whl

Total release size: 240.0 MB

Release files / runinfra_cli-0.5.0-py3-none-win_amd64.whl

Download URL runinfra_cli-0.5.0-py3-none-win_amd64.whl
Size 41.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
318e52e116c0576e46a8490ea0a42e00aa09dca7533edc5d050966487c600f33
BLAKE2b-256 checksum
How to use checksums
945b0b19daa9016af6f605ec794ace827c5ffacaa6ba7978b8bf7f03c857559c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Sep 30, 2026.

Transparency log

Release files / runinfra_cli-0.5.0-py3-none-musllinux_1_2_x86_64.whl

Download URL runinfra_cli-0.5.0-py3-none-musllinux_1_2_x86_64.whl
Size 37.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b82642d60e8984531fa063a184d3a1e5b9a66fed08e5220044a303eac945eaaf
BLAKE2b-256 checksum
How to use checksums
c8d28eadd44aa10746eea58b90ac716f85e9d2df82db26a486d1568fd146344c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Sep 30, 2026.

Transparency log

Release files / runinfra_cli-0.5.0-py3-none-musllinux_1_2_aarch64.whl

Download URL runinfra_cli-0.5.0-py3-none-musllinux_1_2_aarch64.whl
Size 36.1 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e4417bf36bd2f66376e674f2ff698cc8333a2728a1d4df71a707e10b3c6b4cc6
BLAKE2b-256 checksum
How to use checksums
21574225f5a12737e89e7d74b80c5c322a4ff5864f03f5f0e503bb1fd444afb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Sep 30, 2026.

Transparency log

Release files / runinfra_cli-0.5.0-py3-none-manylinux_2_25_x86_64.whl

Download URL runinfra_cli-0.5.0-py3-none-manylinux_2_25_x86_64.whl
Size 39.7 MB
Tags Linux glibc 2.25+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d73d9089dca37cd6ca53d3d16183d9f030a675e4a6045baff21055abf2778521
BLAKE2b-256 checksum
How to use checksums
f1ae2841f35cead373f49be34a0d6d353987d579725bf4934f4cda6c631f564b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Sep 30, 2026.

Transparency log

Release files / runinfra_cli-0.5.0-py3-none-manylinux_2_25_aarch64.whl

Download URL runinfra_cli-0.5.0-py3-none-manylinux_2_25_aarch64.whl
Size 38.1 MB
Tags Linux glibc 2.25+ ARM64 Python 3
SHA-256 checksum
How to use checksums
3e5d9f639d85117e8da6a79442ebe67ad2e9600f0b8a986fcc041bbe207caa9c
BLAKE2b-256 checksum
How to use checksums
ae57b8510a81cb661a7d91eda5fe6a6d0951f59a013fea1e8dab665db1f65dc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Sep 30, 2026.

Transparency log

Release files / runinfra_cli-0.5.0-py3-none-macosx_13_0_x86_64.whl

Download URL runinfra_cli-0.5.0-py3-none-macosx_13_0_x86_64.whl
Size 24.9 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
c19290d3e819a49869df753c9de5e2ceded2a99251bdf9ad41e8ccd73aa8d5dc
BLAKE2b-256 checksum
How to use checksums
337544f16813b9ccd4017842d9a4f8045e93490ea348260a9e0fe5391b4bd7f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Sep 30, 2026.

Transparency log

Release files / runinfra_cli-0.5.0-py3-none-macosx_13_0_arm64.whl

Download URL runinfra_cli-0.5.0-py3-none-macosx_13_0_arm64.whl
Size 22.4 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
35c6e31a4ebe10e882904bfddc32feb437057988538e2bbed1f5a87dc9118af6
BLAKE2b-256 checksum
How to use checksums
6d8b23eab8cb70d279fffe39d298776406f1082589cedf75e19e4c7fa45adb8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Sep 30, 2026.

Transparency log

Security for runinfra-cli 0.5.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

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

Select from 7 files

Attestation for runinfra_cli-0.5.0-py3-none-win_amd64.whl

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 Sep 30, 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