The agent proposes something
A prompt, model output or tool call reaches the security boundary before execution.
Your agent proposes an action. AgentRiskLayer checks it against your rules. Safe actions continue, unsafe actions stop, and sensitive actions wait for approval tied to the exact operation.
A prompt, model output or tool call reaches the security boundary before execution.
The project policy evaluates content, tool, destination, path, environment and required approval.
The decision is allow, deny or require an exact server-issued approval. Caller claims are not trusted.
The event records policy identity, rule IDs, digests and timing—not raw prompts or tool arguments.
A beginner can use the built-in example. A developer can then open the exact integration details.
Scoped keys, idempotent request IDs, immediate revocation, exact-action approvals and atomic single-use consumption.
Route tool traffic through a local enforcement point when runtime content must remain in the customer environment.
Detect instruction override, hidden extraction, secret leakage, encoded attacks and unsafe network instructions.
Allow or deny tools, hosts, paths and material actions using a versioned project policy.
Place this check before the model output or proposed tool call reaches a real system.
curl -sS https://agentrisklayer.com/v1/guard \
-H "Authorization: Bearer arl_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "agent-step-123",
"input": "Customer request and retrieved context",
"tool_call": {
"name": "crm.read",
"arguments": {"customer_id": "cust_123"},
"context": {"environment": "production"}
}
}'A repeated request ID returns the original decision. Approval-required actions use a server-issued approval token; caller approval booleans are ignored.
Keep runtime content inside your network and route protected tool traffic through the local gateway.
node agent-risk-runtime.mjs \
--policy runtime-policy.json \
--upstream http://127.0.0.1:3000 \
--port 8787 \
--audit runtime-audit.jsonlThe downloadable gateway does not contain the hosted PostgreSQL approval ledger. Local approval-required actions therefore fail closed rather than trusting caller assertions.
Using MCP servers or MCP-enabled agents? Review the MCP server risk assessment to check tool trust, permissions, secrets and action validation before deployment.