This server turns your AI coding assistant into a full-stack development companion by bridging the gap between terminal and browser. It spins up proxy servers that inject debugging tools into your web apps, letting your agent capture screenshots, inspect DOM elements, analyze network traffic, and receive JavaScript errors in real time. The floating browser overlay lets you sketch wireframes directly on running UIs or send messages to your agent without context switching. It wraps development processes and manages server lifecycles through MCP tools, handles both stdio transport for Claude Desktop and experimental channel mode for push events, and includes process management for coordinating multiple dev servers. Built for vibe coding sessions where your agent needs to see what you see and respond to visual feedback, not just edit files.
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:

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:
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Your Browser │ ←──► │ agnt │ ←──► │ AI Agent │
│ │ │ │ │ │
│ - See changes │ │ - Proxy traffic│ │ - Receives │
│ - Send notes │ │ - Capture errors│ │ context │
│ - Draw sketches│ │ - Inject tools │ │ - Acts on │
│ - Click to log │ │ - Route messages│ │ feedback │
└─────────────────┘ └─────────────────┘ └─────────────────┘
npm (recommended):
npm install -g @standardbeagle/agnt
pip/uv:
pip install agnt
# or
uv pip install agnt
From source:
git clone https://github.com/standardbeagle/agnt.git
cd agnt
make build && make install-local
Add to your MCP configuration:
{
"mcpServers": {
"agnt": {
"command": "agnt",
"args": ["mcp"]
}
}
}
Or install as a Claude Code plugin:
/plugin marketplace add standardbeagle/agnt
/plugin install agnt@agnt
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:
agnt skills # install for Claude Code + register the MCP server
agnt skills --agent cursor # install the skills for a different agent
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:
agnt run claude --dangerously-skip-permissions
agnt run cursor
agnt run aider
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:
cd my-new-project # no .agnt.kdl yet
agnt run claude
What happens:
.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).# Pass a task through — it's replayed verbatim into the relaunched session:
agnt run claude -- "add a /healthz endpoint"
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:
agnt init # configure with claude
agnt init gemini # configure with a different agent
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:
proxy {action: "start", id: "app", target_url: "http://localhost:3000"}
Now your agent can:
// Take screenshots
proxy {action: "exec", id: "app", code: "__devtool.screenshot('current-state')"}
// Inspect any element
proxy {action: "exec", id: "app", code: "__devtool.inspect('#submit-button')"}
// Audit accessibility
proxy {action: "exec", id: "app", code: "__devtool.auditAccessibility()"}
// Check what the user clicked
proxy {action: "exec", id: "app", code: "__devtool.interactions.getLastClickContext()"}
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:
proxylog {proxy_id: "app", types: ["error"]}
→ {message: "TypeError: Cannot read property 'map' of undefined",
stack: "at ProductList (products.js:42)",
timestamp: "..."}
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 | Incident inbox pull when incident pipeline enabled |
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
__devtool.inspect('#element') // Full element analysis
__devtool.getPosition('#element') // Bounding box and position
__devtool.isVisible('#element') // Visibility check
Visual Debugging
__devtool.highlight('.items') // Highlight elements
__devtool.mutations.highlightRecent() // Show recent DOM changes
__devtool.screenshot('name') // Capture screenshot
Accessibility
__devtool.auditAccessibility() // Full a11y audit with score
__devtool.getContrast('#text') // Color contrast check
__devtool.getTabOrder() // Tab navigation order
Interactions
__devtool.interactions.getLastClick() // Last click details
__devtool.interactions.getLastClickContext() // Full click context
__devtool.selectElement() // Interactive picker
Sketch Mode
__devtool.sketch.open() // Enter sketch mode
__devtool.sketch.save() // Save and send to agent
__devtool.sketch.toJSON() // Export sketch data
Responsive Mode
__devtool.responsive.open() // Open the interactive width workbench
__devtool.responsive.setWidth(414) // Drive the frame to a width (320–1920)
__devtool.responsive.getState() // Read current width + detected layout shifts
Scored Audits
__devtool.auditAll() // 8 weighted audits: dom, css, perf, security, seo,
// a11y, API efficiency, loading/spinner → overall grade
Create .agnt.kdl in your project root to auto-start scripts, proxies, and configure browser notifications:
// Scripts to run via daemon process manager
scripts {
dev {
run "npm run dev" // Shell command (recommended)
autostart true
url-matchers "(Local|Network):\\s*{url}"
}
api {
command "go" // Or use command + args
args "run" "./cmd/server"
autostart true
env {
GIN_MODE "debug"
}
cwd "./backend"
}
}
// Reverse proxies with traffic logging
proxies {
frontend {
script "dev" // Link to script for URL auto-detection
}
backend {
target "http://localhost:8080"
autostart true
max-log-size 2000
}
}
// Browser notifications when AI responds
hooks {
on-response {
toast true // Show toast notification
indicator true // Flash bug indicator
sound false // Play notification sound
}
}
// Toast appearance
toast {
duration 4000
position "bottom-right" // top-right, top-left, bottom-right, bottom-left
max-visible 3
}
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:
┌─────────────────────┐ ┌─────────────────────────────────────┐
│ AI Agent │ │ agnt │
│ (Claude Code, etc.)│◄─────►│ │
│ │ MCP │ ┌────────────────┐ │
└─────────────────────┘ │ │ MCP Server │ │
│ └───────┬────────┘ │
│ │ socket │
│ ▼ │
┌─────────────────────┐ │ ┌────────────────────────────────┐ │
│ Browser │◄──────┼──│ Daemon │ │
│ │ proxy │ │ ProcessManager │ ProxyManager │ │
│ __devtool API │ │ └────────────────────────────────┘ │
│ Floating Indicator │ └─────────────────────────────────────┘
│ Sketch Mode │
└─────────────────────┘
Key design decisions:
sync.Map and atomics# Run docs locally
cd docs-site
npm install && npm start
agnt is the new name for devtool-mcp. Existing users:
# npm
npm uninstall -g @standardbeagle/devtool-mcp
npm install -g @standardbeagle/agnt
# pip
pip uninstall devtool-mcp
pip install agnt
Update your MCP config to use agnt command with ["mcp"] args.
MIT
Contributions welcome! See the documentation for architecture details.