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

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.1
File Size Uploaded Provenance Actions
kitaru_openai_agents-0.5.1.tar.gz 20.7 kB With provenance Details for kitaru_openai_agents-0.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 42.1 kB

Release files / kitaru_openai_agents-0.5.1.tar.gz

Download URL kitaru_openai_agents-0.5.1.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6ae11d796b3b21cbf314eb5cc65e6639b51ed794218dfe8f4f63819e85ec8614
BLAKE2b-256 checksum
How to use checksums
b68764d0a45214b2a7ef0eba4a971861394006d374ddef0c2b32a1f457694fc1
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 30, 2026.

Transparency log

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

Download URL kitaru_openai_agents-0.5.1-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c27933e37488879f8778866fc48c082e3aedb894c0ce1ae31a291d5ffaa8379e
BLAKE2b-256 checksum
How to use checksums
5008d17603dae7c977ab33156cf07b5ccd627bee16413185bdcbbc4338f68110
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 30, 2026.

Transparency log

Security for kitaru-openai-agents 0.5.1

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.1.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 30, 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