Skip to main content
Catalyst hooks LangChain callback managers so runnable calls emit spans without manual span creation. In agent workflows, the trace tree includes chain, model, and tool spans with parent-child relationships preserved by LangChain callbacks.

Install

TypeScript Agent With Tools

Pass the callback manager module to setup(). Catalyst patches the static configuration path LangChain uses when constructing callback managers.
TypeScript

Python Agent With Tools

Python

What To Look For

  • A top-level LangChain chain or agent span
  • An outer AGENT span with agent.id=support-agent when you use the wrapper
  • Nested LLM spans for model calls
  • Tool spans named after LangChain tools
  • Tool input and output attributes on tool spans
  • Token counts on model spans when the provider returns usage