LangGraph
Capture LangGraph state-machine agents so each graph run emits a signed Silvanexum trace.
LangGraph models an agent as a stateful graph of nodes and edges — ideal for loops, branching, and human-in-the-loop control. Silvanexum captures the result of compiling and invoking that graph as a signed, replayable run, so a complex control flow still produces one clean, provable artifact.
The pattern matches the rest of the platform:
- Register the compiled graph once as a Silvanexum agent.
- Record each
graph.invoke(...)withsx.runs.create(...)to capture + sign it.
Needs an API key with the manage scope (to register the agent) and run (to
capture executions). Set SILVANEXUM_API_KEY first.
Install
1. Register the graph as an agent
2. Invoke the graph and capture the run
Build and compile your graph as usual, invoke it, then capture the invocation as a signed Silvanexum run.
3. Read back the trace
Each node's model and tool calls land as ordered steps in the trace, so even a looping or branching graph reconstructs exactly:
For graphs whose nodes call third-party APIs, bind a
connector so those calls are captured as
attributable tool steps with the OAuth token injected by Nango — never by your
code.