PriventSecurityNode embeds directly into your StateGraph between tool-call nodes. It reads the full graph state (messages, tool calls, accumulated context) and applies ACARS + APE before data reaches any external model. One node. Zero pipeline changes.
Agent executes, tool calls fire
Your LangGraph workflow runs. Tool calls happen. The agent accumulates context across multiple reasoning steps, pulling from internal systems, chaining LLM calls, composing prompts autonomously.
PriventSecurityNode intercepts
Inserted between tool-call nodes and the external model, PriventSecurityNode reads state["messages"], state["tool_calls"], and full graph state. ACARS computes a 6-signal risk score against the agent's entire runtime context.
APE transforms, graph continues
Based on risk level, APE applies tokenization, semantic substitution, or structural decomposition. The external model receives a coherent, safe version. The graph continues. No state corruption. No workflow disruption.
Add Privent to your existing LangGraph pipeline without changing your architecture. One addition. Full graph-state visibility.
from privent import PriventSecurityNodefrom langgraph.graph import StateGraph, ENDgraph = StateGraph(AgentState)graph.add_node("agent", agent_node)graph.add_node("tools", tool_node)graph.add_node("privent", PriventSecurityNode()) # ← one linegraph.add_edge("agent", "tools")graph.add_edge("tools", "privent")graph.add_edge("privent", END)
External gateways receive only the final prompt string. Privent reads everything in context, in real time.
Detects when customer names, emails, or national IDs are passed to external LLM calls via tool arguments, and masks them before transmission.
Catches API keys, connection strings, and auth tokens that accumulate in agent context during multi-step workflows.
Monitors the behavioral velocity signal and flags when individually low-risk payloads aggregate to a high-risk pattern across graph nodes.
We integrate in under 30 minutes. No orchestration changes required. Your pipelines keep running. Privent keeps watching.