Skip to main content
If your application already uses LangSmith tracing, Catalyst can bridge LangSmith OpenTelemetry spans into the Catalyst tracer provider. This keeps LangSmith traceable functions and framework integrations visible with the rest of your application traces. If a LangSmith-traced function is the boundary of an agent run, add an outer agentSpan() / agent_span() with a stable agent.id. LangSmith spans remain visible under that AGENT span.

Install

TypeScript Traceable Function

TypeScript

Python Traceable Function

Python

Hybrid Mode

If LANGSMITH_TRACING=true is set and LANGSMITH_TRACING_MODE is not set, Catalyst defaults LangSmith to hybrid mode. That keeps existing LangSmith tracing active while also routing OpenTelemetry spans through Catalyst.

Stable Agent Identity

Use this pattern around LangSmith-traced work when you want the Agents dashboard to group executions by your product agent ID.