Trace Every Codex Session in LangSmith in Minutes @LangChain
Trace Every Codex Session in LangSmith in Minutes  @LangChain
Uploaded July 2026 | Updated November 2026, 1 day ago
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
Trace Every Codex Session in LangSmith in MinutesEvaluating Agents in Production: Traces, LLM-as-Judge, and Prompt Management at WonderThe One-Line Integration That Got Clays Agents Into LangSmithDashboards and Alerts | Introduction to LangSmith (10/12)The LangChain Team Answers the Most Searched Questions About AgentsShould Agents Say I Dont Know? | AirBnB at Interrupt 26Why the Harness Matters More Than the ModelHow Bridgewater Built an AI Analyst That Does Hours of Expert Research in MinutesThe 3 Things Clay Measures on Every AI AgentMCP Explained: The USB-C Cable for AI AgentsBuilding Clinical AI Agents with LangGraph: Abridges Eval Stack for High-Stakes HealthcareWhy best model is the wrong question now
LangChain |

Trace Every Codex Session in LangSmith in Minutes

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER