Skip to main content

runx-py

Python SDK for runx, the governed runtime for agent skills, tools, and graphs.

runx-py is a thin Python client over the runx CLI JSON output. Install the CLI separately (@runxhq/cli on npm), then use this package from Python to search and run skills, continue runs awaiting agent input, and format host protocol results for popular agent frameworks.

See the TypeScript interop boundary for the package disposition and ownership rules.

Install

pip install runx-py

You will also need the runx CLI on your PATH:

npm install -g @runxhq/cli

Usage

from runx import RunxClient

client = RunxClient()

# Search the registry
for result in client.search_skills("web search"):
    print(result.skill_id, result.version, result.install_command.copy_text)

# Run a skill: each input is passed as -i name=value and read by the type the
# runner declares.
report = client.run_skill("runx/web-search", inputs={"query": "receipt verification"})
print(report["status"])

continued = client.continue_run("runx/web-search", run_id="run_123", answers_file="answers.json")
print(continued["status"])

Framework adapters

Bridge runx into an existing agent framework (OpenAI, Anthropic, CrewAI, LangChain, Vercel AI):

from runx import create_host_bridge, create_openai_host_adapter

bridge = create_host_bridge(run=my_host_run, continue_run=my_host_continue)
adapter = create_openai_host_adapter(bridge)
response = adapter.run("runx/web-search")

The bridge translates host protocol results, including needs_agent runs and approval gates, into framework-native tool messages. RunxClient remains a CLI client; host protocol execution is provided by the embedding runtime.

Releasing

See RELEASING.md for the automated tag-driven publish flow.

License

Apache-2.0

Metadata

Release files for runx-py 0.1.2

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

Source distribution (sdist)

Source distribution for runx-py 0.1.2
File Size Uploaded
runx_py-0.1.2.tar.gz 14.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for runx-py 0.1.2
File Interpreter ABI Platform
runx_py-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 25.7 kB

Release files / runx_py-0.1.2.tar.gz

Download URL runx_py-0.1.2.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7f851a002e90aafe3de260afcd1f52d93f1cd6a34314798ffc9f7b5137e16998
BLAKE2b-256 checksum
How to use checksums
a1cbc618dbbe40481c70bcd38da4e828060e4ddc19e9dc7c1c69c72633b0f24f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 18, 2026.

Transparency log

Release files / runx_py-0.1.2-py3-none-any.whl

Download URL runx_py-0.1.2-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eeaeb1af91d7fcfa275b0d78ab21f4605cb72ef655b29a162271d00257a4e061
BLAKE2b-256 checksum
How to use checksums
e34827283cc49d864786ae0547346aa2dce8157b1f781c3792ccc997ace15b73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

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