From ead8060b3e8ebb64c4f1162ab702f018dfb75c7e Mon Sep 17 00:00:00 2001 From: Alexander Peghin Date: Sat, 4 Apr 2026 11:10:41 +0300 Subject: [PATCH] Add SupraWall callback integration guide --- docs/integrations/callbacks/suprawall.mdx | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/integrations/callbacks/suprawall.mdx diff --git a/docs/integrations/callbacks/suprawall.mdx b/docs/integrations/callbacks/suprawall.mdx new file mode 100644 index 0000000000..dfdffbfaf0 --- /dev/null +++ b/docs/integrations/callbacks/suprawall.mdx @@ -0,0 +1,41 @@ +--- +sidebar_label: SupraWall +--- + +# SupraWall + +[SupraWall](https://www.supra-wall.com) is a deterministic security and compliance layer for AI agents. It provides a zero-trust runtime protection system that intercepts tool calls and validates them against enterprise-grade policies before execution. + +Key features include: +- **Human-in-the-loop (HITL) Approvals**: Explicitly require human authorization for destructive or high-value tool calls. +- **EU AI Act Compliance**: Automated logging (Article 12) and risk management (Article 9) for high-risk AI systems. +- **Prompt Injection Defense**: Intercepts adversarial intent at the tool-execution boundary. +- **Tamper-proof Audit Logs**: Forensic-grade records of all agent actions. + +## Installation + +Install the library via pip: + +```bash +pip install langchain-suprawall +``` + +## Using the Callback Handler + +```python +from langchain_suprawall import SupraWallCallbackHandler +from langchain.agents import AgentExecutor + +# Initialize the callback +suprawall = SupraWallCallbackHandler(agent_id="customer-service-bot") + +agent_executor = AgentExecutor( + agent=agent, + tools=tools, + callbacks=[suprawall] + ) + ``` + + ## Related + - [SupraWall Documentation](https://docs.supra-wall.com) +