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

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.1
File Actions
runinfra_cli-0.5.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for runinfra_cli-0.5.1-py3-none-win_amd64.whl
runinfra_cli-0.5.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for runinfra_cli-0.5.1-py3-none-musllinux_1_2_x86_64.whl
runinfra_cli-0.5.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for runinfra_cli-0.5.1-py3-none-musllinux_1_2_aarch64.whl
runinfra_cli-0.5.1-py3-none-manylinux_2_25_x86_64.whl Python 3 none Linux glibc 2.25+ x86-64 Details for runinfra_cli-0.5.1-py3-none-manylinux_2_25_x86_64.whl
runinfra_cli-0.5.1-py3-none-manylinux_2_25_aarch64.whl Python 3 none Linux glibc 2.25+ ARM64 Details for runinfra_cli-0.5.1-py3-none-manylinux_2_25_aarch64.whl
runinfra_cli-0.5.1-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for runinfra_cli-0.5.1-py3-none-macosx_13_0_x86_64.whl
runinfra_cli-0.5.1-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for runinfra_cli-0.5.1-py3-none-macosx_13_0_arm64.whl

Total release size: 240.0 MB

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

Download URL runinfra_cli-0.5.1-py3-none-win_amd64.whl
Size 41.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
d6a7b6c4ad49e2ec1d394b24bc73fdd8a0736f1d0255d245966236e8f4286dcf
BLAKE2b-256 checksum
How to use checksums
af74b0db71829b49130f70cb3e605a315e21a1ad67cd7c9148e1775b392f742b
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 Oct 1, 2026.

Transparency log

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

Download URL runinfra_cli-0.5.1-py3-none-musllinux_1_2_x86_64.whl
Size 37.4 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
7b5a7b7f48b2fb4b8d241f5349ccceaf7cb1346681e01ba00a20a4e1cab9284f
BLAKE2b-256 checksum
How to use checksums
a1caaf411b7d66b30eb22557b6bda2f21a48220f4dfae094119e98a8c44d0218
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 Oct 1, 2026.

Transparency log

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

Download URL runinfra_cli-0.5.1-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
927905d2fdff4d516543d628196249102b105c50e178c39233613d58836b3f15
BLAKE2b-256 checksum
How to use checksums
6be89fc7b89be6d94d030043328751116e8298bc0cafe6a6ae06dd996f897073
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 Oct 1, 2026.

Transparency log

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

Download URL runinfra_cli-0.5.1-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
b97f4b962334a31968b2918a158ce00387b4285ca92856f0a60535f8156dbb72
BLAKE2b-256 checksum
How to use checksums
7ab853744c5ca1717d043591e5215b1d5ea69ea85f61e634a8e139da1d8a0a5e
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 Oct 1, 2026.

Transparency log

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

Download URL runinfra_cli-0.5.1-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
655cfd18964861763c0f54e7c36ea134727423a29988ebb88492101156df336a
BLAKE2b-256 checksum
How to use checksums
52c9a4ea6e09314930a0f30ce8543177946d412109838647446d6fbccf8d89d3
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 Oct 1, 2026.

Transparency log

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

Download URL runinfra_cli-0.5.1-py3-none-macosx_13_0_x86_64.whl
Size 25.0 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
5991ce7a080b7328151181f925fc7944865eda5292f4c011bf608e3a6d0789db
BLAKE2b-256 checksum
How to use checksums
837f964e08ec91c6320502d97defdaee4ccb08f5f7a9fd70122a0f78072cf4e8
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 Oct 1, 2026.

Transparency log

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

Download URL runinfra_cli-0.5.1-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
dc22afe3d952383a181b4f59f1381d4c3121c438007f6cfbe4cc0444c6066eb0
BLAKE2b-256 checksum
How to use checksums
4263001646b16726c866dc3b3cbba663cb230f768df51af91037f6ab21a87aa7
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 Oct 1, 2026.

Transparency log

Security for runinfra-cli 0.5.1

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.1-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 Oct 1, 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