Uploaded July 2026 | Updated November 2026, 1 day ago
Amy from the LangChain product team walks through wiring up Cursor so every agent turn lands in LangSmith as a full trace. You'll install the plugin, set three environment variables, and confirm the setup by running a real Cursor agent task end to end. This is part of a series that also covers Claude Code and Codex, so traces from all three agents show up in a common structure.
Chapters:
0:00 What this walkthrough covers
0:13 What you need before you start
0:25 Installing the LangSmith plugin in Cursor
0:45 Confirming the install and restarting Cursor
0:56 Setting your environment variables
1:04 The three variables that power tracing
1:24 Confirming the hook is live
1:31 Running a Cursor agent task
1:53 Opening the trace in LangSmith
1:59 How each trace is structured
2:21 How attachments show up in traces
2:44 Comparing Cursor, Claude Code, and Codex traces
Resources:
→ LangSmith: langchain.com/langsmith
→ Trace Claude Code sessions in LangSmith: youtube.com/watch?v=jLOM_ahG78c
→ Trace Codex sessions in LangSmith: youtube.com/watch?v=jv91Ruwrl0U
→ LangChain Academy: academy.langchain.com
Amy from the LangChain product team walks through wiring up Cursor so every agent turn lands in LangSmith as a full trace. You'll install the plugin, set three environment variables, and confirm the setup by running a real Cursor agent task end to end. This is part of a series that also covers Claude Code and Codex, so traces from all three agents show up in a common structure.
Chapters:
0:00 What this walkthrough covers
0:13 What you need before you start
0:25 Installing the LangSmith plugin in Cursor
0:45 Confirming the install and restarting Cursor
0:56 Setting your environment variables
1:04 The three variables that power tracing
1:24 Confirming the hook is live
1:31 Running a Cursor agent task
1:53 Opening the trace in LangSmith
1:59 How each trace is structured
2:21 How attachments show up in traces
2:44 Comparing Cursor, Claude Code, and Codex traces
Resources:
→ LangSmith: langchain.com/langsmith
→ Trace Claude Code sessions in LangSmith: youtube.com/watch?v=jLOM_ahG78c
→ Trace Codex sessions in LangSmith: youtube.com/watch?v=jv91Ruwrl0U
→ LangChain Academy: academy.langchain.com










