AI Agent Infrastructure
Agent trace spans
Explains how spans, parent links and context propagation turn agent logs into one trace, and how to check an export for lost context and sensitive attributes.
What you will be able to do
- Read a trace export and compute the duration of each span.
- Explain how context propagation keeps child work in the same trace.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in AI Agent Infrastructure
- Human approval gatesAdvanced · 4 min
Explains what makes an approval gate real: the action pauses, the approver sees the exact plan, and the approval is bound to that plan so it cannot be reused.
- Tool output validationAdvanced · 4 min
Explains why tool results need their own schema checks, because strict tool use constrains only the model's inputs, and what to do when a required field is missing.
- Evaluation datasetsAdvanced · 4 min
Explains how to build an evaluation dataset that matches live traffic, keep a held-out set, and read label spread before trusting an accuracy number from it.
- Regression harnessesAdvanced · 4 min
Explains how a regression harness runs saved cases against a baseline, reports the cases that flipped, and why model-based graders need repeated runs before a release…
- Multi agent orchestrationAdvanced · 4 min
Explains the agents-as-tools and handoff patterns, how to choose between them, and why a validated handoff contract stops missing facts from reaching the next agent.
- Failure recoveryAdvanced · 4 min
Explains how retries, catch branches and compensations differ, why a retry needs an idempotency key, and how to read a run's history to find duplicate actions.