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.

Replay support depends on how the graph was constructed. See the LangGraph adapter guide and capability matrix for supported invocation methods, overrides, tool policies, interrupts, and failure behavior.

Links

Licensed under Apache-2.0.

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.1.tar.gz (22.8 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.1-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kitaru_langgraph-0.1.1.tar.gz
  • Upload date:
  • Size: 22.8 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.1.tar.gz
Algorithm Hash digest
SHA256 fe219808d0e8abc618f1f1ce5d3511567aa601e3da6008f9b1fadfd02c6e4a27
MD5 cb0059baf609b147419346caed2ae71f
BLAKE2b-256 6aa6f5334769e9d1c39b8db16298aa4f7fc39ffeac5003cb3a0a4a3250cba341

See more details on using hashes here.

Provenance

The following attestation bundles were made for kitaru_langgraph-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kitaru_langgraph-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b08fbd31bf96d978b17367d1ff76f9110bee5643104a04bb767f64c2b0f7bbf1
MD5 286b5424efef8ccde5cf84fa275d8491
BLAKE2b-256 312ce571ededf04f76e2e9208525f797145c22b7952ff2f1d506ac60c6c07380

See more details on using hashes here.

Provenance

The following attestation bundles were made for kitaru_langgraph-0.1.1-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

This release

0.1.1 This release

2 files

0.1.0

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