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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ark_agent_runtime-0.1.0a2-py3-none-win_amd64.whl (3.0 MB view details)

Uploaded Python 3Windows x86-64

ark_agent_runtime-0.1.0a2-py3-none-macosx_12_0_x86_64.whl (3.0 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

ark_agent_runtime-0.1.0a2-py3-none-macosx_12_0_arm64.whl (2.7 MB view details)

Uploaded Python 3macOS 12.0+ ARM64

File details

Details for the file ark_agent_runtime-0.1.0a2-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for ark_agent_runtime-0.1.0a2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3273d192db97c991d7c84eec030b7a34739e235122d3d9aeeece72183166b76f
MD5 ae9d8a71383a82896a2b1b226b57f2ee
BLAKE2b-256 a6f47f17b8d896213910e485acdd7d6458bcfb53cdba960d2e5927e55e349098

See more details on using hashes here.

File details

Details for the file ark_agent_runtime-0.1.0a2-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ark_agent_runtime-0.1.0a2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 463b96f3834e75687365bb206c7adb86311e2a7470056c0cda6d0e6d99a5a936
MD5 1565d27509f933cfae5497936fdaaddc
BLAKE2b-256 b6f4e420c91efb561de18c37249990b8d16afd2c7cd317a1fe119036d1ee9b38

See more details on using hashes here.

File details

Details for the file ark_agent_runtime-0.1.0a2-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ark_agent_runtime-0.1.0a2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 22fe73be2063a3f7772ab7f3c0c23c187d5fb1a12f4766e11eb5dacf2760a164
MD5 8fedf2ace72db2eff830e44047a45e3d
BLAKE2b-256 9db042f3ee9b5a77c8afdd61d276e13724bb7c63da2396364eac1f40cd79f0d6

See more details on using hashes here.

File details

Details for the file ark_agent_runtime-0.1.0a2-py3-none-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for ark_agent_runtime-0.1.0a2-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 1d7394ae93fe431ba129a2b0e16a7a8d93a711b6e37de7dcd0e7ee10d82f86af
MD5 528159e49d870066e77617e68576391c
BLAKE2b-256 6e1efa7392703f1ec9bf77e62b0322c6f9defdaac49ab1d85b1bde7f44e2bbb6

See more details on using hashes here.

File details

Details for the file ark_agent_runtime-0.1.0a2-py3-none-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for ark_agent_runtime-0.1.0a2-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 012704dcfe4f749a8b0d5707087abc67a5bf2027e540a0a12c2e9ff5e4fb49b2
MD5 3e296c54e1e677eb55c6676b65af0414
BLAKE2b-256 c4f37007c89d2ac1153b07ab50576bc643e41b7bd676d739dd2cbadf388371b9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0a2 This release

5 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