This release is a pre-release and may not be stable for production use.
Kitaru LangGraph adapter
Record and replay LangGraph agent runs with Kitaru.
Install
uv add kitaru-langgraph
Install kitaru-langgraph[deepagents] to also record agents built with deepagents.create_deep_agent through KitaruGraphRunner.from_agent_factory. The langchain.agents.create_agent factory and direct graph wrapping work without the extra.
Model providers
This distribution does not install any model-provider packages. Model strings passed to init_chat_model, such as "openai:gpt-5-nano", require the matching LangChain provider package (for example langchain-openai) in the agent environment. Install the provider package for each model your agent uses.
Use
import uuid
from langchain.agents import create_agent
from kitaru_langgraph import KitaruGraphRunner
runner = KitaruGraphRunner.from_agent_factory(
create_agent,
factory_kwargs={"model": "openai:gpt-5-nano", "tools": []},
agent_id=uuid.UUID("018f0000-0000-7000-8000-000000000100"),
)
result = runner.invoke({"messages": [{"role": "user", "content": "Hello"}]})
print(result)
Wrap an existing compiled graph directly with KitaruGraphRunner(graph) when you build the graph yourself. The runner accepts the same invocation arguments as the wrapped runnable. Kitaru workers provide task, replay, and authentication context through the standard task environment.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kitaru_langgraph-0.1.0rc0.tar.gz.
File metadata
- Download URL: kitaru_langgraph-0.1.0rc0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
158e41ad94735c90af904026ac946be231b13453b8e11e61a136a1b0d937bd92
|
|
| MD5 |
748ee42470ea76aeec1e38f6406f2f0b
|
|
| BLAKE2b-256 |
aa995f45770b0483eb7bf860ebffe3ba3e66ed1e3994936fff4c42a2a7513454
|
Provenance
The following attestation bundles were made for kitaru_langgraph-0.1.0rc0.tar.gz:
Publisher:
release-plugins.yml on zenml-io/kitaru
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kitaru_langgraph-0.1.0rc0.tar.gz -
Subject digest:
158e41ad94735c90af904026ac946be231b13453b8e11e61a136a1b0d937bd92 - Sigstore transparency entry: 2463332831
- Sigstore integration time:
-
Permalink:
zenml-io/kitaru@236023d7433b0d175827b6115590a670f2a32ade -
Branch / Tag:
refs/tags/python/kitaru-langgraph/v0.1.0rc0 - Owner: https://github.com/zenml-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-plugins.yml@236023d7433b0d175827b6115590a670f2a32ade -
Trigger Event:
push
-
Statement type:
File details
Details for the file kitaru_langgraph-0.1.0rc0-py3-none-any.whl.
File metadata
- Download URL: kitaru_langgraph-0.1.0rc0-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec1ce58a2a68dfffa861148a1785eecb1de2adab3df8be7f9ce8dce9b577c6d6
|
|
| MD5 |
89f8238fc75e95f394878d43413bc2b2
|
|
| BLAKE2b-256 |
9dbce0ad090bb779110118f885449696cd6a721599785448cf427e3282fac56d
|
Provenance
The following attestation bundles were made for kitaru_langgraph-0.1.0rc0-py3-none-any.whl:
Publisher:
release-plugins.yml on zenml-io/kitaru
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kitaru_langgraph-0.1.0rc0-py3-none-any.whl -
Subject digest:
ec1ce58a2a68dfffa861148a1785eecb1de2adab3df8be7f9ce8dce9b577c6d6 - Sigstore transparency entry: 2463332861
- Sigstore integration time:
-
Permalink:
zenml-io/kitaru@236023d7433b0d175827b6115590a670f2a32ade -
Branch / Tag:
refs/tags/python/kitaru-langgraph/v0.1.0rc0 - Owner: https://github.com/zenml-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-plugins.yml@236023d7433b0d175827b6115590a670f2a32ade -
Trigger Event:
push
-
Statement type: