Skip to content

yassirboudda/AMIBrowser

Repository files navigation

AMI Browser for Linux

A next-generation Chromium-based browser for automation, AI, and Web3 β€” now fully rebranded as AMI Browser (formerly ClawSurf) and packed with 200+ integrations, built-in OpenClaw agent, and advanced privacy tools.


πŸš€ What is AMI Browser?

AMI Browser is a privacy-first, automation-ready browser for Linux, designed for power users, developers, and crypto/web3 enthusiasts. It combines a hardened Chromium core with:

  • Built-in OpenClaw agent for browser automation, scripting, and AI workflows
  • 247+ integrations: Web3 wallets, DeFi, Discord, Telegram, X, Notion, GitHub, and more
  • Advanced privacy/adblock: AMI Adblocker, tracker blocking, anti-fingerprinting
  • Action recording: TeachAnAgent extension to record and replay browser actions as JSON
  • DevTools MCP Logger: Full browser debugging, error capture, and VS Code Copilot integration
  • Rewards & wallet: AMI Rewards, built-in wallet, and crypto tools
  • Linux-native: Fast, secure, and open source

✨ Key Features

  • OpenClaw Agent: Automate browsing, fill forms, extract data, run scripts, and connect to AI models
  • 247+ Integrations: Connect Discord, Telegram, X, Notion, GitHub, DeFi, and more
  • Web3 Ready: Built-in wallet, dApp support, and crypto tools
  • Privacy by Default: Adblock, tracker blocking, anti-fingerprinting, isolated profiles
  • Action Recorder: Record, export, and replay browser actions (TeachAnAgent)
  • DevTools MCP Logger: Debug, capture errors, and stream browser events to VS Code Copilot
  • Rewards: Earn AMI rewards for browsing and using integrations
  • Linux Desktop Integration: Native launcher, desktop entry, and isolated user data

πŸ› οΈ Install

  1. Download the latest Linux release: Releases
  2. Extract the tarball and run ./install.sh
  3. Launch with AMI-Browser or from your desktop menu

πŸ“¦ Project Structure

AMI-Browser/
β”œβ”€β”€ ami-adblocker/      # Advanced ad/tracker blocker extension
β”œβ”€β”€ ami-wallet/         # Web3 wallet extension
β”œβ”€β”€ ami-rewards/        # Rewards and incentives
β”œβ”€β”€ ami-webstore/       # Extension store UI
β”œβ”€β”€ clawsurf-hub/       # Main browser hub UI (now AMI Hub)
β”œβ”€β”€ devtools-mcp/       # DevTools MCP Logger extension
β”œβ”€β”€ devtools-mcp-server/# MCP server for VS Code Copilot
β”œβ”€β”€ teachanagent/       # Action recorder extension
β”œβ”€β”€ launcher/           # Linux launcher scripts and desktop entry
β”œβ”€β”€ install.sh          # Installer script
└── README.md

πŸ€– Built-in Integrations (Sample)

  • Discord, Telegram, X (Twitter), Notion, GitHub, Vercel, AWS, Stripe, PayPal, DeFi, Web3 wallets, and 200+ more
  • See the AMI Hub for the full integrations catalog

🧠 Built-in OpenClaw Agent

  • Automate any site: fill forms, extract data, run scripts, schedule tasks
  • Chat with the agent, create automations, and connect to AI models (OpenAI, Anthropic, Gemini, etc.)
  • Record and replay actions with TeachAnAgent

πŸ›‘οΈ Privacy & Security

  • Ad/tracker blocking, anti-fingerprinting, isolated profiles
  • No telemetry, no tracking, open source

πŸ’¬ Community & Support


πŸ“ License

MIT


AMI Browser β€” The all-in-one browser for automation, privacy, and Web3.

DevTools MCP Logger β€” Browser Debugging for AI

