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.5.0

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.5.0
File Size Uploaded Provenance Actions
kitaru_openai_agents-0.5.0.tar.gz 20.6 kB With provenance Details for kitaru_openai_agents-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 42.0 kB

Release files / kitaru_openai_agents-0.5.0.tar.gz

Download URL kitaru_openai_agents-0.5.0.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7af70747f5900c5dfdeb7aa72778efed6f9419bf4e4f4ed1703b15e91dba0545
BLAKE2b-256 checksum
How to use checksums
e3858b842655476673a39f083baebc43bbe1048870d0484ced9a3cb835463223
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 25, 2026.

Transparency log

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

Download URL kitaru_openai_agents-0.5.0-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81629d23a6a73e9bc0e2a916a71d1869f79c5f962b94c076acc617f5785bd53b
BLAKE2b-256 checksum
How to use checksums
f3ad928396de34c061620424dabc98085ff7f513f481875190c71587a4ac3e87
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 25, 2026.

Transparency log

Security for kitaru-openai-agents 0.5.0

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.5.0.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 25, 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