Supports auto-detection of Astro development servers and proxying of Astro applications with URL pattern matching for local server addresses.
Provides tunnel management capabilities using Cloudflare tunnels for mobile testing and remote access to local development environments.
Supports configuration and management of Gin-based Go applications through the daemon process manager with environment variable configuration.
Supports auto-detection of Hugo development servers and proxying of Hugo applications with URL pattern matching for web server addresses.
Supports auto-detection of Jekyll development servers and proxying of Jekyll applications with URL pattern matching for server addresses.
Supports auto-detection of Next.js development servers and proxying of Next.js applications with URL pattern matching for local and network addresses.
Provides tunnel management capabilities using ngrok tunnels for mobile testing and remote access to local development environments.
Supports auto-detection of React development servers and proxying of React applications with URL pattern matching, including enhanced error consolidation for React stack traces.
Supports auto-detection of Vite development servers and proxying of Vite applications with URL pattern matching for local and network addresses.
Supports auto-detection of Wails development servers and proxying of Wails applications with URL pattern matching for DevServer URLs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agnttake a screenshot of the current page and highlight the broken button"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agnt
Give your AI coding agent browser superpowers.
What is agnt?
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:
See what you see - Screenshots, DOM inspection, and visual debugging
Hear from you directly - Send messages from the browser to your agent
Sketch ideas together - Draw wireframes directly on your UI
Debug in real-time - Capture errors, network traffic, and performance metrics
Test on any device - Tunnel to phones and BrowserStack with full instrumentation
Extend its thinking window - Structured data uses fewer tokens than your descriptions
Demo

Draw wireframes directly on your running app, then send them to your AI agent
The Vision: Extending Your Agent's Capabilities
Traditional AI coding assistants are blind to what's happening in the browser. They can write code, but they can't:
See the visual result of their changes
Know when JavaScript errors occur
Understand layout issues you're experiencing
Receive feedback without you typing it out
agnt changes this. It creates a bidirectional channel between your browser and your AI agent:
Quick Start
Installation
npm (recommended):
pip/uv:
From source:
As MCP Server (Claude Code, Cursor, etc.)
Add to your MCP configuration:
Or install as a Claude Code plugin:
As PTY Wrapper (Enhanced Terminal)
Wrap your AI tool for overlay features:
This adds a terminal overlay menu (Ctrl+P) and enables the browser-to-terminal message bridge.
Core Features
1. Browser Superpowers
Start a proxy and your agent gains eyes into the browser:
Now your agent can:
2. The Floating Indicator
Every proxied page gets a small floating bug icon. Click it to:
Send messages directly to your AI agent
Take screenshots of specific areas
Select elements to log their details
Open sketch mode for wireframing
No more alt-tabbing to describe what you see - just click and send.
3. Sketch Mode
Press the sketch button and draw directly on your UI:
Rectangles, circles, arrows, and freehand drawing
Wireframe elements: buttons, inputs, sticky notes
Save and send to your agent with one click
Perfect for saying "I want a button here" or "this layout is wrong" without typing a word.
4. Real-Time Error Capture
JavaScript errors are automatically captured and available to your agent:
Your agent sees errors as they happen, not when you remember to mention them.
5. Extending the Thinking Window
Structured data consumes fewer tokens than natural language descriptions:
Error summaries -
proxylog {types: ["error"]}vs. "I'm seeing a TypeError on line 42 that says..."Click context -
interactions.getLastClickContext()vs. "I clicked the blue button in the header..."DOM state -
inspect('#element')vs. "there's a div with some nested spans and..."Consolidated stack traces - Pre-processed React error walls into actionable summaries
Status at a glance - Structured JSON your agent can parse efficiently
Instead of dumping 100 lines of nested React errors into the context, agnt consolidates verbose output into concise, actionable data.
MCP Tools
Tool | Description |
| Auto-detect project type and available scripts |
| Execute scripts or commands (background/foreground) |
| Manage processes: status, output, stop, list |
| Reverse proxy: start, stop, exec, status |
| Query logs: http, error, screenshot, sketch, panel_message |
| View active page sessions with grouped resources |
| Tunnel management: cloudflare/ngrok for mobile testing |
| Manage background daemon service |
Browser API (50+ Functions)
The proxy injects window.__devtool with powerful diagnostics:
Element Inspection
Visual Debugging
Accessibility
Interactions
Sketch Mode
Configuration
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 |
|
Wails |
|
Astro |
|
Jekyll |
|
Hugo |
|
Architecture
agnt uses a daemon architecture for persistent state:
Key design decisions:
Lock-free concurrency with
sync.Mapand atomicsBounded memory with ring buffers
Processes and proxies survive client disconnections
Zero-dependency frontend JavaScript
Documentation
Use Cases
Vibe coding - Stay in flow while your agent sees everything
Visual debugging - Show don't tell - sketch what's wrong
Mobile testing - Tunnel your dev server for real device testing with Cloudflare/ngrok + BrowserStack integration
Accessibility testing - Automated a11y audits during development
Error tracking - Catch frontend errors before users do
UI reviews - Annotate designs directly on the live app
Remote collaboration - Share visual context with your agent
Requirements
Node.js 18+ or Go 1.24+
MCP-compatible AI assistant
Migrating from devtool-mcp
agnt is the new name for devtool-mcp. Existing users:
Update your MCP config to use agnt command with ["mcp"] args.
License
MIT
Contributing
Contributions welcome! See the documentation for architecture details.