The DevTools MCP Logger captures real-time browser activity and makes it available to GitHub Copilot & Cursor & Codex & Claude Code & Pi... (or any MCP client) as queryable context.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     HTTP (localhost:9223)    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     stdio     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  ClawSurf        β”‚ ──────────────────────────▢  β”‚  MCP Server      β”‚ ◀──────────▢  β”‚  VS Code /    β”‚
β”‚  Extension       β”‚   POST /events               β”‚  (Node.js)       β”‚   MCP proto   β”‚  GitHub Copilotβ”‚
β”‚  (debugger API)  β”‚   POST /meta                 β”‚  In-memory store β”‚               β”‚               β”‚
β”‚                  β”‚   DELETE on page close        β”‚                  β”‚               β”‚               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

What It Captures

  • Network requests β€” URLs, methods, status codes, headers, timing
  • Console output β€” log, warn, error, info with stack traces
  • JavaScript errors & exceptions
  • DOM mutations β€” node insertions, removals, attribute changes
  • Performance metrics β€” page load, DOMContentLoaded, etc.
  • Script sources parsed by the browser

MCP Tools (for GitHub Copilot)

  • get_active_sessions β€” List all monitored tabs
  • get_all_logs β€” Get all captured data
  • get_session_logs β€” Get logs for specific tab with category filter
  • get_errors β€” Get only errors/exceptions
  • get_network_requests β€” Get network activity
  • get_console_output β€” Get console messages
  • clear_session / clear_all_sessions β€” Manual cleanup

Usage

  1. Navigate to any page in ClawSurf
  2. Click the DevTools MCP Logger icon β†’ Activate
  3. Interact with the page β€” all activity is captured
  4. In VS Code, open GitHub Copilot Chat and add context from the chrome-devtools MCP
  5. Ask Copilot about errors, network issues, or page behavior
  6. Deactivate or close the tab β†’ session data is automatically cleared (no log pollution)

VS Code MCP Configuration

The installer auto-configures ~/.config/Code/User/mcp.json. Manual setup:

{
  "servers": {
    "chrome-devtools": {
      "type": "stdio",
      "command": "node",
      "args": ["~/.local/share/clawsurf/devtools-mcp-server/server.js"],
      "env": { "MCP_HTTP_PORT": "9223" }
    }
  }
}

TeachAnAgent β€” Browser Action Recorder

TeachAnAgent records your browser interactions so you can teach an AI agent by example.

Captured Events

  • Clicks β€” element tag, text, CSS selector, coordinates
  • Inputs β€” typed values (passwords auto-masked), change events
  • Form submits β€” form action and method
  • Scroll β€” position snapshots (throttled to 500ms)
  • Keyboard shortcuts β€” modifier combos + Enter/Tab/Escape
  • Navigation β€” URL changes, SPA pushState/replaceState, hash changes
  • Page lifecycle β€” load, unload, beforeunload

Usage

  1. Click the TeachAnAgent extension icon in the toolbar
  2. Press ⏺ Record to start capturing
  3. Interact with the page normally
  4. Use ⏸ Pause / β–Ά Resume as needed
  5. Press ⏹ Stop to end the session
  6. Click ⬇ Export JSON to download the recorded events

Starting a new recording clears the previous session. A visual indicator (πŸ”΄ / ⏸️) appears at the top of the page during recording.

How It Works

  1. ClawSurf launches Chromium with --remote-debugging-port=18800 and a dedicated user profile
  2. All three extensions load automatically:
    • Browser Relay connects to OpenClaw's relay WebSocket
    • TeachAnAgent stands by for recording
    • DevTools MCP Logger waits for activation per tab
  3. OpenClaw's AI agent can navigate, snapshot, click, and interact with any page through CDP commands forwarded via the relay
  4. The status pill on every page shows the relay connection state in real-time
  5. When DevTools MCP Logger is activated, all browser events flow to VS Code / GitHub Copilot as MCP resources

Configuration

Open the Browser Relay extension options page (click extension icon β†’ "Options") to configure:

  • Relay port β€” default 18792
  • Auto-attach β€” enabled by default

License

MIT

About

Dedicated AI browser with built-in OpenClaw automation.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors