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.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.4.0
File Size Uploaded
kitaru_openai_agents-0.4.0.tar.gz 19.9 kB Details

Built distribution (wheel)

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

Total release size: 40.9 kB

Release files / kitaru_openai_agents-0.4.0.tar.gz

Download URL kitaru_openai_agents-0.4.0.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
48082e780dc67b5c4619bc10f54a97bb06831501d17b779dea9d17ef785381fa
BLAKE2b-256 checksum
How to use checksums
20cdfd48048f4c04a6029fb46c0229845e13a41cef09c1e8c88ff6e32f2541bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 8, 2026.

Transparency log

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

Download URL kitaru_openai_agents-0.4.0-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7260edede80b719bd7a43b7239412a0dde1b1e41e54bdd1046939fe6bb35903
BLAKE2b-256 checksum
How to use checksums
e59977554b0209d0f5eff45ce9a24a2847222232e7f3ce3fe19bbe2f99e612bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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