This release is a pre-release and may not be stable for production use.
Traces you can run, not just read.
Kitaru (来る, "to arrive") is replay-based evals for AI agents. It turns your agent's production traces into a regression suite: record or import every run, replay it against your next change, and see what improved and what broke before you ship. Open source, self-hosted, Python and TypeScript. From the team behind ZenML.
Docs · Get Started · Roadmap · Community
🎯 Why
Your agent has already been tested thousands of times, in production. Every one of those runs is sitting in a trace store as a transcript you can read but not run. So you change a prompt, swap a model, refactor a tool, and find out whether it broke from an angry user.
Kitaru makes those traces runnable:
- Every run is a recording. Wrap your agent once, or import the traces you already collect from Langfuse, LangSmith, Braintrust, or Logfire. Your trace store stays your system of record.
- Replay is re-execution. Your real code runs again, tool calls answered from the recording, so no card gets refunded twice. Unchanged, the replay reproduces the original; forked, the diff you see is your change.
- Improvement is measured, not vibed. Your coding assistant interviews you over the sessions that matter, your judgments calibrate evaluators, and experiments replay a frozen cohort against your change: what improved, what regressed, before it ships. The cohort that caught a failure becomes the regression gate that keeps it caught.
⚡ Get started
1. Install and log in. The local server (FastAPI + Postgres) provisions itself in Docker:
uv add "kitaru[cli,worker,mcp]" kitaru-pydantic-ai # or: pip install
kitaru login --local # or: kitaru login <your-team-url>
2. Make your coding assistant Kitaru-capable. This is the intended way to drive it: skills teach it the method, the MCP server gives it bounded operations.
npx skills add zenml-io/kitaru-skills
{
"mcpServers": {
"kitaru": {
"command": "uv",
"args": ["run", "kitaru-mcp", "--server", "http://localhost:8000", "--mode", "standard"]
}
}
}
3. Get an agent with traces. The fastest way to feel the loop is the template: a ready PydanticAI agent with checked-in Langfuse traces to investigate.
git clone https://github.com/zenml-io/kitaru-template
cd kitaru-template # its README has the setup and import commands
Already have an agent in production? Import its traces from Langfuse, LangSmith, Braintrust, or Logfire, or record with an adapter: one wrapper, no rewrite.
4. Drive results. Open the repo (the template or your own agent) in Claude Code, Codex, or Cursor and ask:
Use kitaru-investigation to investigate this agent and help me test one meaningful improvement. Show me the recorded evidence before asking for a judgment, and ask before creating resources or starting paid replay.
The assistant sweeps the sessions with the built-in deterministic evaluators, interviews you over the ones that matter, drafts the evaluator, runs the experiment, and reports what improved and what regressed. You judge; it does the legwork. The tutorial walks the same loop on the template, step by step.
🔌 Languages and frameworks
Python and TypeScript SDKs, one server. Adapters:
| Framework | Language | Package |
|---|---|---|
| PydanticAI | Python | kitaru-pydantic-ai |
| LangGraph (also LangChain agents, Deep Agents) | Python | kitaru-langgraph |
| OpenAI Agents SDK | Python | kitaru-openai-agents |
| Mastra | TypeScript | @zenml-io/kitaru-mastra |
| Vercel AI SDK | TypeScript | @zenml-io/kitaru-vercel-ai |
Anything else still works: import your traces, write a one-page custom importer (an agent skill drafts it), or build a small adapter.
🔒 Self-hosted, by design
One server on your infrastructure (Docker image and Helm chart included), and no user code executes on it. Replays, imports, and evaluations run on workers in your environment: your virtualenv, your credentials, your network. Traces never have to leave your systems. Apache 2.0, no mandatory SaaS control plane.
📚 Learn more
| Resource | Description |
|---|---|
| Documentation | Concepts, guides, and the quickstart |
| Quickstart | From an agent in production to your first replay-backed decision |
| Set up your coding agent | Install the MCP server and the agent skills |
| Kitaru template | A ready agent and traces to try the method on |
| Import your traces | Langfuse, LangSmith, Braintrust, Logfire, or any format |
| Build a regression suite | Production traffic as your test suite, gated in CI |
| Deploy Kitaru | Self-host for your team |
🤝 Contributing
We welcome contributions! See CONTRIBUTING.md for development setup, code style, and how to submit changes. The default branch is develop; all PRs should target it.
💬 Community and support
- Slack community: ask questions, share ideas
- Report a bug: goes straight to GitHub issues
- support@kitaru.ai: when email is easier
Hit something broken? Any of the three reaches a human; an issue with a session ID attached gets fixed fastest.
📄 License
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-0.22.0rc10.tar.gz.
File metadata
- Download URL: kitaru-0.22.0rc10.tar.gz
- Upload date:
- Size: 4.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca8dd2a859b33877d8fc7a9771715cfe17ce219cc1db2de0f19b2b9504f36b9e
|
|
| MD5 |
a6b38c4357f68e8e9dcbdf4a387a4366
|
|
| BLAKE2b-256 |
ec3c228d3ab19dafeeb335f4377a721c2ac14f2b3ef04c64193484737e4b95ad
|
Provenance
The following attestation bundles were made for kitaru-0.22.0rc10.tar.gz:
Publisher:
release.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-0.22.0rc10.tar.gz -
Subject digest:
ca8dd2a859b33877d8fc7a9771715cfe17ce219cc1db2de0f19b2b9504f36b9e - Sigstore transparency entry: 2500748552
- Sigstore integration time:
-
Permalink:
zenml-io/kitaru@9ea560f4c027fb93d55f82b0018df0b5d9240134 -
Branch / Tag:
refs/tags/python/kitaru/v0.22.0rc10 - Owner: https://github.com/zenml-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9ea560f4c027fb93d55f82b0018df0b5d9240134 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kitaru-0.22.0rc10-py3-none-any.whl.
File metadata
- Download URL: kitaru-0.22.0rc10-py3-none-any.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
936db21799c445cb8d0ce877bbadec575164b547d72a8d0fb9482225c244dce3
|
|
| MD5 |
2b5222230e02836e78dccd50fdfddf88
|
|
| BLAKE2b-256 |
6094c12b2c0b0d9c93c0b1a81aee5b8f5e38de6fee649e0cf44508e09f78cedf
|
Provenance
The following attestation bundles were made for kitaru-0.22.0rc10-py3-none-any.whl:
Publisher:
release.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-0.22.0rc10-py3-none-any.whl -
Subject digest:
936db21799c445cb8d0ce877bbadec575164b547d72a8d0fb9482225c244dce3 - Sigstore transparency entry: 2500748566
- Sigstore integration time:
-
Permalink:
zenml-io/kitaru@9ea560f4c027fb93d55f82b0018df0b5d9240134 -
Branch / Tag:
refs/tags/python/kitaru/v0.22.0rc10 - Owner: https://github.com/zenml-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9ea560f4c027fb93d55f82b0018df0b5d9240134 -
Trigger Event:
push
-
Statement type: