TL;DR
As LLM-powered agents become first-class citizens on the web, services need a way to distinguish them from low-cost, malicious scripts. This paper proposes Proof-of-Agentness (PoA), a verification framework that uses NLU-based challenges and passive behavioral analysis to ensure a client is actually expending the computational resources of a large language model before granting access.
What Problem Does This Paper Address?
For decades, the web has relied on CAPTCHAs to distinguish humans from bots. However, the rise of the "Agentic Web"—where AI agents perform tasks like shopping, searching, and coding on behalf of users—creates a new gray area.
Web services are increasingly providing agent-friendly interfaces (like the Model Context Protocol), but these are vulnerable to "scripted abuse." A simple Python script can spam these interfaces at near-zero cost, wasting server resources. LLM agents, by contrast, are "expensive" to run because they require significant inference compute and tokens. The authors argue that just as CAPTCHAs verify "human attention," we need a mechanism to verify "model participation." The goal is to admit sophisticated agents while filtering out cheap, high-volume scripts.
Methods
The authors propose a two-pronged approach to establish Proof-of-Agentness:
- Active Verification (Challenge-Response): The server issues a challenge that is easy for an LLM but difficult for a rule-based script. They focus on Natural Language Understanding (NLU). The verifier generates a complex narrative report from a private "world state" and asks a question that requires reasoning over that text (e.g., "Which drug had the higher response rate?"). To solve it, the client must use an LLM to reconstruct the facts and infer the logic.
- Passive Analysis (Behavioral Patterns): The server observes service-visible signals during normal interaction. This includes HTTP metadata, browser fingerprints, and interaction events (clicks, scrolls, pointer movements).
- AgentScore: A unified scoring policy that combines active and passive evidence to make admission decisions. If a client's passive score is too low, the service can "step up" the security by issuing an active NLU challenge.
Datasets
- Active Verification Library: A custom-built resource library containing 208 entities, 40 narrative templates, and 291 questions across five domains (e.g., biochemistry, cybersecurity, food safety).
- Web Interaction Dataset: An IRB-approved study involving 720 web visits to a WebArena shopping site. This included:
- 72 visits from 12 human participants.
- 432 visits from various "Bot" implementations (Playwright, Selenium, etc.).
- 216 visits from "Agent" implementations (Browser Use, MCP-based agents, etc.).
Key Insights and Ideas
- The Resource Analogy: The core "aha moment" is treating LLM inference as a scarce resource similar to human attention. By forcing a client to prove they are using an LLM, you raise the economic cost of an attack, making large-scale spamming less viable.
- Interaction Entropy: Humans show the most diverse interaction patterns (high pointer movement and scrolling). Bots are highly repetitive. Interestingly, LLM agents fall right in the middle—they are more structured than humans but less predictable than simple scripts.
- NLU as a Barrier: While simple scripts can solve some text tasks via keyword matching, they fail miserably (4-21% accuracy) on challenges designed to require semantic reconstruction, whereas LLMs excel (96%+).
Key Results
- Active Verification: Eight different LLMs (including GPT-4, Claude, and Gemini variants) achieved an average accuracy of 96.5% on the NLU challenges. The average cost was 1,647 tokens per challenge.
- Passive Classification: Using 40 service-visible features, a Random Forest classifier achieved a 95.8% average accuracy in distinguishing between Humans, Bots, and Agents.
- Server Efficiency: The computational overhead for the server to assemble and verify a challenge is minimal—median total time was only 327.6 microseconds.
Limitations and Future Work
- Abuse Economics: A determined attacker could still use a "malicious agent" (an LLM) to solve the challenges. PoA doesn't stop this entirely; it only ensures the attacker pays the "inference tax."
- Usability vs. Security: Active challenges impose token costs and latency on legitimate agents. The authors suggest passive analysis should be the primary tool, with active challenges reserved for high-risk operations.
- Dataset Scale: The behavioral study was conducted in a controlled environment with a limited number of tasks. Future work is needed to see if these interaction patterns hold across the broader, noisier open web.
- Evolving Bots: As scripts become more sophisticated at mimicking LLM-like behavior (e.g., adding random delays or jitter), the passive classifiers will need to evolve.
Summary updated