Instantly AI-Agent-Ready with WebMCP on Demand Fastly has built a proof of concept on Fastly Compute that automatically injects WebMCP attributes into HTML forms at the edge, enabling AI agents to interact with web forms without developer changes. The heuristic engine classifies forms based on field names, input types, placeholders, labels, and action URLs, generating tool names and parameter descriptions. This addresses the adoption problem of the proposed WebMCP standard, which is currently in an origin trial in Chrome 149 through 156. AI agents are getting good at browsing the web, but the web isn't ready for them. When a browser agent tries to interact with a standard HTML form, it's working from pixels and best guesses. Text inputs are usually fine, but as you can see in the demo, agents fumble with elements like date pickers and multi-select dropdowns. This is the core tension with agentic browsing right now. The agents are capable, but they're operating without context. A flight search form with two airport fields and a date picker is obvious to a human, but an agent has no semantic signal telling it "this is a departure airport, it wants a three-letter IATA code." So it guesses, and sometimes it gets it right, but often it doesn't and soils the experience for the end-user. WebMCP https://developer.chrome.com/docs/ai/webmcp , a proposed web standard, addresses this. It started as an early preview in Chrome Canary, and it's now in a running from Chrome 149 through 156, with a local dev flag https://developer.chrome.com/origintrials/ /register trial/4163014905550602241 public origin trial chrome://flags/ enable-webmcp-testing for anyone who wants to try it without a token. It gives websites two ways to expose functionality to agents: an imperative API where developers register tools via JavaScript, and a declarative API where they annotate existing HTML forms with a few attributes. The imperative path is powerful but requires real development work. The declarative path is where things get interesting for us. Developers add attributes like toolname , tooldescription , toolparamdescription , and optionally toolautosubmit to their forms, and the browser's agent knows exactly what each form does, what each field expects, and how to fill it out correctly.The problem as ever is adoption. Most site developers won't add these attributes anytime soon, if they even know WebMCP exists. The spec is early, the standard is still being finalized, and there are millions of existing sites with forms that work fine for humans but remain opaque to agents. What if the Edge Did It for Them? We built a proof of concept https://github.com/fastly/webmcp-on-demand-proto/tree/main on Fastly Compute that answers that question. The idea is to intercept HTML responses at the edge, detect forms in the markup, classify what they do using heuristics, and inject the right WebMCP attributes before the HTML ever reaches the browser. No changes required from the developer, Fastly handles the transformation in flight. The browser receives enriched HTML where every form has the semantic context an agent needs. Chrome discovers the tools natively through its WebMCP API, and the agent can interact with the page reliably instead of guessing. How the Heuristic Engine works There's no LLM in the request path. Classification is purely heuristic, based on signals already present in the HTML. When a form streams through the edge, the Compute service examines the field name attributes, input types, placeholder text, labels, the form's action URL, and the combination of fields that appear together. Two inputs named "origin" and "destination" with placeholders like, ex. "SFO" and "JFK" next to a date field signal a flight search. An "email" and "password" field together is likely an auth form. From that classification, the service generates the appropriate toolname like search flights , a tooldescription explaining what the form does, and per-field toolparamdescription values that tell the agent what each input expects. It also decides whether toolautosubmit is safe: yes for a search form, no for a checkout. Chrome does have a fallback when toolparamdescription is missing: it reads the field's