Free · No Ads · No Telemetry · Forever

SamCDP

Turn Chrome and Android phones into remote automation endpoints your AI agents can drive anytime. Multi-profile operation (isolated cookies / login states / debug ports), one aitun.cc tunnel path-routing every profile, REST API + full native CDP passthrough — a remote browser automation gateway designed for AI agents.

Why SamCDP

Built on the aitun.cc tunnel — no public IP required. A single tunnel path-routes all profiles (/agent-1, /agent-2…); control via REST API and raw CDP. Every artifact bundles the aitun tunnel client — zero network dependency on first start.

🧩
Multi-Profile, Fully Isolated
The Android app runs 6 profiles (:cdp1…:cdp6) as separate processes, each with its own cookies, login states, cache and debug port; the desktop build manages multiple Chrome instances in parallel just the same — batch jobs never interfere.
🌐
One Tunnel for All Profiles
A single aitun.cc tunnel path-routes every instance (/agent-1/json/list, /agent-2/cdp…). No public IP, no port forwarding. Leave the key empty for a free temporary proxy address (~24h, survives restarts); enter an aitun key for a permanent subdomain.
⚡
REST API + Native CDP Passthrough
Start/stop instances, list/open/close tabs, run JavaScript, read the DOM, take full-page screenshots, drag slider captchas — over HTTP; CDP WebSockets pass through untouched, so Puppeteer / Playwright or any CDP client connects directly.
📱
Android Phones as Endpoints
The APK turns an Android phone into a remote WebView automation node whose REST API is 1:1 compatible with the desktop build — the same agent code drives desktop Chrome and phones alike. A profile switcher jumps between instances in one tap.
💾
Persistent Logins + Auto Cleanup
user-data-dir keeps cookies and sessions across restarts — no re-login; leftover Chrome processes are cleaned up on start; optional run duration (minutes) shuts instances down automatically when time is up.
📦
Single Binary + Bundled Tunnel Client
A statically linked single file — download and run; since v1.4.7 the aitun client ships inside every artifact (Windows / Linux / macOS / Android), so the tunnel works even offline or behind firewalls on first start.
🖥️
Visual Settings Page + System Tray
The web settings page opens remotely and switches Chinese / English instantly; the Windows tray offers one-click start/stop; the access token is auto-generated and regenerable (old share links die immediately), with the tokened remote address always one click away.

Install SamCDP

Linux / macOS: one command fetches the latest prebuilt single binary from GitHub Releases (statically linked — no Go/Git build environment needed). Windows: click the button for the exe. Android: install the APK. Every artifact bundles the aitun tunnel client.

macOS · one-line curl
# Download the latest build into the current directory and run it curl -fsSL -o samcdp https://github.com/samaidev/samcdp/releases/latest/download/samcdp-darwin-amd64 && chmod +x samcdp && ./samcdp # With a desktop it starts in the system tray; headless (SSH) servers fall back to service mode, Ctrl+C to stop
Linux · one-line curl
# Download the latest build into the current directory and run it curl -fsSL -o samcdp https://github.com/samaidev/samcdp/releases/latest/download/samcdp-linux-amd64 && chmod +x samcdp && ./samcdp # Without a DISPLAY it enters headless service mode and prints the Remote URL; the address survives restarts
⬇️ Download the Windows exe (GitHub direct link)

From GitHub Releases · samcdp-windows-amd64.exe (single file with the aitun tunnel client bundled) · also on the Releases page

  1. Double-click the exe — it starts in the system tray and brings up the CDP proxy and settings page
  2. Tray menu → Settings: leave the key empty for the free temporary proxy address, or enter an aitun key for a permanent subdomain. The access token is generated on first run
  3. Copy the tokened remote address shown on the settings page and point your agent / browser at the REST API or CDP endpoints
⬇️ Download the Android APK (GitHub direct link)

From GitHub Releases · SamCDP-android.apk (arm64 + armv7 tunnel clients bundled, ready out of the box) · also on the Releases page

  1. Install the APK, tap “+” to add profiles (each profile is one automation WebView in its own process)
  2. Settings → Tunnel: leave the key empty for a free temporary proxy address (survives restarts), or enter an aitun key for a permanent subdomain
  3. The phone’s remote page supports pushing files into a profile (auto-upload on selection) and live logs; the profile switcher jumps between instances

Get it from GitHub Releases

These direct links always resolve to the latest version (every artifact bundles the aitun tunnel client). For older versions and the full asset list see GitHub Releases.

Platform Arch Package Download
🪟Windows x86-64 (amd64) samcdp-windows-amd64.exe
Single file, no install — system tray + bundled tunnel client
Direct download
🐧Linux x86-64 (amd64) samcdp-linux-amd64
Statically linked single file, or the one-liner above
Direct download
🍎macOS x86-64 (amd64) samcdp-darwin-amd64
Statically linked single file, or the one-liner above
Direct download
🤖Android arm64 / armv7 SamCDP-android.apk
Multi-profile automation WebView, API 1:1 with desktop
Direct download