Alle video's
0:00 / 0:00
ai

Trace Every Codex Session in LangSmith in Minutes

LangChain14 juli 2026Bekijk op YouTube

Onderdeel van serie

Afl. 3 · LangSmith: agents bouwen & monitoren

Alles over het LangSmith-platform van LangChain voor het ontwikkelen, debuggen en bewaken van AI-agents.

Bekijk de serie

Wat je leert

  • Je leert hoe je de Codex CLI integreert met LangSmith via een tracing plugin uit de Codex marketplace
  • Je ontdekt hoe je config.toml en environment variables configureert om volledige tracing in te schakelen
  • Je ziet hoe geneste sub-agents, tool calls, shell calls en API-verzoeken in LangSmith worden vastgelegd als hiërarchische traces
  • Je leert wat je moet controleren als traces niet verschijnen op het scherm (annuleringen en configuratiefouten)

Veelgestelde vragen

Welke stappen moet je volgen om Codex CLI tracing in LangSmith in te schakelen?
Je installeert eerst de tracing plugin uit de Codex marketplace, zet plugin hooks aan in config.toml, schakelt de essentiële vlag in die tracing daadwerkelijk activeert, en stelt vervolgens de benodigde environment variabelen in voor verbinding met LangSmith.
Wat kun je zien in LangSmith nadat je een Codex taak met tracing hebt uitgevoerd?
Je ziet een volledige trace met turns, tool calls, shell commands, web searches, model metadata en token usage. Geneste sub-agents verschijnen als hiërarchische traces onder de hoofdsessie.
Hoe herken je of de tracing plugin correct is geïnstalleerd en actief?
Je voert een realistische Codex taak uit en controleert of deze verschijnt in LangSmith als een volledige trace. Als het scherm leeg is, kan dit komen door een geannuleerde run of een configuratiefout in config.toml of environment variables.
Welke twee configuratieblokken zijn essentieel voor het activeren van Codex tracing?
De twee configuratieblokken zijn de plugin hooks in config.toml en de environment variabelen voor LangSmith verbinding. Samen met de kritieke vlag die tracing activeert, vormen deze de minimale setup die nodig is.

Onderwerpen

Lees ook

Beschrijving van het kanaal

Amy Ru from the LangChain Product team walks through wiring up the Codex CLI so every session lands in LangSmith as a full trace, including turns, tool calls, model metadata, token usage, and nested sub-agents. She sets up the tracing plugin from the Codex marketplace, configures config.toml and environment variables, runs a real multi-step Codex task, and shows exactly what to check if traces don't show up. Chapters: 0:00 Wiring up Codex tracing in LangSmith 0:19 What you need before you start 0:28 Installing the tracing plugin from the Codex marketplace 0:52 Turning on plugin hooks in config.toml 1:15 The one flag that actually enables tracing 1:37 Setting environment variables for tracing 1:57 Running a real Codex task with tool calls 2:38 What a Codex trace looks like in LangSmith 3:09 Inspecting tool calls, shell calls, and web searches 3:18 How sub-agents show up as nested traces 3:30 What happens if you cancel a run 3:37 Fixing an empty trace screen 4:05 Recap: two config blocks, one flag 4:14 What's next: Claude Code and Cursor