AI Agent Frameworks / Quiz

Run Trees and @traceable

You cannot debug what you cannot see. LangSmith tracing turns a black-box agent run into a tree of spans with inputs, outputs, and cost.

Difficulty
Easy
Format
Quiz
Points
100
Estimate
8 min

// MISSION BRIEF

Your Mission

LangSmith records every step of an LLM app as a run tree: the root run, its child runs, their children. For a tester, tracing is the difference between "the agent was wrong" and "step 3 sent the wrong argument to the wrong tool".

Scoring: equal weight per question.

// FIRST CONTACT

Battle teaser

The minimum setup to start tracing a LangChain/LangGraph app into LangSmith:

  1. ASet LANGSMITH_TRACING=true and LANGSMITH_API_KEY (plus optionally LANGSMITH_PROJECT), the integrations then log runs automatically
  2. BTracing requires a self-hosted cluster
  3. CInstall a browser extension
  4. DRewrite the app to emit printf logs
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

langsmithtracingobservabilityai-agents