Kape Tools

Tracing: Seeing What the AI Actually Did

One record per run, so you can find the broken step

A trace is a recording of everything that happened in one AI run. Without it, when something goes wrong you are guessing. With it, you can point at the exact step.

The problem it solves

A client tells you the bot gave a wrong answer on Tuesday. You open it, try the same question, and it works fine. Now what?

Without a recording, you cannot see what happened on Tuesday. You cannot see what it searched, what it found, what instructions it had, or which step went sideways. You are left changing things and hoping.

What a trace holds

One run opened up into a list of steps: the prompt, a search step, a tool call, the model reply, each with time and token cost, and the final answer
One run, every step, with what each one cost and how long it took.Open full size

Two different jobs

A week of runs as a bar chart with two bad days, beside one of those runs opened up step by step to show which one failed
Glancing, then digging. The second only works if the first was already recording.Open full size
QuestionWhat you are doingWhat you look at
Was it healthy?WatchingSpeed, errors, cost over time
Where did it break?DiggingOne trace, step by step

The first is something you glance at. The second is something you do when a real complaint arrives, and it only works if you were recording all along.

What tracing usually reveals

In real life the model is often not the problem. Traces tend to show something much more boring:

You are already doing a small version of this

When Claude Code prints Search, Read, Edit, Bash as it works, that is tracing in its simplest form: naming each step as it happens so nothing runs invisibly. A proper tracing tool just keeps that record after the window closes.

Do you need a tool for this?

If you are using Claude in a browser, no. You have the conversation, and that is your record. Tracing tools matter when you have built something that runs on its own, for other people, where you were not watching when it ran.

More words

See all 11 explanations