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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b001754ed34225109d694e03085e370bf9200d90ae2437aa28da6412bc0585c
|
|
| MD5 |
a32cc8b4febfbd0e082c4c9db5d10303
|
|
| BLAKE2b-256 |
888383c48fad2921ec35977207f82895adbd13c86cd5cd0ed7b1c466cf6febbb
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_runtime_kit-0.1.0.tar.gz -
Subject digest:
2b001754ed34225109d694e03085e370bf9200d90ae2437aa28da6412bc0585c - Sigstore transparency entry: 1785005114
- Sigstore integration time:
-
Permalink:
ebarti/agent-runtime-kit@b15814d093ebfd4aaddced2104a3d62e88015e3d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ebarti
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b15814d093ebfd4aaddced2104a3d62e88015e3d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file agent_runtime_kit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agent_runtime_kit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8b8112ef1bf0d2b1050ebddf962bbd2cdfcd954ba28e06c8754926c33021be6
|
|
| MD5 |
feafaf17565122a504391fe6db1fc337
|
|
| BLAKE2b-256 |
163d87ec8288a1ab2f0d560ef00d10c7be0e88b4356db527d62912a3809e1f5f
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_runtime_kit-0.1.0-py3-none-any.whl -
Subject digest:
c8b8112ef1bf0d2b1050ebddf962bbd2cdfcd954ba28e06c8754926c33021be6 - Sigstore transparency entry: 1785005187
- Sigstore integration time:
-
Permalink:
ebarti/agent-runtime-kit@b15814d093ebfd4aaddced2104a3d62e88015e3d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ebarti
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b15814d093ebfd4aaddced2104a3d62e88015e3d -
Trigger Event:
workflow_dispatch
-
Statement type: