AI Agent Allowlist
Home Page-Types Database Agent Guardrails 2026 Incidents API Docs Pricing
Resources
Use Cases (15) Industries & Buyers (12) Learn: Core Concepts (12) Implementation Guides (15) Comparisons (8) Schema & Data Reference (6) FAQ Glossary
Why It Matters
2026 Agent Incidents Category Targeting Database Refreshes Contact Customer Login
Download Free Sample
outbound control for agents, not inbound protection for websites

AI Agent Firewall: Stop the Request Before It Leaves

An AI agent firewall checks every request an agent is about to send. Reads pass. Logins, signups, purchases, uploads and unknown writes are stopped.

This page explains what it must block, how it differs from tools with similar names, and how to run a free one built on an AI agent allow list.

4Decision layers
28Page types known
40M+Domains mapped
$0Free edition
Definition

What an AI agent firewall is

In one paragraph

An AI agent firewall sits between an agent and the internet. It decides, per request, whether the agent may send it.

It judges the destination and the method, not the words the agent was given.

Requests the agent wants to send
GET vendor.example/pricing
POST vendor.example/signup
GET 169.254.169.254/latest/
POST wiki.example/edit?page=Home
GET docs.example/api
agent firewall
What actually leaves
GET vendor.example/pricing
POST vendor.example/signup
GET 169.254.169.254/latest/
POST wiki.example/edit?page=Home
GET docs.example/api

Three of five requests are stopped. The agent keeps its ability to research, and loses its ability to act where it should not.

That is the whole idea in one picture.

Not to be confused with

Four tools with similar names

The word "firewall" is used for very different products. Only one of them controls where your agents go.

Web application firewall

Protects your website from incoming attacks.

It never sees what your agents send to other sites.

"LLM firewall"

Filters prompts and model outputs for injection or leaks.

It reads text, not destinations.

Bot blocking for websites

Keeps other people's agents off your own site.

The opposite direction from this page.

AI agent firewall

Controls what your own agents may request on other sites.

Outbound, per URL, before the request.

The job

What an agent firewall must block

Credential pages

  • Login pages on other sites
  • Signup and free-trial forms
  • Password reset pages

Money pages

  • Cart and checkout
  • Subscriptions and renewals
  • Payment forms

Publishing pages

  • File and dataset uploads
  • New posts and wiki edits
  • Comments and reviews

Dangerous hosts

  • Cloud metadata endpoints
  • Package registry admin paths
  • Tunnel and paste services used to smuggle data

Risky URL patterns

  • Plugin installs
  • WebDAV folder writes
  • Edits sent as plain GET links

Unknown writes

  • Any POST, PUT or DELETE nobody classified
  • Default: deny
  • Reads to unknown pages: your choice
How it decides

Four layers, always in the same order

1

Host list

About 60 hosts denied whatever the page, such as cloud metadata addresses.

2

Page types

The domain's verified login, signup, checkout and upload URLs, from 40M+ domains.

3

URL rules

About 40 patterns that recognise risky endpoints on any site.

4

Default

Reads pass, unknown writes are denied. Strict agents can deny unknown reads too.

Every verdict names the layer and rule that decided it. That makes each block explainable in a log or an audit.

Free and open source

Run one today: Agent Egress Guard

Agent Egress Guard is our free, Apache 2.0 agent firewall. It runs on your machine with no dependencies and no network calls.

# install (Python 3.8+) pip install https://www.aiagentallowlist.com/egress-guard/agent_egress_guard-0.2.0-py3-none-any.whl agent-egress-guard check https://example.com/login -X POST DENY POST https://example.com/login layer: rules rule: login agent-egress-guard check https://docs.example.org/guide ALLOW GET https://docs.example.org/guide

Hooks included

For common Python HTTP clients, browser automation and an intercepting proxy.

Per-agent policy

New in 0.2.0: one policy file per agent, built with the policy builder.

Add the full data

An API key adds verified page URLs for 40M+ domains. The licensed rule set adds 40 rules and 60 hosts.

CapabilityFree editionWith licensed rules and the database
High-risk hosts2 cloud metadata hostsAbout 60 curated hosts
URL rules3: login, signup, password resetAbout 40, including wiki edits, WebDAV and plugin installs
Verified page URLsNone28 page types for 40M+ domains
Unknown writesDeniedDenied
Per-agent policy filesYesYes
CostFree, Apache 2.0API from $99 a month, databases from $14,999

The free edition already stops common login and signup forms and every unknown write. The full data adds verified pages on each domain, so hidden login and checkout URLs are caught too.

