Skip to main content
Automatically capture the full multi-agent hierarchy of DeepAgents pipelines. DeepAgents builds on LangChain, so TraceRoot instruments it via the LangChain callback manager.

Install

Set up

Usage

Verify

Run your code and confirm the trace arrives:
  1. In the TraceRoot UI: Navigate to Tracing > Traces in TraceRoot Cloud. You should see a trace with root span research_session, the name passed to observe.
  2. Via the CLI: Run traceroot traces list to inspect your recent traces from the terminal.

What gets captured

Limitations

  • DeepAgents is built on LangChain. For TypeScript projects, instrumentModules must be configured with @langchain/core/callbacks/manager.

Run the example

Clone the repo and run a complete agent end-to-end.

Python

Run the Python example

TypeScript

Run the TypeScript example

Next steps

Python SDK Reference

Explore the full Python SDK reference and instrumentation options.

TypeScript SDK Reference

Explore the full TypeScript SDK reference and configuration options.