Skip to main content
Nexus helps you trace AI execution in two ways:
  • Automatic tracing via a LangChain callback handler.
  • Manual tracing via NexusClient spans in your own code.
You can log runs, connect parent and child operations, and inspect tree structures from stored traces.

Start here

What Nexus captures

  • run_id, trace_id, parent_run_id, and user_id
  • event category (chain, llm, tool, agent, retriever, and more)
  • name metadata (for model, chain, tool, and agent nodes)
  • JSON payloads for input, output, and error
This structure lets you reconstruct execution trees after a run and debug both failed and successful paths.

Choose your tracing path

Your Nexus API key (nexus_api_key) is available on the Nexus platform.