Full tracing of every run now costs more than the model calls it traces.
- ASample ordinary runs, and keep 100% of the failing ones
- BTurn tracing off and rely on user reports
- CKeep only daily totals - counts and spend
- DStore traces in a cheaper region
Answer: A
Sample ordinary runs, and keep 100% of the failing ones
Why
Traces are read for two reasons: to debug a failure and to know the shape of normal. Failures are rare and each one is precious; normal is abundant and a sample describes it. Totals alone cannot answer «why did THIS run go wrong».
- ObservabilityYou log token spend per run in detail, yet nobody in the room can say whether the agent is worth keeping.
- ObservabilityA user reports the agent gave a wrong answer yesterday.
- ObservabilityYour monthly AI bill doubled and you have no idea which feature caused the jump.
- ObservabilityYour agent’s logs are one big stream of plain-text lines.
More on Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.
Real situations from building agents - with the answer and why.
Solve a new one every day on the Path