Where to put it

Placement by agent type

Agent typeWhere the firewall runsWhat it catches
Script agent using an HTTP clientInside the client, as a hookEvery request the tool code sends
Browser automation agentIn the browser context, as a route handlerEvery page load and form submit
Agent in a containerAn intercepting proxy the container must useAll traffic, whatever the code does
Agent using an MCP fetch serverInside the MCP serverEvery client that calls the fetch tool
Many agents across a companyThe central egress proxyEverything, with one log

Use two layers where you can: a hook inside the agent and a proxy outside it. If one is bypassed, the other still decides.

Both layers should read the same policy file, so an agent gets the same answer whichever layer sees the request first.

For browser agents, the proxy matters most. Pages load many resources, and only a network-level check sees them all.

Comparison

Agent firewall vs other controls

QuestionAgent firewallPrompt filterDomain blocklistSecure web gateway
Sees the URL before the requestYesNoDomain onlyYes
Knows a page is a login pageYesNoNoRarely
Blocks writes, allows reads on the same siteYesNoNoPartly
Per-agent rulesYesVariesNoPer user
Stops injected instructionsLimits the damageDetectsNoNo
Deterministic answerYesModel-basedYesYes

A prompt filter and an agent firewall work well together. One looks for hostile instructions, the other limits what any instruction can achieve.

Tricks it must handle

Ways agents slip past naive filters

Encoded paths

/%6Cogin is /login to the server. A naive string match misses it.

Numeric IP forms

2852039166 and 0xA9FEA9FE both mean the cloud metadata address.

Writes as GET links

Old wikis accept edits through plain links, so method checks alone fail.

Hidden login locations

Real login pages sit on subdomains and locale paths, not only /login.

A second network path

An agent with raw sockets can skip a hook. Put a proxy in the path too.

Path parameters

/login;jsessionid=1 is still the login page and must be treated that way.

Agent Egress Guard normalises all of these before any rule runs. Its tests include each case.

When you evaluate any agent firewall, test these six cases first. They separate a real control from a string filter.

Rolling it out

From log-only to enforcing in four steps

1

Log only

Run the firewall in observe mode for a week. Record every verdict without blocking.

2

Read the denials

Check which denials would have broken real tasks. Usually very few.

3

Enforce action pages

Block credential, money and publishing pages first. They carry the most risk.

4

Tighten the default

For autonomous agents, deny unknown destinations and add narrow exceptions.

Buying one

Questions to ask any agent firewall vendor

1

How does it know a page is a login page?

Guessing /login misses most real ones. Ask for verified URLs.

2

Does it check the method?

A GET to a pricing page and a POST to it are different risks.

3

What happens on timeout?

For agents, a failed check should deny.

4

Can each agent have its own policy?

A coding agent and a sales agent need different rules.

5

Does every verdict say why?

Layer and rule names make reviews fast.

6

Can it run fully offline?

Regulated teams may need the data inside their network.

A day with a firewall

One research agent, one working day

A market research agent compares twelve software vendors. Here is what its firewall log shows.

09:02 allow: pricing pages on twelve vendor sites

Read page types, verified per domain. The agent collects plans and prices.

09:40 allow: documentation and status pages

More read pages. The agent checks feature limits and uptime history.

10:15 deny: signup on vendor seven

The pricing page said "sign up to see enterprise prices". The agent tried. Layer 2, page type signup.

11:30 deny: POST to a comment form

The agent tried to ask a question under a blog post. Layer 2, page type comment.

14:05 deny: unknown host

A link in a PDF pointed to a file-sharing site. Strict policy, unclassified destination.

16:30 report delivered

The agent finished its task. Three risky actions never happened.

None of the three denials needed a person to notice anything. The owner reads them in the weekly review.

Without the firewall, the same day ends with a trial account, a public comment and a file on an unknown host, all in the company's name.

Evidence

What one verdict record contains

{ "decision": "deny", "layer": "page_type_db", "rule": "signup", "url": "https://vendor.example/start-trial", "method": "GET", "agent": "market-research", "note": "verified signup URL for this domain" }

For incident review

Which agent tried what, and which rule stopped it.

For auditors

Proof that the written policy ran on real requests.

For tuning

Denials that broke a task show where an exception is needed.

Policies by role

Firewall settings for four common agents

AgentAllowed page typesUnknown destinationsTypical exception
Market researchpricing, documentation, blog, press, case studiesDenyNone
Support answershelp centre, status, documentationDenyNone
Procurementpricing, legal, security, aboutDenyCheckout on one approved supplier, with approval
Coding assistantdocumentationAllow readsPackage registry downloads, never uploads

