MenuOverview

Your agent passes every test you thought to write. Then a real customer shows up, changes their mind halfway through, leaves out the one detail that matters, and it falls over.

Zhanla finds those failures first. It runs in your terminal next to your code, sends simulated users at your agent, points to the exact turn where it went wrong, and proposes the fix as a draft pull request.

A simulated customer catches a demo support agent sharing booking details too early.
A simulated customer catches a demo support agent sharing booking details too early.

It works with single-turn and conversational agents, in Python or TypeScript.

The path from an agent to a fix

One agent, start to finish

Pedalwise is a made-up support bot for a bike-rental shop. It looks up a booking, says which bikes are free, and cancels a booking. Everything below comes from real Zhanla runs on it.

A rubric. From the code and your answers, Zhanla drafted 11 rubric items, from privacy to cancellation rules.

Pedalwise's rubric categories on the agent's steps.
Pedalwise's rubric categories on the agent's steps.

A run. Zhanla ran 24 dataset items locally. In the conversation above, an impatient customer gets a date and fee before the agent knows who they are.

A report. It groups failures into patterns, finds their root causes in the system prompt, and suggests a change.

The report for that run.
The report for that run.

The failing step. The judge cites the turn, and the trajectory shows the calls around it.

The ten steps of the failed conversation.
The ten steps of the failed conversation.

A measured fix. Zhanla rewrote the system prompt in a separate copy of the code and reran every dataset item. The score went from 22 to 24 of 24, and nothing regressed. Your results will vary.

The change to the system prompt.
The change to the system prompt.
What moved against the baseline.
What moved against the baseline.

You choose whether to open it as a draft PR.

In your terminal

Start Zhanla in your agent's checkout, then chat or use slash commands.

Zhanla on the Pedalwise repository.
Zhanla on the Pedalwise repository.

Common questions

How does Zhanla learn my agent?

Zhanla starts from your code: it reads the prompts, tools and flow, then runs the agent and records a few real requests. Next, it asks you a few questions about your users, each with an answer already drafted from what it read. Your answers become the rubric every reply is judged against.

Does my code leave my machine?

Some of it does. Agent files, prompts and test conversations go through Zhanla's proxy to model providers. Your rubrics, evals, datasets, traces and fix diffs are stored under your organization. For production traffic, here's exactly what is sent.

Will Zhanla change my code without asking?

No, never without your agreement. Even if you turn on yolo mode with Shift+Tab to approve edits in chat for you, the tracing card and the fix loop still ask first. A draft PR only opens when you ask for one.

Does it run my real agent?

Yes, on your machine and only after you agree. Its tools really get called, so point it at test credentials and test data.

Do I need a model API key?

Not for Zhanla. Its own model calls go through its hosted proxy, and Zhanla pays for them. Your agent still calls its model with your keys whenever Zhanla runs it. See which calls are whose.

Which languages and frameworks work?

Python and TypeScript. The SDK traces common model clients and agent frameworks on its own, and you can record anything else by hand.

Can it test agents that hold a conversation?

Yes. A simulated user follows a turn-by-turn plan for up to 20 turns, holding back details to see whether your agent asks for them.

Can my coding agent use it?

Yes, as long as it brings every approval back to you.

Is Zhanla open source?

The Python and TypeScript SDKs are, under Apache-2.0. The terminal is proprietary.

How do I get access?

Zhanla is invitation only for now. Request an invitation and we'll email you when a spot opens.

Where to start

Updated Nov 24, 2026. Checked against release candidate b60cdc94. For AI agents: llms.txt.