What is PinchTab?
PinchTab is a standalone HTTP server that gives AI agents direct control over a Chrome browser. It’s a 12MB Go binary that provides token-efficient browser automation via HTTP API or CLI.Token-Efficient
800 tokens/page with text extraction - 5-13x cheaper than screenshots
Multi-Instance
Run multiple parallel Chrome processes with isolated profiles
Self-Contained
12MB binary, no external dependencies required
Accessibility-First
Stable element refs instead of fragile coordinates
Key Features
CLI or HTTP API
CLI or HTTP API
Control via command-line or HTTP API. Use
curl, Python, Node.js, or any HTTP client.Headless or Headed
Headless or Headed
Run without a window (headless) or with visible Chrome (headed) for debugging.
Persistent Profiles
Persistent Profiles
Browser profiles preserve cookies, sessions, and auth across instance restarts. Log in once, stay logged in.
Multi-Instance Isolation
Multi-Instance Isolation
Run multiple instances in parallel with complete isolation - no shared state, no cookie leakage.
Why PinchTab?
For AI Agents
Designed specifically for AI-driven browser automation with token-efficient snapshots and stable element references.
For Developers
Simple HTTP API, CLI tools, and comprehensive documentation. Start automating in 5 minutes.
For Scale
Multi-instance architecture with auto-allocated ports (9868-9968). Run hundreds of parallel browsers.
For Security
Profile isolation, stealth mode, and secure token authentication for remote access.
How It Works
PinchTab consists of four core entities working together:The orchestrator manages all instances and routes requests. Each instance is a separate Chrome process with optional profile for persistent state. Each tab is a webpage you navigate and interact with.
Quick Example
Here’s a complete browser automation workflow in just a few commands:Use Cases
AI Agent Automation
Build AI agents that can browse, click, fill forms, and extract data from any website.
Web Scraping
Extract text efficiently (~800 tokens/page) instead of expensive screenshots (10,000+ tokens).
End-to-End Testing
Automate browser testing with stable element references and multi-instance parallelization.
Multi-Account Management
Manage multiple user sessions with isolated profiles and persistent authentication.
Comparison
| Feature | PinchTab | Puppeteer | Playwright | Selenium |
|---|---|---|---|---|
| Token efficiency | ✅ 800 tokens/page | ❌ 10k+ tokens | ❌ 10k+ tokens | ❌ 10k+ tokens |
| HTTP API | ✅ Native | ❌ Library only | ❌ Library only | ❌ Library only |
| Multi-instance | ✅ Auto-managed | ⚠️ Manual | ⚠️ Manual | ⚠️ Manual |
| Persistent profiles | ✅ Built-in | ⚠️ Manual | ⚠️ Manual | ⚠️ Manual |
| Binary size | ✅ 12MB | ❌ Node deps | ❌ Node deps | ❌ Java deps |
| Stealth mode | ✅ Built-in | ⚠️ Plugins | ✅ Built-in | ❌ Not available |
| Element stability | ✅ Accessibility refs | ❌ Selectors | ❌ Selectors | ❌ XPath |
PinchTab is specifically designed for AI agents and token efficiency, making it ideal for LLM-driven automation workflows.
Next Steps
Quick Start
Get PinchTab running in 5 minutes with installation and first commands
Core Concepts
Understand orchestrator, instances, profiles, and tabs
API Reference
Complete HTTP API documentation with all endpoints
Examples
Real-world examples and code snippets
Community & Support
GitHub
Star the repo, report issues, contribute code
Discussions
Ask questions, share use cases, get help