Claude Code is one of the most impressive and useful AI coding tools to date. Claude code emits events for monitoring and observability. LangSmith can collect and display these events to give you a full detailed log on what Claude Code does under the hood.Documentation Index
Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-openap-1765292790-ae6c60d.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
You can integrate LangSmith tracing with Claude Code by setting the following environment variables in the environment in which you run Claude Code.Claude Code emits open telemetry standard events for monitoring usage, but this does not include the actual prompts and messages that go to the LLM.
If you’re self-hosting LangSmith, replace the base endpoint with your LangSmith api endpoint and append
/api/v1. For example: OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=https://ai-company.com/api/v1/otel/v1/claude_code