Kitaru Arize Phoenix importer
Import Arize Phoenix JSON and JSONL trace exports as Kitaru sessions. This package backs the built-in kitaru/phoenix importer and runs on a Kitaru worker, so the export is parsed in your environment.
Most users do not install or call this package directly. Start a Kitaru worker, then select the built-in importer:
kitaru session import phoenix-traces.jsonl \
--importer kitaru/phoenix@latest \
--agent support-agent@latest \
--wait
The importer accepts Phoenix UI and CLI export shapes, preserves trace hierarchy and source evidence, and maps model and tool spans to Kitaru node types. Each Phoenix trace becomes one Kitaru session.
See Import your traces for the live import workflow. The provider-specific guide in the Kitaru repository documents accepted Phoenix formats, deduplication behavior, and fidelity limits.
Nested span paths support up to 64 levels, counting a root as level 1. Invalid costs, token counts, embedded JSON, and text that cannot serialize reject the affected trace; unrelated traces continue. Malformed indexed message keys are ignored while valid indexed messages remain available.
Adapter
Install the package with the adapter extra to use the adapter, which adds the provider SDK it needs:
uv add "kitaru-phoenix-importer[adapter]"
The package also ships an adapter that imports Arize Phoenix traces of wrapped agent runs. The adapter uses the OTel tracer provider Phoenix tracing already configured in your process, for example via phoenix.otel.register(), and the Kitaru connection from your environment.
The trace fetch goes through the Phoenix client, which reads PHOENIX_ENDPOINT (or PHOENIX_COLLECTOR_ENDPOINT), PHOENIX_API_KEY, and the project name from PHOENIX_PROJECT from your environment. Fetching by trace id requires a Phoenix server >= 13.9.0. Then wrap your agent entrypoint in a PhoenixAdapter and run it through the adapter.
from kitaru_phoenix_importer.adapter import PhoenixAdapter
adapter = PhoenixAdapter()
result = adapter.run(my_agent, "Hello")
The adapter runs the function inside an OTel trace, waits for Phoenix to finish ingesting the trace, fetches it, and imports it as one Kitaru session. Use run_async for async functions. When the trace does not complete within the completeness timeout, the adapter creates a failed session carrying the trace id.
Links
Licensed under Apache-2.0.
Metadata
Release files for kitaru-phoenix-importer 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kitaru_phoenix_importer-0.2.0.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kitaru_phoenix_importer-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.8 kB
Release files / kitaru_phoenix_importer-0.2.0.tar.gz
| Download URL | kitaru_phoenix_importer-0.2.0.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e652c14bd9a98d80967434569e3cd87054820a852b0273dcd91911bba97c3d60
|
|
BLAKE2b-256 checksum How to use checksums |
27a0748a01512fc994c32dcdf4b6dd8e1574f58c6c275ca9fb9936216e738807
|
| 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 Sep 3, 2026.
Transparency logRelease files / kitaru_phoenix_importer-0.2.0-py3-none-any.whl
| Download URL | kitaru_phoenix_importer-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be168eb2e759706919e38efa1c2ca1ff0548015ed0366b02dcdc43d4c8efdc12
|
|
BLAKE2b-256 checksum How to use checksums |
1b20cd5d6552879a0d89fbd51c3a4876678d3d15cfc83c27de40d4449e69ecf7
|
| 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 Sep 3, 2026.
Transparency log