DISCOVER THE FUTURE OF AI AGENTSarrow_forward

Pinchtab

calendar_todayAdded Feb 25, 2026
categoryAgent & Tooling
codeOpen Source
GoAI AgentsBrowser AutomationCLIAgent & ToolingAutomation, Workflow & RPAProtocol, API & Integration

High-performance browser automation bridge for AI agents. 12MB Go binary. Zero config. Accessibility-first approach for low-token page understanding and interaction.

Pinchtab is a browser automation tool optimized for AI agents, exposing browser control capabilities through HTTP API.

Core Features#

HTTP API Design#

  • Language-agnostic RESTful interface (default port 9867)
  • Callable by any agent, script, or even curl
  • No framework lock-in

Accessibility-First#

  • Leverages Chrome DevTools Protocol to extract a11y tree
  • 4x token cost savings vs. screenshots
  • ~800 tokens per page
  • Stable element reference system (e0, e1, e2...)

Stealth & Anti-Detection#

  • Built-in navigator.webdriver patching
  • User Agent spoofing
  • Supports light/full stealth levels

Session Persistence#

  • Cookies, auth states, and tabs persist across restarts
  • Profiles stored in ~/.pinchtab/chrome-profile/
  • Login once, automate forever

Token Optimization#

  • Interactive filter: ~75% token reduction
  • Compact format: 56-64% reduction
  • Smart diff detection: returns only changes

Installation#

Go Install (Recommended)

go install github.com/pinchtab/pinchtab@latest

Docker

docker run -d -p 9867:9867 --security-opt seccomp=unconfined pinchtab/pinchtab

Quick Start#

# Start server
./pinchtab

# Headed mode
BRIDGE_HEADLESS=false ./pinchtab

# Read page text
curl localhost:9867/text

# Click button
curl -X POST localhost:9867/action -d '{"kind":"click","ref":"e5"}'

Core API Endpoints#

EndpointDescription
GET /healthConnection status
GET /snapshotAccessibility tree (primary interface)
GET /textReadable text
GET /screenshotJPEG screenshot
POST /navigateNavigate to URL
POST /actionClick, input, etc.
POST /evaluateExecute JavaScript

Use Cases#

  • AI agent browser control
  • Web scraping & monitoring
  • Automated testing
  • Multi-agent resource sharing
  • Human-agent collaboration (humans handle 2FA/CAPTCHA, agents take over sessions)

Key Configuration#

VariableDefaultDescription
BRIDGE_PORT9867HTTP port
BRIDGE_TOKENnoneBearer auth
BRIDGE_HEADLESStrueHeadless mode
BRIDGE_STEALTHlightStealth level
BRIDGE_MAX_TABS20Max tabs

MIT licensed. Current version: v0.7.0. Actively maintained.

Related Projects

View All arrow_forward

STAY UPDATED

Get the latest AI tools and trends delivered straight to your inbox. No spam, just intelligence.

rocket_launch