The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the DevTool MCP listing page.
Give your AI coding agent browser superpowers.
agnt is a new kind of tool designed for the age of AI-assisted development. It acts as a bridge between your AI coding agent and the browser, extending what's possible during vibe coding sessions.
When you're in the flow with Claude Code, Cursor, or other AI coding tools, agnt lets your agent:

Three rounds of blind terminal automation can't fix a button that's half off-screen. One pass with eyes on the live page can — full demo (1:40).

Draw wireframes directly on your running app, then send them to your AI agent
Traditional AI coding assistants are blind to what's happening in the browser. They can write code, but they can't:
agnt changes this. It creates a bidirectional channel between your browser and your AI agent:
npm (recommended):
pip/uv:
From source:
Add to your MCP configuration:
Or install as a Claude Code plugin:
One-shot: agnt skills — install the agnt agent skills and register the
MCP server in a single command. It uses Vercel's open skills CLI
to fetch the skills, then wires up MCP:
Under the hood it runs npx -y skills add standardbeagle-tools/agnt --all -a claude-code, then claude mcp add agnt -s user -- agnt mcp (for other agents
it prints the MCP config to add). Requires Node.js (npx) on PATH.
Wrap your AI tool for overlay features:
This adds a terminal overlay menu (Ctrl+P) and enables the browser-to-terminal message bridge.
The first time you run agnt run claude in a project that has no .agnt.kdl,
agnt drives a one-time setup run before your coding session:
Most projects never reach the setup phase: agnt first tries a deterministic
auto-config and writes .agnt.kdl itself when the project shape is
unambiguous. Recognised out of the box:
| Shape | Marker | Dev script and proxy |
|---|---|---|
| Node web app | package.json with a dev/start script | that script, proxy via URL detection |
| Go (Wails) | wails.json | wails dev |
| .NET web project | *.csproj with the Web SDK at the root, or under src/* / */ | dotnet watch run (per project, port from launchSettings.json) |
| docker-compose | compose.yaml / docker-compose.yml | docker compose up, one proxy per service that publishes a host port |
| Procfile | Procfile.dev / Procfile | one script per entry, proxy on web |
| Django | manage.py | python manage.py runserver (8000) |
| Rails | bin/rails | bin/dev or bin/rails server (3000) |
| Laravel | artisan | composer run dev or php artisan serve (8000) |
| Phoenix | mix.exs with :phoenix | mix phx.server (4000) |
| Hugo / Jekyll / mkdocs | hugo.toml + content/, _config.yml + Gemfile, mkdocs.yml | hugo server (1313), bundle exec jekyll serve (4000), mkdocs serve (8000) |
| Static site | index.html at the root | stdlib file server (8000) |
Detection accumulates: a .NET solution with a compose file gets dotnet
test/build plus the compose topology. Test, lint, and build commands for Go,
Node, Python, Ruby, PHP, Elixir, and .NET are registered as on-demand scripts.
Known ports are written as fallback-port so the proxy exists before the first
request. Edit the generated file freely; changes apply live.
Only when auto-config cannot decide does the setup phase run:
.agnt.kdl. If the
agnt:setup-project skill isn't installed, Claude tells you the exact
install step (/plugin marketplace add standardbeagle/agnt then
/plugin install agnt).If you decline setup (no .agnt.kdl gets written), agnt records a timestamped
marker and won't nudge again until the re-nudge window elapses (default 7 days,
configurable via setup { renudge-ttl-days 7 } in .agnt.kdl). A successful
setup is remembered permanently.
Setup also works for other agents — each gets install instructions tailored to its own skill/command mechanism (see docs/agent-support-matrix.md).
agnt init — configure without launching a sessionPrefer to set the project up on its own? agnt init runs only the setup phase
(no relaunch) and exits once .agnt.kdl is written:
A successful agnt init records the permanent marker too, so a later
agnt run skips straight to the coding session.
Beta / Experimental: Channel mode requires a forked MCP SDK and a development flag in Claude Code. Behavior and schema may change.
Claude Code v2.1.80+ can receive real-time browser errors, diagnostics, and user interactions as push events in context -- without the PTY wrapper. Add channel { enabled true } to .agnt.kdl and launch with claude --dangerously-load-development-channels server:agnt. See the Channel Mode section in CLAUDE.md for full schema, event format, and the channel_reply tool for sending messages back to the browser overlay.
Start a proxy and your agent gains eyes into the browser:
Now your agent can:
Every proxied page gets a small floating bug icon. Click it to:
No more alt-tabbing to describe what you see - just click and send.
Press the sketch button and draw directly on your UI:
Perfect for saying "I want a button here" or "this layout is wrong" without typing a word.
JavaScript errors are automatically captured and available to your agent:
Your agent sees errors as they happen, not when you remember to mention them.
Structured data consumes fewer tokens than natural language descriptions:
proxylog {types: ["error"]} vs. "I'm seeing a TypeError on line 42 that says..."interactions.getLastClickContext() vs. "I clicked the blue button in the header..."inspect('#element') vs. "there's a div with some nested spans and..."Instead of dumping 100 lines of nested React errors into the context, agnt consolidates verbose output into concise, actionable data.
| Tool | Description |
|---|---|
detect | Auto-detect project type and available scripts |
run | Execute scripts or commands (background/foreground) |
proc | Manage processes: status, output, stop, list |
proxy | Reverse proxy: start, stop, exec, status |
proxylog | Query logs: http, error, screenshot, sketch, panel_message |
currentpage | View active page sessions with grouped resources |
get_incidents | Authoritative pull from the always-active incident inbox |
responsive_audit | Responsive audit across viewport sizes (layout/overflow/a11y) |
api_audit | API-efficiency audit: waterfall, N+1, duplicate, chatty-load |
loading_audit | Loading-UX audit: spinner cascade + concurrent fragmentation |
snapshot | Visual regression: baseline/compare screenshots |
tunnel | Tunnel management: cloudflare/ngrok for mobile testing |
daemon | Manage background daemon service |
watch | Stream daemon events via agnt monitor |
channel_reply | Send messages to developer's browser overlay (channel mode only) |
The proxy injects window.__devtool with powerful diagnostics:
Element Inspection
Visual Debugging
Accessibility
Interactions
Sketch Mode
Responsive Mode
Scored Audits
Create .agnt.kdl in your project root to auto-start scripts, proxies, and configure browser notifications:
Run /setup-project in Claude Code to interactively generate this configuration.
Framework-specific URL matchers:
| Framework | url-matchers |
|---|---|
| Next.js / Vite / React | "(Local|Network):\\s*{url}" |
| Wails | "DevServer URL:\\s*{url}" |
| Astro | "Local\\s+{url}" |
| Jekyll | "Server address:\\s*{url}" |
| Hugo | "Web Server.*available at {url}" |
agnt uses a daemon architecture for persistent state:
Key design decisions:
sync.Map and atomicsagnt is the new name for devtool-mcp. Existing users:
Update your MCP config to use agnt command with ["mcp"] args.
MIT
Contributions welcome! See the documentation for architecture details.