Build any of these in the policy builder and enforce it with Egress Guard 0.2.0.

Objections

What teams worry about, and the answer

"It will break our agents"

Read pages stay open, so research keeps working. Start in log-only mode and see for yourself.

"Our prompts already forbid signups"

Instructions can be ignored or overridden by injected text. A firewall gives the same answer every time.

"We only use trusted sites"

Trusted sites have signup, checkout and upload pages too. Page-level rules keep the site open and the actions closed.

"Our gateway already filters prompts"

Good, keep it. Prompt filters read text; the firewall reads destinations. You need both.

Measuring it

Four numbers to report each month

Denied action attempts

Per agent. A sudden rise often follows a model or tool change.

Unknown destinations

Requests no layer could classify. Should trend down as policies mature.

Exceptions in force

Keep the list short and check every end date.

Agents behind the firewall

As a share of all agents. The target is every agent that can reach the web.

In your stack

How the firewall works with other agent controls

Identity

Identity decides what the agent may reach with its own credentials.

The firewall decides which outside pages it may open at all.

MCP gateway

The gateway decides which tools an agent may call.

The firewall decides which URLs those tools may fetch.

Prompt filters

Filters look for hostile instructions in text.

The firewall limits what any instruction can make the agent do.

Logging

Traces show what the model said.

Firewall verdicts show where the agent actually tried to go.

Governance

The register holds each agent's web rules.

The firewall is where those rules run.

Red teaming

Testers try to push agents onto risky pages.

The firewall's denials are the result they check.

Terms

Words used on this page

Egress

Traffic leaving your systems for the internet.

Verdict

The firewall's answer for one request: allow, deny or ask the owner.

Page type

What a URL is on its site, such as pricing, login or checkout.

Action page

A page where the agent does something: signs up, buys, uploads or posts.

Fail-closed

If the check cannot answer, the request is denied.

Default-deny

Anything nobody classified or approved is blocked.

The 2026 incidents were outbound requests

  • Wiki edits, a plugin install, WebDAV folders, dataset uploads and account access on other sites.
  • Each one was a request an agent firewall would have checked before it left.
  • In our replay, page data plus egress rules would have stopped almost all of them.
Every 2026 agent escape, mapped to the rule that stops it The plugin install case

The honest fine print — the same two assumptions we publish, plus two operational ones

  1. The policy engine must see every request — an agent with raw socket access or a second network path bypasses everything; enforcement belongs at the egress proxy/network layer, not only in an SDK hook.
  2. Default-deny must be on. In flag-only mode these become alerts within minutes rather than prevention — still a large improvement on a timeline measured in weeks (the DseWiki edits ran from late May to late June 2026, per the researchers), but not a block.
  3. For full URL+method matching on HTTPS you need to be the proxy or in-process hook — SNI alone shows only the host, which still catches the entire host-list layer.
  4. Policy can’t read intent inside a legitimately allowed action: an agent whose job is publishing packages keeps registry access. In our replay of the 2026 incidents, no crossing fits any plausible allowlist for the agents’ documented tasks.
Related

Keep reading

FAQ

Agent firewall questions

What is an AI agent firewall?
A control that checks every request an AI agent is about to send and blocks the ones it should not make, such as logins, signups, purchases, uploads and unknown writes.
Is there an open-source AI agent firewall?
Yes. Agent Egress Guard is free under Apache 2.0, runs locally with no dependencies, and supports per-agent policy files from version 0.2.0.
How is it different from a WAF?
A WAF protects your website from incoming traffic. An agent firewall controls the outgoing requests your own agents send to other websites.
Does it stop prompt injection?
It does not detect injected text. It limits what an injected instruction can achieve, because the risky request is denied whatever the agent was told.
Will it slow my agent down?
Local checks take well under a millisecond. Page-type lookups through the API are cached per domain.
Can an agent bypass an agent firewall?
A hook inside the agent can be skipped by code that opens its own connection. Put an egress proxy in the network path as well, so every request passes a check.
Which agents need a firewall first?
Agents that can open web pages and act: browser agents, research agents with fetch tools, and any agent that runs without a person watching each step.
What does the full data cost?
The lookup API starts at $99 a month and on-premise databases at $14,999. See pricing or try the free sample.

Put a firewall in front of your agents today

Free, local, and explainable. Add the page-type data when you need full coverage.

Get Agent Egress Guard