Skip to main content

One typed runtime API for Claude, Codex, and Antigravity agent SDKs.

Project description

agent-runtime-kit

agent-runtime-kit is a small Python runtime layer for agent SDKs. It gives applications one typed async API for dispatching an agentic task through Claude Agent SDK, OpenAI Codex SDK, or Google Antigravity SDK while keeping provider capabilities visible.

The package is intentionally not a router, benchmark harness, queue, hosted service, or full agent framework. It is the reusable layer underneath those systems: task models, runtime capabilities, event sinks, availability diagnostics, and adapters.

Install

Core only:

pip install agent-runtime-kit

Provider extras:

pip install "agent-runtime-kit[claude]"
pip install "agent-runtime-kit[codex]"
pip install "agent-runtime-kit[antigravity]"
pip install "agent-runtime-kit[all]"
import asyncio

from agent_runtime_kit import AgentTask, FakeAgentRuntime


async def main() -> None:
    runtime = FakeAgentRuntime(output="done")
    result = await runtime.run(AgentTask(goal="Summarize this repository"))
    print(result.output)


asyncio.run(main())

The core package has no Claude, Codex, or Antigravity dependency. Vendor SDKs are added through optional extras.

Real Providers

import asyncio

from agent_runtime_kit import AgentTask
from agent_runtime_kit.adapters import ClaudeAgentRuntime


async def main() -> None:
    runtime = ClaudeAgentRuntime(default_model="claude-sonnet-4-6")
    diagnostic = runtime.availability()
    if not diagnostic.available:
        raise RuntimeError(diagnostic.message)
    result = await runtime.run(AgentTask(goal="Summarize this repository"))
    print(result.output)


asyncio.run(main())

Runtime Fields

AgentTask supports goal, system prompt, working directory, permission profile, MCP stdio servers, session/resume handles, output schema, budget, metadata, and an async event sink.

AgentResult returns output, finish reason, parsed structured output, usage, cost, session id, artifacts, tool-call audits, and provider metadata.

Docs

Project details


Download files

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

Source Distribution

agent_runtime_kit-0.1.0.tar.gz (157.0 kB view details)

Uploaded Source

Built Distribution

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

agent_runtime_kit-0.1.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file agent_runtime_kit-0.1.0.tar.gz.

File metadata

  • Download URL: agent_runtime_kit-0.1.0.tar.gz
  • Upload date:
  • Size: 157.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agent_runtime_kit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b001754ed34225109d694e03085e370bf9200d90ae2437aa28da6412bc0585c
MD5 a32cc8b4febfbd0e082c4c9db5d10303
BLAKE2b-256 888383c48fad2921ec35977207f82895adbd13c86cd5cd0ed7b1c466cf6febbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_runtime_kit-0.1.0.tar.gz:

Publisher: publish-pypi.yml on ebarti/agent-runtime-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agent_runtime_kit-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_runtime_kit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8b8112ef1bf0d2b1050ebddf962bbd2cdfcd954ba28e06c8754926c33021be6
MD5 feafaf17565122a504391fe6db1fc337
BLAKE2b-256 163d87ec8288a1ab2f0d560ef00d10c7be0e88b4356db527d62912a3809e1f5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_runtime_kit-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on ebarti/agent-runtime-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page