LangGraph
Meter and attribute a stateful LangGraph agent's spend through the Silvanexum gateway.
LangGraph builds stateful, branching agents. Silvanexum captures their spend without touching your graph: point each node's model client at the Silvanexum gateway, and every model call across the graph is metered on your own key, attributed, and budgeted. Pass a shared trace header so a multi-node run stitches into one attributed trace.
The gateway is OpenAI-compatible (/gateway/openai/v1) — use
langchain-openai and an OpenAI model, with an OpenAI provider key saved
(Settings → Keys). Your key needs the run scope.
Install
Point every node at the gateway
Every node's model call is metered on your BYO key — no duplicate run, no rewrite of your graph logic.
See the spend
Gateway spend counts toward your org budgets; a block-mode budget rejects an
over-cap call with 402 before it bills.