Skip to main content

Kitaru OpenAI Agents adapter

Record OpenAI Agents SDK runs with Kitaru. The adapter is non-streaming: it preserves the native RunResult while recording each run as a Kitaru session with root and observed activity nodes.

Install

uv add kitaru-openai-agents

Use

import uuid

from agents import Agent

from kitaru_openai_agents import KitaruRunner

agent = Agent(
    name="assistant",
    instructions="Answer in one concise sentence.",
    model="gpt-5-nano",
)
runner = KitaruRunner(
    agent_id=uuid.UUID("018f0000-0000-7000-8000-000000000100"),
    session_name="openai-agents-example",
)
result = runner.run_sync(agent, "Hello")
print(result.final_output)

KitaruRunner.run() and KitaruRunner.run_sync() accept the same run arguments as the OpenAI Agents SDK Runner. Kitaru workers provide task, replay, and authentication context through the standard task environment.

The adapter supports bounded replay of non-streaming runs. See the OpenAI Agents SDK adapter guide for supported overrides and tool policies, capture limits, approval and resume boundaries, and recording-failure behavior.

Licensed under Apache-2.0.

Metadata

Release files for kitaru-openai-agents 0.4.2

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

Source distribution (sdist)

Source distribution for kitaru-openai-agents 0.4.2
File Size Uploaded Provenance Actions
kitaru_openai_agents-0.4.2.tar.gz 20.4 kB With provenance Details for kitaru_openai_agents-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kitaru-openai-agents 0.4.2
File Interpreter ABI Platform Actions
kitaru_openai_agents-0.4.2-py3-none-any.whl Python 3 none any Details for kitaru_openai_agents-0.4.2-py3-none-any.whl

Total release size: 41.7 kB

Release files / kitaru_openai_agents-0.4.2.tar.gz

Download URL kitaru_openai_agents-0.4.2.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
53d2f1dae2124417595d8ab7059e9a1d8d4a3368f998b30606bf2451f9c9cfab
BLAKE2b-256 checksum
How to use checksums
297739cc6d148e5200e15a4fef25c07ca3c053e33cf941adb1b2f3bbde266278
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 2, 2026.

Transparency log

Release files / kitaru_openai_agents-0.4.2-py3-none-any.whl

Download URL kitaru_openai_agents-0.4.2-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a51de2a7e506cc1020ea90077660b6ab6a346c60df4e3bf34a660ed850426019
BLAKE2b-256 checksum
How to use checksums
d4c896e8ce89e1e0bb26e0a75c84c32255c2d2e8081752bcf470e9db5047fe44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 2, 2026.

Transparency log

Security for kitaru-openai-agents 0.4.2

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 kitaru_openai_agents-0.4.2.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 2, 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