Permission Manifests for Web Agents

Samuele Marro, Alan Chan, Xipei Ren, Lewis Hammond, Jesse Wright, Gurjyot Wanga, Tiziano Piccardi, Nuno Campos, Tobin South, Jialin Yu, Alex Pentland, P. H. S. Torr, J. C. Pei · DOI

Abstract

The rise of Large Language Model (LLM)-based web agents represents a significant shift in automated interactions with the web. Unlike traditional crawlers that follow simple conventions, such as robots.txt, modern agents engage with websites in sophisticated ways: navigating complex interfaces, extracting structured information, and completing end-to-end tasks. Existing governance mechanisms were not designed for these capabilities. Without a way to specify what interactions are and are not allowed, website owners increasingly rely on blanket blocking and CAPTCHAs, which undermine beneficial applications such as efficient automation, convenient use of e-commerce services, and accessibility tools. We introduce agent-permissions.json, a robots.txt-style lightweight manifest where websites specify allowed interactions, complemented by API references where available. This framework provides a low-friction coordination mechanism: website owners only need to write a simple JSON file, while agents can easily parse and automatically implement the manifest's provisions. Website owners can then focus on blocking non-compliant agents, rather than agents as a whole. By extending the spirit of robots.txt to the era of LLM-mediated interaction, and complementing data use initiatives such as AIPref, the manifest establishes a compliance framework that enables beneficial agent interactions while respecting site owners' preferences.

Introduction: The Coordination Gap

The web is transitioning from a "read-only" environment for crawlers to an "interactive" one for LLM-based agents. While traditional crawlers primarily index text, modern agents can navigate complex user interfaces, fill out forms, and execute multi-step tasks like booking travel or managing accounts.

Current governance tools are ill-equipped for this transition. The industry standard, robots.txt, was designed for simple indexing and lacks the expressivity required to handle interactive behaviors. Conversely, heavyweight solutions like OAuth or custom API keys are often too complex for the "long tail" of the web, such as personal blogs and small businesses. This has led to a "coordination gap" where site owners, lacking a low-friction way to specify granular permissions (e.g., "price checking is allowed, but automated purchases are not"), resort to "blanket blocking" via aggressive rate limiting and CAPTCHAs. This defensive posture inadvertently breaks beneficial automation and accessibility tools.

The agent-permissions.json Framework

To bridge this gap, we propose agent-permissions.json, a minimalist, JSON-based manifest. Designed for easy discovery at a "well-known" path (e.g., /.well-known/agent-permissions.json), the manifest allows site owners to define interaction policies across four primary components:

  1. Metadata: Provides basic versioning and authorship information to ensure compatibility.
  2. Resource Rules: These are deterministic rules utilizing CSS selectors and specific verbs (e.g., click_element, submit_form). They enable browser drivers to automatically block prohibited interactions at the DOM level.
  3. Action Guidelines: High-level, natural-language directives (using RFC-2119 terminology like MUST and SHOULD) intended for the LLM's reasoning loop. For example, a site might require that agents append a specific suffix to usernames.
  4. API References: Pointers to structured endpoints such as OpenAPI or the Model Context Protocol (MCP). This signals a "happy path," encouraging agents to use stable APIs rather than fragile web scraping.
Comparison of blanket blocking vs. manifest-based compliance and examples of rule types.

Implementation and Feasibility

The technical feasibility of this framework has been demonstrated through two primary tools: a Python reference library and a manifest generator. The reference library integrates with headless browsers like Playwright, allowing manifest checks to be wrapped around standard automation calls with negligible latency. The manifest generator utilizes LLMs to crawl a site's DOM and translate natural language instructions into valid JSON selectors, significantly lowering the barrier to entry for site owners.

Discussion: Incentives and Enforcement

The framework introduces a "Hybrid Enforcement" model. Deterministic rules are enforced by the browser driver, while probabilistic guidelines are incorporated into the agent's planning phase. This creates a new "AI-SEO" paradigm where sites optimize their content and permissions for agent consumption while mitigating abuse.

While the standard is voluntary, similar to robots.txt, commercial agent providers have strong reputational and legal incentives to comply. By adhering to the manifest, "good" agents can avoid being flagged by Web Application Firewalls (WAFs), allowing site owners to focus defensive resources on malicious actors who ignore the rules.

Limitations and Future Work

As a voluntary standard, the manifest's success depends on widespread adoption by both site owners and agent developers. Furthermore, because action_guidelines rely on natural language, agents must treat them as untrusted input to prevent prompt injection attacks. Future iterations of the schema may include more complex modifiers, such as time-of-day restrictions or tiered permissions for different classes of users.

Summary updated

BibTeX
@misc{marro2025permission,
  author = {Samuele Marro and Alan Chan and Xipei Ren and Lewis Hammond and Jesse Wright and Gurjyot Wanga and Tiziano Piccardi and Nuno Campos and Tobin South and Jialin Yu and Alex Pentland and P. H. S. Torr and J. C. Pei and Philip Torr and Jiaxin Pei},
  title = {{Permission Manifests for Web Agents}},
  year = {2025},
  eprint = {2601.02371},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.02371},
}
Figure