Nexus helps you trace AI execution in three ways:Documentation Index
Fetch the complete documentation index at: https://docs.trynexus.io/llms.txt
Use this file to discover all available pages before exploring further.
- Automatic tracing via a LangChain callback handler.
- OpenAI Agents SDK tracing via
NexusOpenAITracingProcessor. - Manual tracing via
NexusClientspans in your own code.
Start here
Quickstart
Install the package and send your first trace.
LangChain integration
Attach
LangHandler to chains, tools, and agents.OpenAI Agents SDK
Trace OpenAI agents with
NexusOpenAITracingProcessor.Configuration
Configure DB and trigger behavior for your environment.
What Nexus captures
run_id,trace_id,parent_run_id, anduser_id- event category (
chain,llm,tool,agent,retriever, and more) - name metadata (for model, chain, tool, and agent nodes)
- JSON payloads for
input,output, anderror
Choose your tracing path
I use LangChain
Plug in a callback and collect traces with minimal code changes.
I use OpenAI Agents SDK
Register a trace processor and capture every agent span automatically.
I need full control
Add spans exactly where your app does meaningful work.