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

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

Total release size: 240.0 MB

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

Download URL runinfra_cli-0.5.2-py3-none-win_amd64.whl
Size 41.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
fca51e03f8074736b2b9e25971a9ce08a6edc5f7a3c10c1f4a50c318e3e60e72
BLAKE2b-256 checksum
How to use checksums
e21d7727a793063dc8277be449eefdfb5cdae5ac87a696b4614a865e72c51bee
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.2-py3-none-musllinux_1_2_x86_64.whl

Download URL runinfra_cli-0.5.2-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
20a56aac805a809a8e29c9f24850d609edcc409d6c23cd9dd7b1e58a6e39240b
BLAKE2b-256 checksum
How to use checksums
cf769c4517aca068b8a8b65220d1e1a0b53853b44eb8f5b90ec6cb0ff85dca9b
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.2-py3-none-musllinux_1_2_aarch64.whl

Download URL runinfra_cli-0.5.2-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
9a93174a1853888b8488acf65d8cba7bfa1a917602e2dfefdcc2b3b687574569
BLAKE2b-256 checksum
How to use checksums
e8bbcbe7afe25fccee71b4b49ab491b7e4e49fbe9e1577f856eda7c4b28e2806
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.2-py3-none-manylinux_2_25_x86_64.whl

Download URL runinfra_cli-0.5.2-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
84bb59a1f7f815cf51b5350888b1893763e89ef67e713cfe786a9fcf64269bd7
BLAKE2b-256 checksum
How to use checksums
df2c7af18f1048884d72f50b76143fb55c9e2547243b648564c725e31e6e825e
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.2-py3-none-manylinux_2_25_aarch64.whl

Download URL runinfra_cli-0.5.2-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
ced395f55aff4c1bff5053acebcce8013dd6f1b45b2a32ea299e75bd1374002b
BLAKE2b-256 checksum
How to use checksums
9b06d32db4c9ea058adcdd3faef122027dd37751be2e06129e1b0e628176cffd
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.2-py3-none-macosx_13_0_x86_64.whl

Download URL runinfra_cli-0.5.2-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
520a6b285da56590601393ee9c8632ca8b258c906ad3bdd4fb68fb1880d70041
BLAKE2b-256 checksum
How to use checksums
3214a49ad22eaffb78408177a29027c3dd0f005d2195d6706c98b1faa04aa0f5
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.2-py3-none-macosx_13_0_arm64.whl

Download URL runinfra_cli-0.5.2-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
1eda36985ef470900d7c8fe780f92e5fe6ca5126acdfc0eb755d55d6bc8bb9c0
BLAKE2b-256 checksum
How to use checksums
8b7b8cf4c5fedd0912a9ec10fb24966761608af3cf2edac772eb49d737d69f36
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.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 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for runinfra_cli-0.5.2-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