Can Decionis govern AI agent tool calls before they execute? #6
|
Agents increasingly call tools that move money, change records, deploy code, or spend tokens. Can Decionis evaluate a tool call before it runs, rather than reporting on it afterwards — and what does that look like for the common agent frameworks? |
Replies: 1 comment
|
Yes — a tool call is just an intent, and it goes through the same gate as any other high-stakes action. Policy is evaluated before the call runs; the outcome is allow / block / escalate; a Decision Dossier is emitted either way. There are four ways to wire it, depending on where your agent lives. 1. MCP — A stdio MCP server that lets an agent evaluate a candidate action before it commits, deploys, or migrates anything. It exposes npx -y @decionis/mcpOne important distinction: MCP is the discovery and explanation surface; the native hook is the binding enforcement surface. An agent can choose to call an MCP tool. A 2. LangChain / LangGraph — Wrap the tool, not the agent: const gatedRefund = DecionisGateTool.wrap({
innerTool: sendRefund,
client: decionis,
orgId: process.env.DECIONIS_ORG_ID!,
decisionType: "refund_execution",
siteBaseUrl: "https://decionis.com",
});
await agent.bindTools([gatedRefund]);A blocked call raises 3. AWS Bedrock —
4. Direct SDK call — If your agent isn't in one of the frameworks above, call the gate yourself with Worked example. Autonomous trading is the case we exercise hardest: Related: What is Decionis, in plain terms? · Where Decionis sits in the stack · How Decision Dossiers are verified Have a different architecture or integration question? Start a new discussion — we answer publicly whenever we can. |
Yes — a tool call is just an intent, and it goes through the same gate as any other high-stakes action. Policy is evaluated before the call runs; the outcome is allow / block / escalate; a Decision Dossier is emitted either way.
There are four ways to wire it, depending on where your agent lives.
1. MCP —
@decionis/mcpA stdio MCP server that lets an agent evaluate a candidate action before it commits, deploys, or migrates anything. It exposes
decionis_read_policy,decionis_evaluate, anddecionis_verdict_help.One important distinction: MCP is the discovery and explanation surface; the native hook is the binding enforcement surface. An agent can choose to call an MCP …