Skip to main content

agnt

Browser superpowers for AI coding agents.

Stop Describing Bugs. Let Your AI See Them.

Every time you tell Claude "the button looks weird" or "there's an error somewhere," you're spending tokens on descriptions your AI could just see.

agnt gives your AI coding agent eyes into the browser.

You: "The modal is behind the header"

AI: *takes screenshot*
*inspects stacking contexts*
*finds: modal z-index: 100, header creates new stacking context at z-index: 1000*
"The header creates a stacking context. Move the modal to a sibling of header, or increase its z-index above 1000."

No more alt-tabbing to describe what you see. No more pasting error messages. No more explaining layouts in words.

Everything agnt Does

One MCP server, one reverse proxy, one daemon. Behind them sits a full development toolkit:

See

  • Browser debugging - screenshots, JavaScript errors with stack traces, DOM inspection, network traffic, and console output, all queryable by your AI.
  • Interaction & mutation tracking - every click, input, and DOM change is logged so the AI knows what you did and what the page did in response.
  • Incident inbox - errors from every source (browser, HTTP, processes) deduplicated into one priority-ordered queue with remediation hints.
  • Floating indicator messaging - click the in-page indicator to send messages, select elements, and capture context straight to your AI.
  • Voice input - speak annotations and commands instead of typing them; transcription streams through the proxy (Deepgram) with a Web Speech API fallback.

Diagnose

  • Layout diagnostics - diagnoseLayoutIssues() maps cause to symptom: containing-block traps, ineffective z-index, click interception, clipped descendants - and names the offending ancestor.
  • Responsive audit + responsive mode - automated layout/overflow/a11y checks across viewport sizes, plus a live resizable preview with severity overlays.
  • Accessibility audit - full axe-core audits plus contrast, tab order, and screen-reader-text primitives.
  • API efficiency audit - detects N+1 patterns, request waterfalls, duplicate calls, and chatty page loads from the fetch/XHR buffer.
  • Loading UX audit - spinner cascades and fragmented concurrent loading, scored from the actual spinner timeline.
  • Quality audit suite - auditAll() aggregates 8 scored audits: DOM, CSS, performance (Core Web Vitals: LCP/CLS/INP), security, SEO, accessibility, API efficiency, and loading UX.

Test

  • Visual regression - baseline and compare screenshots with the snapshot tool.
  • Replay testing - replay saved frontend scenarios against worker-served API mocks, with optional fuzz presets to probe error handling (replaytest, Pro; recording is alpha).
  • Chaos engineering - simulate slow networks, 500s, timeouts, rate limits, and out-of-order responses at the proxy, no code changes.

Show

  • Sketch mode - draw wireframes and annotations directly on your live UI; the AI receives the drawing with element context.
  • Design mode - the AI proposes design alternatives you preview live, with a style editor for iterating on CSS in place.
  • Walkthrough mode - the AI runs a live guided demo of what it just built: step cards, element highlighting, auto or click-to-advance.

Run

  • Process management - start, monitor, and stop dev servers with bounded output capture and graceful shutdown; state survives client disconnects.
  • Reverse proxy - transparent HTTP interception, traffic logging, and JS instrumentation in front of any dev server.
  • Tunnels - expose your dev server to real phones via Cloudflare, ngrok, or Tailscale, with full instrumentation intact.
  • Project detection - Go/Node/Python projects and their scripts detected with zero configuration.

Replaces 12+ Tools in Your Dev Loop

agnt doesn't replace your production monitoring stack. It replaces the pile of separate tools you juggle while developing - and makes each one queryable by your AI instead of only by your eyeballs.

