Know what your agents did, and whether the grade was right.
KnotKeep is a small engineering practice for teams running LLM agents where mistakes cost something. We make your traces trustworthy, test whether the judges that score them agree with your experts, and attack the agent before your customers do. Then we hand you the numbers.
Reading
Point at, tap or tab to a cord to read it. The first cord, set apart on the left, is the whole conversation: 8,594 ms, tied as 8 knots, 5 knots, 9 knots and a long knot of 4 turns.
The same record as a table
| Span | Start | Duration | Knots |
|---|---|---|---|
payerbench.chat | 0 ms | 8,594 ms | 8 single knots in the thousands, 5 single knots in the hundreds, 9 single knots in the tens, a long knot of 4 turns in the units |
invoke_agent payerbench | 0 ms | 8,593 ms | 8 single knots in the thousands, 5 single knots in the hundreds, 9 single knots in the tens, a long knot of 3 turns in the units |
model | 1 ms | 1,318 ms | 1 single knot in the thousands, 3 single knots in the hundreds, 1 single knot in the tens, a long knot of 8 turns in the units |
chat gemma-4-31b-it-8bit | 1 ms | 1,317 ms | 1 single knot in the thousands, 3 single knots in the hundreds, 1 single knot in the tens, a long knot of 7 turns in the units |
route | 1,318 ms | 0 ms | no knots (zero) |
tools | 1,319 ms | 23 ms | 2 single knots in the tens, a long knot of 3 turns in the units |
execute_tool list_claims | 1,319 ms | 23 ms | 2 single knots in the tens, a long knot of 3 turns in the units |
model | 1,343 ms | 1,324 ms | 1 single knot in the thousands, 3 single knots in the hundreds, 2 single knots in the tens, a long knot of 4 turns in the units |
chat gemma-4-31b-it-8bit | 1,343 ms | 1,323 ms | 1 single knot in the thousands, 3 single knots in the hundreds, 2 single knots in the tens, a long knot of 3 turns in the units |
route | 2,667 ms | 0 ms | no knots (zero) |
tools | 2,667 ms | 1 ms | a figure-eight knot in the units |
execute_tool get_claim | 2,667 ms | 1 ms | a figure-eight knot in the units |
model | 2,668 ms | 1,450 ms | 1 single knot in the thousands, 4 single knots in the hundreds, 5 single knots in the tens |
chat gemma-4-31b-it-8bit | 2,668 ms | 1,449 ms | 1 single knot in the thousands, 4 single knots in the hundreds, 4 single knots in the tens, a long knot of 9 turns in the units |
route | 4,117 ms | 0 ms | no knots (zero) |
tools | 4,118 ms | 1 ms | a figure-eight knot in the units |
execute_tool search_plan_document | 4,118 ms | 1 ms | a figure-eight knot in the units |
model | 4,119 ms | 4,475 ms | 4 single knots in the thousands, 4 single knots in the hundreds, 7 single knots in the tens, a long knot of 5 turns in the units |
chat gemma-4-31b-it-8bit | 4,119 ms | 4,474 ms | 4 single knots in the thousands, 4 single knots in the hundreds, 7 single knots in the tens, a long knot of 4 turns in the units |
route | 8,593 ms | 0 ms | no knots (zero) |
Services
Three jobs, one stream of traces.
Each service stands on its own. They share one input, your OpenTelemetry traces: Trace makes the stream trustworthy, Judge scores it, and Probe attacks the agent and turns every confirmed failure into a new case for Judge.
- i
Trace
Know what your traces actually hold.
An OpenTelemetry collector that makes agent traces standard, redacted and portable, and a check of what each of your tools really stored.
- Maps your spans to the OpenTelemetry GenAI conventions, so no vendor SDK lives in agent code.
- Redacts PHI and PII in two layers: pattern rules in the collector, entity recognition for free text.
- Fans one stream out to any mix of Langfuse, Phoenix, Tempo, LangSmith or your own store.
- Verifies by querying every backend and probing storage for planted synthetic identifiers.
You keep: Collector config, redaction rules fitted to your data, and a leak-probe report.
- ii
Judge
Find out whether your scores mean anything.
A gold set built with your experts, a panel of judges measured against it, and the cheapest judge that agrees with the people who know the work.
- Builds an evidence packet per run: policy, request, tool calls and results, final answer.
- Tests typed-decision, local and frontier LLM judges side by side on your data.
- Reports agreement, fail recall, precision, repeatability, cost and latency for each.
- Runs online as a cascade: a cheap judge on every trace, a strong one where it is unsure.
You keep: A gold set, tuned rubric questions, and a judge card you can show an auditor.
- iii
Probe
Break it here, not in production.
Adversarial and regression tests written from your own domain and traces, run nightly and gated in CI.
- Plants instructions in tool results and records to see what the agent obeys.
- Sweeps identity and relationship phrasing against your privacy rules.
- Copies good runs and changes one fact, to test whether anything notices.
- Scores with deterministic detectors, so the suite reruns for free and gives the same answer.
You keep: Attack success rate by category, ranked findings, and a CI gate that blocks regressions.
Findings
What we've measured so far.
Before selling the work we did it on ourselves. PayerBench is a synthetic health-plan member-services agent we built for the purpose: six tools, forty fake members with PHI-shaped records, a local 31B model. These findings come from three studies in September 2026; a fourth, a benchmark on the same agent, followed in October. All four are written up in full under Research. Data and code are available to prospective clients.
- 01
810 or 1
TraceInput tokens for one LLM call, depending on which tool you ask.
The same span in four observability backends. Three report the raw prompt; one subtracts cached tokens. On a warm cache, a cross-tool cost dashboard is off by two to three orders of magnitude and neither UI says so.
Source: Four tracing backends, September 2026
- 02
48 → 23
TraceAttributes kept for that span, from the most faithful backend to the least.
Most of the difference is attributes promoted into typed columns. One cloud backend dropped every gen_ai.* attribute the collector had added. Telemetry is portable only if you check what arrived.
Source: Four tracing backends, September 2026
- 03
6 leaks
TraceTimes a member’s name reached the cloud backend after the redaction rules had passed their probe.
Tool results reach the backend as escaped JSON inside JSON, and the rules were written for the unescaped form. Found only by reading the cloud payload. Redact the data, not its serialization, then probe the storage.
Source: Four tracing backends, September 2026
- 04
0.58 → 0.91
JudgeFail recall of a typed-decision judge after one sentence was added to its question.
A third wording held recall at 0.92 and brought precision back to 0.92. For these judges the question is the model, which makes wording a calibration lever.
Source: Judge calibration, September 2026
- 05
1/100
JudgeCost of the tuned small judge relative to a frontier LLM judge, at the same agreement.
$0.00007 against $0.0056 per verdict, and about a twentieth of the latency. Across 16,050 verdicts from five judges the whole study cost $16.
Source: Judge calibration, September 2026
- 06
0 of 486
ProbeDirect requests for another member’s records that succeeded.
Every pretext we could write failed. Instructions planted in a prior-auth note, a poisoned tool description and an offhand remark succeeded 3 of 3 times each. The agent told a caller a denied sleep study was approved because a note said so.
Source: Red-teaming, September 2026
- 07
9% → 0%
ProbeAttack success before and after five defenses, at no measurable cost to normal work.
No single defense covered the surface. Marking tool text as untrusted stopped the planted notes and nothing else; human approval on writes stopped the rest. 1,743 scripted conversations, scored by code, rerun for $0.
Source: Red-teaming, September 2026
How we work
Start with a fixed-fee check.
A short engagement that touches all three services tells both of us what is worth building. Customisation lives in configuration (rubric questions, redaction rules, attack seeds), so your setup stays yours and keeps improving.
Check
2–3 weeks, fixed fee
A trace audit, a 50-run starter gold set, one judge comparison and one red-team pass against your agent. You get a written report with the fixes ranked.
Build
4–8 weeks, fixed fee
We install whichever of Trace, Judge and Probe the Check justified, fitted to your stack and your data, and hand it over working.
Run
Monthly
Online scoring, nightly probes, recalibration each month and new attacks each quarter, with the numbers sent to you rather than buried in a dashboard.
Who it's for
- Teams of roughly 20 to 100 people with an agent in production or close to it.
- Anyone whose agent can take actions, or can see one person's data while talking to another.
- Health, finance, legal and other work where a trace cannot go to a vendor unredacted.
- Teams paying a growing LLM-judge bill for scores nobody quite trusts.
The name
Records kept in cord.
For centuries, Andean peoples recorded numbers in knotted cords, and the Inka state ran its census, tribute and storehouses on them. A khipu hangs pendant cords from a primary cord; knots tied in base ten record quantities, and colour and position carry meaning. The specialists who made and read them were the khipukamayuq, the keepers of the knots. Between thirteen and sixteen hundred khipus survive, most in museum collections.
We took the name because the job is the same one: keep a record of what happened that people can check and trust. Figure 1 at the top of this page is one of our agent traces written in that notation. We draw on khipu as information design, with respect for the people who built it and the scholars and communities who still study it.
Further reading: Open Khipu Repository; Khipu Field Guide; Marcia and Robert Ascher, Code of the Quipu (1981); Gary Urton and Carrie Brezine, “Khipu Accounting in Ancient Peru,” Science (2005); Frank Salomon, The Cord Keepers (2004).
Single knots count tens, hundreds and thousands. Three here make 3 in that place.
A figure-eight knot is 1 in the units place.
A long knot is 2 to 9 in the units, one turn per unit. This one is 4.
No knot in a place is zero.
Contact
Tell us what your agent does.
And what you would like to be sure of. A short note is plenty; we'll reply with questions or a time to talk.