An open-source Chrome Extension for learning, exploring, and experimenting with the technologies of the Agentic Web.
The web is undergoing a paradigm shift. AI agents are emerging as a new class of user β autonomous, goal-driven, and capable of acting on behalf of people to plan, coordinate, and execute complex tasks. This transition introduces a wave of new technologies, protocols, and challenges that web developers need to understand.
AWL is a hands-on learning companion built to help you navigate this shift. It provides interactive environments where you can experiment with MCP servers, discover a page's WebMCP tools, test Chrome's Built-in AI APIs, and see how AI agents interact with the browser β all from within Chrome, alongside the web pages you're already working with.
We're at the transition point between the web as we know it and an Agentic Web where websites evolve from single-interface entities serving HTML to humans, into dual-interface platforms that also expose structured context and capabilities to AI agents via standardized protocols.
This landscape is complex and fast-moving. It spans new platform capabilities (agentic browsers, built-in AI), new infrastructure (MCP, agent-to-agent protocols, development frameworks), trust and safety challenges (prompt injection, agent identity, privacy), and entirely new economic models.
AWL is designed to make this landscape concrete for developers who are wrapping their heads around web development in the agentic AI era, giving them a structured way to learn key technologies by interacting with them directly.
- Web developers looking to understand how to make their sites and apps agent-ready.
- Researchers and engineers exploring how LLMs interact with browser environments through protocols like MCP.
- Learners seeking a guided, hands-on way to grasp the scope and components of the Agentic Web.
AWL provides a side-panel chat interface where you can converse with configurable AI models β both cloud-hosted foundation models and Chrome's on-device Gemini Nano β while giving those models the ability to act: reading web pages, calling browser APIs, invoking remote MCP servers, and executing automation scripts, all from within the browser tab you're already looking at.
Through the chat interface AWL orchestrates the interaction of AI agents with web content, making every action fully transparent. Tool invocations render as expandable cards showing input arguments, JSON responses, and execution timing. Reasoning-capable models display their chain-of-thought before answering.
| Provider | Models |
|---|---|
| Anthropic | Claude family |
| Gemini family | |
| OpenAI | GPT family |
| Chrome Built-in | Gemini Nano (on-device) |
The Model Context Protocol (MCP) is the emerging standard for how AI agents connect to external systems. AWL lets you:
- Connect to any MCP server via SSE, Streamable HTTP, or Stateless HTTP β with optional OAuth, custom headers, and domain filtering
- Inspect server capabilities β browse discovered tools, view their schemas, and understand what each server exposes
- Test tools manually β execute any registered tool with custom inputs and see raw JSON results, independent of the chat flow
- Debug MCP communication β a real-time event log shows tool calls, registrations, and transport-level messages as they happen
This gives you direct visibility into the layer of communication that powers agent-server interactions β helping you understand MCP in practice, not just in theory.
WebMCP enables web pages to register tools on navigator.modelContext, making page-level functionality discoverable and callable by AI agents. AWL lets you explore this concept hands-on:
- Discover page-registered tools β see what tools a WebMCP-enabled page exposes to agents
- Author custom WebMCP scripts β use the built-in code editor (with syntax highlighting and live validation) to create your own tools that agents can call on specific pages
- Understand the tool execution flow β watch how requests travel from the agent, through the extension's service worker, into the content script, and down to the page context where the tool runs
This is where the "websites as first-class citizens of the Agentic Web" concept becomes tangible β you can see exactly how a page communicates its capabilities to an AI agent.
Chrome is bringing on-device AI capabilities directly into the browser. AWL provides sandboxed API Playgrounds where you can experiment with each API in isolation β learning parameters, observing behavior, and understanding what's possible before writing production code:
- Prompt Lab β free-form prompting against Gemini Nano (Prompt API)
- Writer's Studio β content generation and refinement (Writer & Rewriter APIs)
- Summarization Station β text summarization with configurable strategies (Summarizer API)
- Polyglot Panel β translation and language detection (Translator & Language Detector APIs)
- Proofreader β spelling and grammar checking (Proofreader API)
Go beyond individual APIs. The Workflow Composer is a visual, node-based editor where you can chain multiple Built-in APIs together into agentic workflows:
- Drag nodes onto a canvas, connect them with edges, and configure parameters
- All processing happens locally on your machine β no data leaves the browser
- Completed workflows are automatically exposed as callable MCP tools, bridging the visual editor and the chat interface
This lets you prototype multi-step AI pipelines and understand how on-device capabilities compose together β before writing a single line of production code.
A dedicated AWL tab in Chrome DevTools that gives you deep visibility into the agentic layer:
- Tool List β all MCP tools registered for the current tab, with full JSON schema details
- Run Tool β manually execute any tool with custom input parameters
- Events β real-time log of MCP communication (tool calls, results, registrations, transport messages)
Define custom slash commands β reusable prompt shortcuts for the chat interface that speed up common interactions with the agent.
AWL unifies tools from multiple sources under a single MCP-based interface, giving you visibility into how agents discover and use capabilities from different layers of the web stack:
| Tool Source | What it teaches you |
|---|---|
| Chrome API tools | How agents interact with browser capabilities (DOM, tabs, history, storage) |
| WebMCP page tools | How websites expose functionality to agents via navigator.modelContext |
| External MCP servers | How agents connect to remote services via standardized protocols |
| Workflow tools | How composed AI pipelines become callable capabilities |
| Custom user scripts | How to author your own agent-callable tools |
- Git
- Node.js via nvm (the repo provides an
.nvmrcwith the required version) - pnpm >= 10
git clone https://github.com/amedina/agentic-web-learning-tool.git
cd agentic-web-learning-tool
nvm install
nvm usenpm install -g pnpm
pnpm -v # verify >= 10pnpm install
pnpm build- Navigate to
chrome://extensions - Enable Developer mode (toggle in the top-right corner)
- Click Load unpacked
- Select the
dist/extensiondirectory
pnpm devStarts the build in watch mode β changes are reflected in dist/extension automatically. Reload the extension in Chrome to pick them up.
Note: Some features (like custom WebMCP tools) require the User Scripts permission. After loading the extension, go to chrome://extensions, find AWL, and enable "User Scripts" in its details page.
Click the AWL icon in the Chrome toolbar to open the side panel. Use the Options page to configure:
| Section | Purpose |
|---|---|
| Models | Configure AI provider API keys, thinking mode, system prompts |
| MCP β MCP Servers | Connect to external MCP servers for exploration |
| MCP β WebMCP Tools | Author and manage custom browser-side tools |
| MCP β MCP Inspector | Debug and inspect MCP server connections |
| Built-in AI β API Status | Check which Chrome on-device APIs are available |
| Built-in AI β API Playgrounds | Experiment with individual Built-in AI APIs |
| Built-in AI β Workflow Composer | Build and run visual AI workflows |
| Prompt Commands | Define custom slash commands for the chat |
| Settings | Theme (light/dark/auto) and log level |
- TypeScript + React 19
- Vercel AI SDK (
ai) β multi-provider model abstraction - @assistant-ui/react β chat interface framework
- @modelcontextprotocol/sdk β MCP server/client implementation
- @xyflow/react (React Flow) β visual workflow editor
- Chrome Extension APIs (Manifest V3) β side panel, tabs, storage, scripting, devtools
- pnpm workspaces β monorepo management
Contributions are welcome! To get started:
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes and verify with
pnpm build - Open a Pull Request against the
developbranch
Built with π¦ to help the web ecosystem navigate the shift to the Agentic Web.