PinchTab: High-Performance Browser Automation for AI Agents

This repository profile is provided by osrepos.com, an open source repository discovery platform.

PinchTab: High-Performance Browser Automation for AI Agents

Summary

PinchTab is a high-performance browser automation bridge and multi-instance orchestrator, designed to give AI agents direct control over Chrome. Built in Go, it offers advanced stealth injection, real-time dashboards, and token-efficient web interaction. It supports both headless and headed modes, enabling robust and secure automation workflows for various applications.

Repository Information

Analyzed by OSRepos on June 21, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

PinchTab is a high-performance browser automation bridge and multi-instance orchestrator, specifically designed to empower AI agents with direct control over Chrome. It operates as a standalone HTTP server, providing a token-efficient way for agents to navigate pages, extract structured content, and interact with the DOM without relying on raw HTML or images. Built in Go, PinchTab is a small, self-contained binary that emphasizes a local-first security posture, making it ideal for secure, single-user control while also supporting advanced remote and distributed deployments.

It enables a wide range of applications, from headless and headed navigation for data extraction and testing, to managing multiple isolated Chrome instances for complex distributed automation tasks.

Installation

Getting started with PinchTab is straightforward. Choose the method that best suits your environment:

macOS / Linux:

curl -fsSL https://pinchtab.com/install.sh | bash

Homebrew (macOS / Linux):

brew install pinchtab/tap/pinchtab

npm:

npm install -g pinchtab

Docker:

For containerized environments, you can run PinchTab with Docker:

docker run -d \
  --name pinchtab \
  -p 127.0.0.1:9867:9867 \
  -v pinchtab-data:/data \
  --shm-size=2g \
  pinchtab/pinchtab

For daily local use, it is recommended to install the daemon once to keep PinchTab running in the background:

pinchtab daemon install
pinchtab daemon

Examples

PinchTab offers both a powerful CLI and a flexible HTTP API for controlling browser instances.

CLI Usage

First useful command, auto-starts the local server if needed:

pinchtab nav https://pinchtab.com --snap

Recommended for daily local use, install the daemon once:

pinchtab daemon install
pinchtab daemon

Control the browser from another terminal:

# Navigate, starts the server automatically if needed
pinchtab nav https://pinchtab.com

# Get page structure
pinchtab snap -i -c

# Click an element
pinchtab click e5

# Extract text
pinchtab text

HTTP API Usage

You can also interact directly with the HTTP API:

# Create a profile first (returns profile id)
PROF=$(curl -s -X POST http://localhost:9867/profiles \
  -H "Content-Type: application/json" \
  -d '{"name":"work"}' | jq -r '.id')

# Start an instance for that profile (returns instance id)
INST=$(curl -s -X POST http://localhost:9867/instances/start \
  -H "Content-Type: application/json" \
  -d "{\"profileId\":\"$PROF\",\"mode\":\"headless\"}" | jq -r '.id')

# Open a tab in that instance
TAB=$(curl -s -X POST http://localhost:9867/instances/$INST/tabs/open \
  -H "Content-Type: application/json" \
  -d '{"url":"https://pinchtab.com"}' | jq -r '.tabId')

# Get snapshot
curl "http://localhost:9867/tabs/$TAB/snapshot?filter=interactive"

# Click element
curl -X POST "http://localhost:9867/tabs/$TAB/action" \
  -H "Content-Type: application/json" \
  -d '{"kind":"click","ref":"e5"}'

Why Use PinchTab?

PinchTab stands out for its robust feature set and performance optimizations, making it an excellent choice for browser automation, especially for AI agents:

  • Token Performance: Highly efficient, extracting text with approximately 800 tokens per page, significantly cheaper than screenshot-based methods.
  • Headless and Headed Modes: Supports both invisible headless Chrome for background tasks and visible headed Chrome for interactive workflows.
  • Persistent Profiles: Manage browser state, including cookies and history, allowing agents to maintain logged-in sessions across restarts.
  • Advanced CDP Control: Offers fine-grained control over Chrome DevTools Protocol.
  • Multi-instance Orchestration: Run multiple parallel Chrome processes with isolated profiles, ideal for distributed tasks and testing.
  • Self-contained Binary: A small, ~15MB Go binary with no external dependencies, simplifying deployment.
  • Accessibility-first: Uses stable element references instead of fragile coordinates for reliable interaction.
  • ARM64-optimized: First-class support for ARM64 architectures, including Raspberry Pi.

Benchmarking against other agent-browser solutions shows PinchTab significantly reduces token costs and requests, with cost savings widening for longer workloads.

PinchTab is also committed to privacy, operating as a fully open-source, local-first tool with no telemetry or analytics.

Links

Related repositories

Similar repositories that may be relevant next.

CloakBrowser: Stealth Chromium for Unblockable Web Scraping and Automation

CloakBrowser: Stealth Chromium for Unblockable Web Scraping and Automation

May 27, 2026

CloakBrowser is a powerful, open-source stealth Chromium browser engineered to bypass advanced bot detection systems. It achieves unparalleled stealth through C++ source-level fingerprint patches, making it appear as a normal browser and passing over 30 detection tests. Designed as a drop-in replacement for Playwright and Puppeteer, it simplifies web automation for AI agents, web scraping, and more.

ai-agentsanti-detectbrowser-automation
chrome-devtools-mcp: Empowering AI Agents with Chrome DevTools Capabilities

chrome-devtools-mcp: Empowering AI Agents with Chrome DevTools Capabilities

May 24, 2026

chrome-devtools-mcp is a powerful tool that enables AI coding agents to control and inspect a live Chrome browser. It functions as a Model-Context-Protocol (MCP) server, providing AI assistants with full access to Chrome DevTools for advanced automation, debugging, and performance analysis. This allows agents to interact with web pages, gather insights, and perform complex tasks programmatically.

chrome-devtoolsmcp-serverai-agents
brightdata-mcp: Empowering AI with Real-time Web Access and Data Scraping

brightdata-mcp: Empowering AI with Real-time Web Access and Data Scraping

January 22, 2026

The brightdata-mcp is a powerful Model Context Protocol (MCP) server developed by Bright Data, designed to give AI agents real-time web access. It provides an all-in-one solution for seamless public web interaction, ensuring Large Language Models (LLMs) can access live information without encountering blocks or CAPTCHAs. This open-source project offers robust web scraping, browser automation, and data extraction capabilities.

ai-agentsllm-integrationweb-scraping
Selenium: The Leading Framework for Browser Automation

Selenium: The Leading Framework for Browser Automation

October 29, 2025

Selenium is a comprehensive open-source project that provides tools and libraries for automating web browsers. It offers a platform and language-neutral coding interface, adhering to the W3C WebDriver specification, making it compatible with all major web browsers. This powerful framework is widely used for functional testing, regression testing, and general web automation.

seleniumwebdriverbrowser-automation

Source repository

Open the original repository on GitHub.

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️