Artificial Intelligence

Google's WebMCP: Making the Web Agent-Ready

Google's Tara Agyemang introduces WebMCP, a protocol to make websites agent-ready, simplifying AI interactions and enabling new user experiences.

StartupHub.ai Staff

By StartupHub.ai Staff, Editorial team

4 min read

Tara Agyemang presenting on 'The agent-ready web: Simplify user actions with WebMCP' at a Google event.
Tara Agyemang from Google discusses the 'agent-ready web' and WebMCP.Credit: AI Engineer
Visual TL;DR
Web built for humansDriver
current web design prioritizes human interaction over machine understanding
From the articleAgyemang highlighted that in the past two decades, the web has been built for human interaction.
AI agents struggleDriver
From the article 9+ mentionsThe challenge lies in the fact that AI agents often struggle to understand and interact with the dynamic and often unstructured nature of web pages.
WebMCP protocolCore
From the article 7 mentionsThe core idea behind WebMCP, or Web Model Context Protocol, is to enable websites to expose their functionalities in a structured, machine-readable format, thereby facilitating smoother interactions for AI agents.
Structured machine-readableContext
From the article 2 mentionsThe core idea behind WebMCP, or Web Model Context Protocol, is to enable websites to expose their functionalities in a structured, machine-readable format, thereby facilitating smoother interactions for AI agents.
Agent-ready webContext
enables websites to be easily understood and navigated by AI agents
From the article 9+ mentionsTara Agyemang from Google recently presented on the concept of the 'agent-ready web,' focusing on how WebMCP can simplify user actions for AI agents.
Simplified AI actionsEffect
AI agents can complete tasks more efficiently and reliably
From the article 2 mentionsThe output of the AI agent's actions, including tool calls and results, was displayed, illustrating the process of AI-driven web interaction.
New user experiencesEffect
opens doors for innovative applications and enhanced user interactions
From the article 6 mentionsUser Experience: Clear navigation and predictable success logic are vital for autonomous agents to successfully complete tasks.
Contents(5)

Tara Agyemang from Google recently presented on the concept of the 'agent-ready web,' focusing on how WebMCP can simplify user actions for AI agents. The core idea behind WebMCP, or Web Model Context Protocol, is to enable websites to expose their functionalities in a structured, machine-readable format, thereby facilitating smoother interactions for AI agents.

Google's WebMCP: Making the Web Agent-Ready - AI Engineer
Google's WebMCP: Making the Web Agent-Ready, AI Engineer

The Need for an Agent-Ready Web

Agyemang highlighted that in the past two decades, the web has been built for human interaction. However, with the increasing prevalence of AI agents, there's a growing need to adapt web design and development to accommodate these agents. The challenge lies in the fact that AI agents often struggle to understand and interact with the dynamic and often unstructured nature of web pages. This leads to AI agents needing to perform extensive work, such as taking screenshots, analyzing HTML, and even guessing how data should be input, to complete simple tasks.

To address this, WebMCP proposes a standardized way for websites to communicate their capabilities to AI agents. By making websites 'agent-ready,' developers can ensure that AI agents can more effectively and efficiently perform tasks on behalf of users.

Key Principles of WebMCP

The presentation emphasized several key principles for creating an agent-ready web:

  • Semantic HTML: Using HTML in a way that accurately describes the content and structure of the page allows machines to parse and understand the context more easily.
  • Accessibility: Adhering to accessibility standards not only benefits human users with disabilities but also removes barriers for AI agents. This ensures that AI can interpret the web as intended.
  • Performance: Optimizing web page performance is crucial, as AI agents can crawl, process, and retrieve data with maximum efficiency when pages load quickly.
  • User Experience: Clear navigation and predictable success logic are vital for autonomous agents to successfully complete tasks.

Declarative vs. Imperative APIs

WebMCP supports two primary approaches for defining tool capabilities: declarative and imperative APIs.

The daily brief

Get the free daily brief with the day's AI news, new AI startups and funding rounds every morning.

Join 64,000 other subscribers.

The declarative API approach involves defining the tool's capabilities using a structured format, such as JSON. This allows the AI agent to understand the tool's name, description, input schema, and how to execute it. Agyemang showed an example of a 'todo' tool, where the schema clearly outlines the expected input for adding a new item to a to-do list, including fields like 'text' and 'priority.' The browser can then use this schema to automatically generate user interfaces or provide necessary information to the AI agent.

The imperative API, on the other hand, involves writing JavaScript functions that define the tool's behavior. These functions can include validation, data fetching, and DOM manipulation. In the provided example, an `addToDoItem` function was demonstrated, which handles adding a new item to a to-do list by interacting with the DOM. This approach offers more flexibility for complex interactions but requires more explicit coding.

WebMCP in Action: A Demo

A live demonstration showcased how WebMCP works in practice. Using a 'Maze Escape' game as an example, Agyemang demonstrated how an AI agent could interact with the game by using available tools. The demo highlighted how the AI agent could 'look' to understand its surroundings, 'move' in specific directions, and 'pickup' items. The output of the AI agent's actions, including tool calls and results, was displayed, illustrating the process of AI-driven web interaction.

The demonstration also touched upon the 'Model Context Tool Inspector,' a Chrome extension that allows developers to inspect, monitor, and execute WebMCP tools. This tool provides a visual interface to see the available tools, their schemas, and the interaction history, making it easier to debug and develop AI-powered web experiences.

Status and Future

The presentation concluded by noting that WebMCP is currently in an 'early preview' stage. Google is actively seeking feedback from developers to improve the API and its capabilities. The resources provided, including a blog post and a GitHub repository, offer more detailed information for those interested in exploring or contributing to the development of the agent-ready web.

Mentioned in this story

Markets

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsTara AgyemangGoogleWebMCPAIWeb DevelopmentAPIsChrome ExtensionArtificial Intelligence

StartupHub.ai Staff

Written by

StartupHub.ai Staff

Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute, free.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.