You're usingagnt equivalentDocs
Chrome DevTools (manual inspection)DOM/layout/console inspection via MCP - the AI inspects instead of youFrontend Diagnostics
LighthouseScored quality audits with Core Web Vitals (LCP/CLS/INP)Quality Auditing
axe DevToolsFull axe-core accessibility audits, on demandAccessibility
Percy / Chromatic (local runs)Baseline/compare screenshot regressionsnapshot
Responsively AppLive responsive preview + automated viewport auditsResponsive Mode
Toxiproxy / DevTools throttlingChaos presets: latency, errors, timeouts, reorderingChaos Engineering
Manual tunnel setupManaged Cloudflare/ngrok/Tailscale tunnels for device testingtunnel
LogRocket-style session replay (dev-time)Interaction + mutation tracking per page sessionproxylog / currentpage
Sentry (dev-time error tracking)Automatic error capture + deduplicated incident inboxget_incidents
Excalidraw + screenshot annotationSketch mode - draw on the live UI itselfSketch Mode
PM2 / nodemon / foreman (dev servers)Daemon-backed process management with output captureProcess Management
Postman (inspecting your own app's API)Traffic log queries + API efficiency auditsproxylog / api_audit
MSW / hand-written API mocksReplay saved scenarios against a worker mock (Pro; recording is alpha)replaytest

Each row is scoped to the development workflow: agnt won't monitor production for you, but during a coding session, your AI can do everything above without you switching apps.

What This Looks Like

Before agnt:

"I'm seeing a TypeError on line 42 that says cannot read property map of undefined, and there's also this weird layout issue where the card is overlapping the sidebar, and when I click the submit button nothing happens but I'm not sure if that's related..."

With agnt:

proxylog {types: ["error"]}
→ TypeError: Cannot read property 'map' of undefined
at ProductList (products.js:42:15)
Data: products = null, expected array

window.__devtool.inspect('.card')
{position: "absolute", zIndex: 1, parent: {overflow: "visible"},
overlaps: [".sidebar"]}

window.__devtool.interactions.getLastClickContext()
{element: "button.submit", handler: null, formValid: false}

Structured data. Fewer tokens. Faster fixes.

Quick Start

Install:

npm install -g @standardbeagle/agnt

Configure MCP:

claude_desktop_config.json
{
"mcpServers": {
"agnt": {
"command": "agnt",
"args": ["mcp"]
}
}
}

Use:

# Start dev server
run {script_name: "dev"}

# Start proxy to capture errors and traffic
proxy {action: "start", id: "app", target_url: "http://localhost:3000"}

# Open http://localhost:45849 in your browser
# Now your AI sees everything

Or configure once with .agnt.kdl:

.agnt.kdl
scripts {
dev {
run "npm run dev"
autostart true
}
}

proxies {
app {
target "http://localhost:3000"
autostart true
}
}

hooks {
on-response {
toast true // Browser notifications
indicator true // Flash indicator
}
}

Then run agnt run claude and everything starts automatically.

Ready for more? See the Getting Started guide.


agnt vs Browser Automation Tools

agnt is not a browser automation tool. It doesn't click buttons or fill forms. It instruments your browser session so your AI can see what you're doing.

agntPlaywright/Puppeteer MCP
Who controls the browser?YouThe AI
PurposeDevelopment debuggingE2E testing, automation
Error captureAutomaticManual
Two-way communicationYes (floating indicator)No
Sketch/wireframeYesNo
Click/type/navigateNoYes

Use both together - agnt for development, Playwright for automated testing:

{
"mcpServers": {
"agnt": { "command": "agnt", "args": ["mcp"] },
"playwright": { "command": "npx", "args": ["@playwright/mcp@latest"] }
}
}

Use Cases

Hard-to-Debug Issues

  • Layout bugs - "It looks weird" → AI inspects stacking contexts, overflows, computed styles
  • Race conditions - Chaos testing exposes timing bugs
  • Mobile issues - Tunnel to real devices with full instrumentation

Development Workflow

  • Error tracking - Errors captured before you notice them
  • Performance - Load times, CLS, resource timing
  • Accessibility - Built-in a11y audits

Communication

  • Sketch ideas - Draw on your UI to show what you want
  • Design iteration - AI generates alternatives, you preview live
  • Documentation - Annotated screenshots for PRs and docs

See the Use Cases Overview for detailed workflows.


Architecture

agnt runs as a daemon with persistent state:

  • Processes and proxies survive client disconnections
  • Lock-free design for maximum concurrency
  • Bounded memory with ring buffers
  • Zero-dependency frontend JavaScript

The proxy injects 50+ diagnostic functions into every page, accessible via window.__devtool.


MCP Tools

ToolPurpose
detectAuto-detect project type and scripts
runExecute scripts and commands
procProcess management and output
proxyReverse proxy with instrumentation
proxylogQuery traffic, errors, screenshots
currentpageView active page sessions
get_incidentsAuthoritative pull from the always-active incident inbox
responsive_auditResponsive audit across viewport sizes
api_auditAPI-efficiency audit (waterfall, N+1, duplicate, chatty-load)
loading_auditLoading-UX audit (spinner cascade + fragmentation)
snapshotVisual regression: baseline/compare screenshots
replaytestSaved-scenario → worker-mock → replay frontend testing (Pro; recording is alpha)
tunnelMobile testing via Cloudflare/ngrok/Tailscale
daemonDaemon management
watchStream daemon events via agnt monitor
channel_replyReply to the browser overlay (channel mode)

Next Steps