How Agent Action Firewall Works

A simple, powerful architecture that sits between your AI agents and the actions they take. Every action is evaluated, controlled, and logged.

The Architecture

Agent Action Firewall intercepts every action before it executes, giving you complete control.

AI Agent

Your AI agent wants to perform an action (API call, file write, etc.)

Agent Action Firewall

Evaluates action against your policies in real-time

Decision

Allow, deny, or require human approval

Three Pillars of Control

1

Policy Evaluation

Define what your agents can and cannot do using flexible policies. Actions are evaluated in milliseconds against your rules.

# Example policy
if action.type == "delete"
then require_approval
  • Action type filtering
  • Resource-based rules
  • Time-based restrictions
2

Approval Workflows

Risky actions pause and wait for human approval. Get notified via Slack, email, or other channels. Approve or deny with a single click.

Pending Approval
Delete production database
  • Real-time notifications
  • Configurable timeouts
  • Approval delegation
3

Audit Trail

Every action, decision, and approval is logged with cryptographic integrity. Search, filter, and export for compliance.

2024-12-23 14:32:01ALLOWED
2024-12-23 14:31:45APPROVED
2024-12-23 14:30:22DENIED
Cryptographically signed
  • Tamper-evident logs
  • Exportable reports
  • Full-text search

Simple Integration

Add Agent Action Firewall to your AI agent with just a few lines of code. Our SDK handles all the complexity.

1

Install the SDK

Add our TypeScript or Python SDK to your project

2

Wrap Your Actions

Submit actions through the firewall before executing

3

Define Policies

Set up your security policies in the dashboard

agent.ts
import { AgentFirewall } from '@agent-firewall/sdk';

const firewall = new AgentFirewall({
  apiKey: process.env.AAF_API_KEY
});

// Before executing any action
const decision = await firewall.check({
  type: 'api_call',
  target: 'https://api.example.com',
  method: 'DELETE',
  resource: '/users/123'
});

if (decision.allowed) {
  // Execute the action
  await executeAction();
}

Common Use Cases

Agent Action Firewall protects AI agents across many scenarios

Code Assistants

Prevent AI coding assistants from executing dangerous commands or accessing sensitive files.

Customer Service Bots

Require approval before refunds, account changes, or escalations to prevent costly mistakes.

Data Processing Agents

Control which databases agents can query and what data they can export or modify.

DevOps Automation

Prevent unauthorized deployments, infrastructure changes, or access to production systems.

Research Assistants

Control which external APIs and data sources research agents can access.

Content Generation

Review and approve AI-generated content before it gets published publicly.

Ready to Secure Your AI Agents?

Start protecting your AI agents in minutes. Free tier available.