Skip to main content

MCP server for AI coding agents - process management, reverse proxy with traffic logging, browser instrumentation, and sketch mode

Project description

agnt

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.

What Does It Do?

When you're in the flow with Claude Code, Cursor, or other AI tools, agnt lets your agent:

  • See what you see - Screenshots, DOM inspection, visual debugging
  • Hear from you directly - Send messages from browser to agent
  • Sketch ideas together - Draw wireframes directly on your UI
  • Debug in real-time - Capture errors, network traffic, performance
  • Extend its thinking window - Structured data uses fewer tokens than descriptions

Installation

pip install agnt
# or
uv pip install agnt
# or
pipx install agnt

Quick Start

As MCP Server (Claude Code, Cursor, etc.)

Add to your MCP configuration:

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

Or with uvx:

{
  "mcpServers": {
    "agnt": {
      "command": "uvx",
      "args": ["agnt", "mcp"]
    }
  }
}

As PTY Wrapper

Wrap your AI coding tool with overlay features:

agnt run claude --dangerously-skip-permissions
agnt run cursor
agnt run aider

This adds a terminal overlay menu (Ctrl+P) and enables browser-to-terminal messaging.

Core Features

Browser Superpowers

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
  • Inspect any element
  • Audit accessibility
  • See what you clicked

Floating Indicator

Every proxied page gets a floating bug icon. Click to:

  • Send messages to your agent
  • Take area screenshots
  • Select elements to log
  • Open sketch mode

Sketch Mode

Draw directly on your UI:

  • Shapes: rectangles, circles, arrows, freehand
  • Wireframes: buttons, inputs, sticky notes
  • Save and send to agent instantly

Real-Time Error Capture

JavaScript errors automatically captured and available to your agent - no more forgetting to mention them.

MCP Tools

Tool Description
detect Auto-detect project type and scripts
run Run scripts or commands
proc Manage processes
proxy Reverse proxy with instrumentation
proxylog Query traffic logs
currentpage View page sessions
daemon Manage background service

Browser API

The proxy injects window.__devtool with 50+ diagnostic functions:

__devtool.screenshot('name')              // Capture screenshot
__devtool.inspect('#element')             // Full element analysis
__devtool.auditAccessibility()            // A11y audit
__devtool.sketch.open()                   // Enter sketch mode
__devtool.interactions.getLastClick()     // Last click details

Configuration

Create .agnt.kdl in your project:

scripts {
    dev {
        command "npm"
        args "run" "dev"
        autostart true
    }
}

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

Documentation

License

MIT

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agnt-0.12.24.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agnt-0.12.24-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file agnt-0.12.24.tar.gz.

File metadata

  • Download URL: agnt-0.12.24.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agnt-0.12.24.tar.gz
Algorithm Hash digest
SHA256 4a941ca0a6f4957fe9b836c5d5c4cb328cf8ab959e0aa97e7d9b3f7042615e18
MD5 b1669ee419a5c236b503ef0364752967
BLAKE2b-256 db57bbdaefb5f50b52054d9c46a1778d0f6e35c75839e0fd70288cf7f72b09d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for agnt-0.12.24.tar.gz:

Publisher: release.yml on standardbeagle/agnt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agnt-0.12.24-py3-none-any.whl.

File metadata

  • Download URL: agnt-0.12.24-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agnt-0.12.24-py3-none-any.whl
Algorithm Hash digest
SHA256 d2bb672ddf7b6632add7d05d4ab0626b7ed8982da8730a9260180470c5e845c3
MD5 0a96b1d466685fbe98087a01d6a72362
BLAKE2b-256 85884e8fb4c47b115f8d0dd5fc0cea1f1696bc000f3e387978c47a4d4aa2d314

See more details on using hashes here.

Provenance

The following attestation bundles were made for agnt-0.12.24-py3-none-any.whl:

Publisher: release.yml on standardbeagle/agnt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page