- Automatic tracing via a LangChain callback handler.
- Manual tracing via
NexusClientspans in your own code.
Start here
Quickstart
Install the package and send your first trace.
Manual tracing
Instrument custom Python code with span context managers.
LangChain integration
Attach
PrintingHandler to chains, tools, and agents.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