Skip to main content

agent-runtime-kit

agent-runtime-kit gives Python 3.10+ applications one typed, async API for running coding-agent tasks with Claude Agent SDK, OpenAI Codex SDK, or Google Antigravity SDK. It exposes capability checks, events, diagnostics, and results while keeping each provider's permissions and supported inputs explicit.

Install and try it offline

The core install has no vendor SDK or credential requirement:

python -m pip install agent-runtime-kit
import asyncio

from agent_runtime_kit import AgentKit, FakeAgentRuntime


async def main() -> None:
    async with AgentKit() as kit:
        result = await kit.run(
            FakeAgentRuntime(output="offline example complete"),
            goal="Demonstrate a task result",
        )
        if not result.is_success:
            raise RuntimeError(result.error or result.finish_reason)
        print(result.output)


asyncio.run(main())

This prints offline example complete. The fake runtime returns a deterministic result; it does not inspect the repository or contact a provider. Run the file version with python -m examples.basic_offline from a source checkout.

Run a real provider

Install only the provider you use, then configure its supported authentication:

python -m pip install "agent-runtime-kit[claude]"      # Claude Agent SDK
python -m pip install "agent-runtime-kit[codex]"       # OpenAI Codex SDK
python -m pip install "agent-runtime-kit[antigravity]" # Google Antigravity SDK

agent-runtime-kit[all] installs all three. A real task may use a paid provider and may invoke tools. After setting up the chosen provider, run one explicitly from a source checkout:

python -m examples.provider_task claude

Choose codex or antigravity instead to use that runtime. The example checks package availability, probes setup, requests read-only filesystem access, and checks result.is_success. Readiness only indicates whether a task is worth attempting; it cannot guarantee the provider will accept the request.

The adapters share AgentTask and AgentResult, but inputs are not silently discarded. For example, Claude supports per-task MCP servers and a cost budget; Codex does not expose either per task; Antigravity supports MCP servers without per-server environment values. Unsupported inputs raise typed errors. The provider's native model selection is used unless you set a model explicitly.

Guides

The package is a runtime layer, not a router, queue, hosted service, or full agent framework. Applications choose when and where to run a task.

Metadata

Release files for agent-runtime-kit 0.5.7

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

Source distribution (sdist)

Source distribution for agent-runtime-kit 0.5.7
File Size Uploaded Provenance Actions
agent_runtime_kit-0.5.7.tar.gz 249.6 kB With provenance Details for agent_runtime_kit-0.5.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent-runtime-kit 0.5.7
File Interpreter ABI Platform Actions
agent_runtime_kit-0.5.7-py3-none-any.whl Python 3 none any Details for agent_runtime_kit-0.5.7-py3-none-any.whl

Total release size: 330.7 kB

Release files / agent_runtime_kit-0.5.7.tar.gz

Download URL agent_runtime_kit-0.5.7.tar.gz
Size 249.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ab2b5194e8755b1c7ce4e775a3971c4c2f667b085badf8fbf3f41741da3fa8e1
BLAKE2b-256 checksum
How to use checksums
ce9af13d6409b8a08969d82074e0bf3589552874f5f745b60ae43e6356623345
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 Nov 20, 2026.

Transparency log

Release files / agent_runtime_kit-0.5.7-py3-none-any.whl

Download URL agent_runtime_kit-0.5.7-py3-none-any.whl
Size 81.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55c8f169d00ef0dfadda268ae74e750b4ce11bfd2e335cde545c94d6ab106b54
BLAKE2b-256 checksum
How to use checksums
aa241b976a965c5879e7413310db3a9a8c8ed1b66444b3e0d83ab8e49540f003
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 Nov 20, 2026.

Transparency log

Security for agent-runtime-kit 0.5.7

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agent_runtime_kit-0.5.7.tar.gz

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 Nov 20, 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