Kiln
Evaluation infrastructure · v4.2

Test every agent run before your users do.

Kiln replays your production traces against every new prompt, model and tool change, and blocks the deploy when answers get worse.

Run 400 · support-agent

Replayed against candidate-0412, compared with main

Blocked
Step0 s1.22.4 sΔ main
  • planllm+0.01
  • search_orderstool+0.22
  • lookup_policytool0.00
  • draft_replyllm−0.05
gradejudgeGate0.61
3 of 128 suites below gateOpen diff →
  1. 01Every tool call, captured from production by one line in your SDK.
  2. 02search_orders got 220 ms slower on the candidate.
  3. 03The judge scores 0.61, under the 0.85 gate: this deploy stops here.

Fig. 01  Run 400 of support-agent, replayed before deploy41.2M traces / day1.8 s median eval

How it works

From a trace to a verdict.

01

Capture

One line in your SDK records every production run: prompt, tool calls, answer and latency.

// agent.tsimport { kiln } from "@kiln/sdk";export default kiln.trace(agent);
Traces · support-agentRecording
14:02:11Where is my order #48213?6 steps · 1.4 s
14:02:09Can I return shoes after 30 days?9 steps · 2.1 s
14:02:04Change my delivery address4 steps · 0.9 s
14:01:58Refund was charged twice14 steps · 3.2 s
14:01:51Do you ship to Norway?3 steps · 0.7 s
Fig. 02a  Capture · the run as it happened

02

Replay

A new prompt, model or tool runs on the same traces as main, and a judge grades both answers.

Trace 8f2c · user

“My refund was charged twice, can you fix it?”

main · gpt-5.10.92

I found two charges of €48.00 on May 12. I refunded the duplicate; it will reach your card within 5 business days.

candidate-04120.61

I found two charges of €48.00 on May 12. I refunded the duplicate Please contact your bank to dispute the second charge.

JudgeThe candidate stopped calling issue_refund and sends the user to their bank.
Fig. 02b  Replay · same question, two answers

03

Gate

Set a threshold per metric. A regression fails the check in CI and the deploy waits.

CI · pull request #1284

kiln / eval — 1 of 4 checks below gate

Blocked
  • Accuracy87.3%
  • Refund flows61.0%
  • P50 latency1.62 s
  • Tool errors3 / 128
Fig. 02c  Gate · the check your deploy waits on
Trusted by340+ AI teams

We changed the model behind our support agent on a Tuesday. Kiln replayed the week before against it and stopped the deploy over eleven refund conversations we would never have read.

Inès MorelHead of AI platform, Northwind11 bad refunds caught4 min to first eval0 incidents since

What engineers ask first.

01Does replay call my real tools?
No. Tool responses are recorded with the trace and served back during replay, so a refund is never issued twice. You can mark a tool as live when you want it called.
02Where are traces stored?
In the region you pick (US or EU), encrypted with a key per project. Scale plans can keep them in their own bucket.
03Which judge model grades answers?
Yours. Bring any model and prompt; Kiln versions the judge with the suite so scores stay comparable.
04How long does an eval add to CI?
A suite of 400 traces finishes in about 40 seconds: traces run in parallel and stop at the first failed gate if you ask.

Pay for traces, not for seats you don’t use.

Every plan runs the full eval engine. Limits only apply to stored traces.

Hobby

$0

forever

Stored traces
10k / month
Eval suites
3
CI gating
—
Data region
US
Judge models
Shared
SSO and audit log
—
Support
Community
Team

$49

per seat / month

Stored traces
5M / month
Eval suites
Unlimited
CI gating
✓
Data region
US or EU
Judge models
Bring your own
SSO and audit log
SSO
Support
Email, 1 day
Scale

Custom

annual contract

Stored traces
Unlimited
Eval suites
Unlimited
CI gating
✓
Data region
Dedicated
Judge models
Bring your own
SSO and audit log
SSO, SCIM, audit
Support
Slack, 1 hour
Since January

12,904

regressions stopped before they reached a user, across 340 teams and 1.2 billion replayed agent steps.

Fig. 03 · regressions caught, by week
median eval
1.8 s
traces / day
41.2M
uptime, 90 days
99.98%

Your first eval runs in four minutes.

Start building
Terminal

$ npx kiln init

✓ found agent.ts, wrapped with kiln.trace

✓ 400 traces imported from last week

✓ suite support-agent created, gate 0.85

→ open https://app.kiln.dev/support-agent