Skip to main content

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

kitaru_langgraph-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kitaru_langgraph-0.1.0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file kitaru_langgraph-0.1.0.tar.gz.

File metadata

  • Download URL: kitaru_langgraph-0.1.0.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

Hashes for kitaru_langgraph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9cabc78088b829c2b25ca07d20a02237acc02fba0253eb4b53d284e634571a3e
MD5 aebfd73e0483bcefc49fbf4d61a60591
BLAKE2b-256 3004cb9924c11fa860600351ef0b8de713ca5a3f039a9cfd9de62a0c2d7be37a

See more details on using hashes here.

Provenance

The following attestation bundles were made for kitaru_langgraph-0.1.0.tar.gz:

Publisher: release-plugins.yml on zenml-io/kitaru

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kitaru_langgraph-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kitaru_langgraph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae172c80053cc638904009a2b773f5425f196dc0adc1bfe7b8f2100a14313b15
MD5 80b91d00dcf1700c8d48588e9692b4ea
BLAKE2b-256 dfcd0e48bbb1f860775bae386e4d3612c8f2aa62843c504f4634688234a16143

See more details on using hashes here.

Provenance

The following attestation bundles were made for kitaru_langgraph-0.1.0-py3-none-any.whl:

Publisher: release-plugins.yml on zenml-io/kitaru

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page