Choosing an Integration
| Framework | Language | Integration Class | Hook Point | Install Extra |
|---|---|---|---|---|
| LangChain / LangGraph | Python | AttestaToolWrapper, attesta_node | Tool func/coroutine replacement; LangGraph node | attesta[langchain] |
| LangChain (TS) | TypeScript | gatedTool, createGateNode | Proxy on invoke; LangGraph node | @kyberon/attesta |
| OpenAI Agents SDK | Python | attesta_approval_handler, AttestaGuardrail | Runner.run(approval_handler=...), Agent(tool_guardrails=[...]) | attesta[openai] |
| Anthropic Claude | Python | AttestaToolGate | tool_use content block evaluation | attesta[anthropic] |
| CrewAI | Python | AttestaHumanInput | Task(callback=...) | attesta[crewai] |
| MCP | Python | attesta_tool_handler, MCPProxy | call_tool decorator; stdio proxy | attesta (core) |
| Vercel AI SDK | TypeScript | gatedVercelTool, createAttestaMiddleware | Tool execute wrapper; experimental_onToolCall | @kyberon/attesta |
How Integrations Work
Every integration follows the same 4-stage pipeline described in How It Works:Intercept
The integration intercepts tool calls before they execute. Each framework has a different hook point (tool wrapper, approval handler, decorator, middleware, etc.), but the result is the same: the call is paused.
Build ActionContext
The integration extracts the tool name, arguments, and any available metadata (description, agent ID, session) and builds an
ActionContext object for Attesta to evaluate.Evaluate
The
ActionContext is passed to attesta.evaluate(), which runs risk scoring, challenge selection, verification, and audit logging.Installation
Install Attesta with the extras for your framework:Common Pattern
Regardless of framework, every integration starts with a configuredAttesta instance:
No-Code Platforms
If you are using a visual workflow builder instead of writing code, see the No-Code Platforms section for drop-in nodes and components:n8n
AttestaGate node for n8n workflows
Flowise
AttestaGate tool component for chatflows
Langflow
AttestaGate component for Langflow pipelines
Dify
Attesta plugin for the Dify platform