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

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

Total release size: 240.1 MB

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

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

Download URL runinfra_cli-0.5.3-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
cf6b322bf991d0e2f6df29a969f6b5d461db70cd0972360584c33eb8876ea5a8
BLAKE2b-256 checksum
How to use checksums
eebcf89d47d51a523352106c97ca5be68ea78053153b9b069942d5cb9be4c26e
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.3-py3-none-musllinux_1_2_aarch64.whl

Download URL runinfra_cli-0.5.3-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
c84408c87206260e762c233ee2a221fec3cdcda891f6691e6b054ed443d28f81
BLAKE2b-256 checksum
How to use checksums
ca454a8cfaa2e0af698031fd88b861c4f19d25fd2b280cf06202c465c087f07e
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.3-py3-none-manylinux_2_25_x86_64.whl

Download URL runinfra_cli-0.5.3-py3-none-manylinux_2_25_x86_64.whl
Size 39.8 MB
Tags Linux glibc 2.25+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a6cf311310d9d9ac83ca6aaa1db4affdbb9e4513fc555657e4881c3a1cd9c14a
BLAKE2b-256 checksum
How to use checksums
e0bfe3b07167bc6eb9bafdfd891125fa4e9d7d141dd4d3b81586c69fb60be703
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.3-py3-none-manylinux_2_25_aarch64.whl

Download URL runinfra_cli-0.5.3-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
14fd40fc0a4e9a824695746b3ea58abf48e23420183621439e42c3914ff34a12
BLAKE2b-256 checksum
How to use checksums
d2d66e45c26c6d0f6701f5fe8feb4b0f0f3b28ea3dfcbead2a6cbff02c5ca1fc
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.3-py3-none-macosx_13_0_x86_64.whl

Download URL runinfra_cli-0.5.3-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
2f4ec038b15e4e1e57167ca3ddccc6921d352663a17354cb67d1f0484e7d0627
BLAKE2b-256 checksum
How to use checksums
f75a17cf24ce4652ab7dbb3646e84cb3e88a86ea9ce71492544c97c4903bc3e8
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.3-py3-none-macosx_13_0_arm64.whl

Download URL runinfra_cli-0.5.3-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
6a2d2787dfea9166e94131489cc7d9028e9c405c2ed4394c56b2ba67fb2cb3ec
BLAKE2b-256 checksum
How to use checksums
a71fc6d89d1dac1d8bc179ea7aad83475f9f8f51a0a3c9ff649cdeabb796520c
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.3

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