Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ARK Runtime SDK (ark-agent-runtime)

Attach ARK's decision telemetry, cost attribution, and (experimental) constrained supervision around your existing agent — you keep your model, your tools, and your runtime.

pip install ark-agent-runtime
from ark import ARK

# run a task through the ARK runtime and get the canonical RunResult
result = ARK().run(task="find the top Python web frameworks on GitHub")
print(result.success, result.total_cost, [d.model for d in result.decisions])

The wheel bundles the ARK runtime bridge for your platform — no Go toolchain, no build step, no ARK_BRIDGE_BIN. import ark needs no other dependencies.

Attach ARK around your own agent

import ark

with ark.trace("book the 2nd-cheapest flight") as run:
    # ... your agent loop; you own the model and tools ...
    run.record(action="tool_call", model="gpt-4o", tool="search",
               input_tokens=449, output_tokens=16, outcome="success")
result = run.result          # canonical RunResult (same schema as ARK.run)

Experimental constrained supervision is off by default and opt-in:

ark.ARK(supervision="experimental")

LangGraph integration (optional)

pip install "ark-agent-runtime[langgraph]"
from ark.integrations.langgraph import ArkCallbackHandler, ark_supervise_tool, build_agent

Without the extra, import ark still works; importing the integration prints a clear install message.

What you get

  • Canonical RunResult / DecisionRecord telemetry (decision-level).
  • Decision-level cost attribution (routing-aware, deterministic model pricing).
  • Routing, tool activity, verification (where available), and errors.
  • Experimental constrained supervision (ALLOW / REJECT / REQUIRE_EVIDENCE / RECOVERY_EXHAUSTED).

The SDK does not reimplement ARK; it is a thin client over the bundled ARK runtime and makes no unproven claims.

Metadata

Release files for ark-agent-runtime 0.1.0rc2

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 ark-agent-runtime 0.1.0rc2
File Actions
ark_agent_runtime-0.1.0rc2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for ark_agent_runtime-0.1.0rc2-py3-none-win_amd64.whl
ark_agent_runtime-0.1.0rc2-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for ark_agent_runtime-0.1.0rc2-py3-none-manylinux2014_x86_64.whl
ark_agent_runtime-0.1.0rc2-py3-none-manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for ark_agent_runtime-0.1.0rc2-py3-none-manylinux2014_aarch64.whl
ark_agent_runtime-0.1.0rc2-py3-none-macosx_12_0_x86_64.whl Python 3 none macOS 12.0+ x86-64 Details for ark_agent_runtime-0.1.0rc2-py3-none-macosx_12_0_x86_64.whl
ark_agent_runtime-0.1.0rc2-py3-none-macosx_12_0_arm64.whl Python 3 none macOS 12.0+ ARM64 Details for ark_agent_runtime-0.1.0rc2-py3-none-macosx_12_0_arm64.whl

Total release size: 14.5 MB

Release files / ark_agent_runtime-0.1.0rc2-py3-none-win_amd64.whl

Download URL ark_agent_runtime-0.1.0rc2-py3-none-win_amd64.whl
Size 3.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b1c492206a99c405a6592104902b97faea7cc25a284ebc0c0a48dee6ac674ba0
BLAKE2b-256 checksum
How to use checksums
6445f880ea4216fb0b01df69706c507983380ec6addf18be5cff2306712c5574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / ark_agent_runtime-0.1.0rc2-py3-none-manylinux2014_x86_64.whl

Download URL ark_agent_runtime-0.1.0rc2-py3-none-manylinux2014_x86_64.whl
Size 3.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4caed72f02cba2b9b8fb951fd2b68ec55d7c95d1bfe797c08244478e77b0d72a
BLAKE2b-256 checksum
How to use checksums
2bed3b56eba37785a9d52c49ea1e14fddfdccddf911d7eb5b23d85c7fb0c9238
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / ark_agent_runtime-0.1.0rc2-py3-none-manylinux2014_aarch64.whl

Download URL ark_agent_runtime-0.1.0rc2-py3-none-manylinux2014_aarch64.whl
Size 2.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
09d5b30b3a02a84f35ca30eda9184d6195faa5702923550994156ca9552ee0af
BLAKE2b-256 checksum
How to use checksums
f5294444aaba885d45ff833a52ca454597a384abf8841518b386c23136d8b6ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / ark_agent_runtime-0.1.0rc2-py3-none-macosx_12_0_x86_64.whl

Download URL ark_agent_runtime-0.1.0rc2-py3-none-macosx_12_0_x86_64.whl
Size 3.0 MB
Tags Python 3 macOS 12.0+ x86-64
SHA-256 checksum
How to use checksums
80d0e63dbd4388a684022de8e253f1c4ced34b233d0014bdd5b67ef9cd483159
BLAKE2b-256 checksum
How to use checksums
b77ada3d0e98291c6da549f8a23b6e53d31ea4f159bf5b929a926f98ed09011c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / ark_agent_runtime-0.1.0rc2-py3-none-macosx_12_0_arm64.whl

Download URL ark_agent_runtime-0.1.0rc2-py3-none-macosx_12_0_arm64.whl
Size 2.8 MB
Tags Python 3 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
fe7773f5f2197660c486489ac9bfe9a297049a8d231860d82e7b2b2b368b4520
BLAKE2b-256 checksum
How to use checksums
efa9e74f426273f178a2fb80ec71124c20e9bfcccec59f6098d244cae48d9c66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for ark-agent-runtime 0.1.0rc2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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