JSPM

  • Created
  • Published
  • Downloads 262
  • Score
    100M100P100Q97542F
  • License MIT

Actionbook CLI - Browser automation for AI agents

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@actionbookdev/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Actionbook Cover

    Actionbook

    GitHub last commit NPM Downloads npm version skills

    Actionbook provides up-to-date action manuals to AI agents, so they can operate any website without guessing.
    10x Faster   |   90% Token Saving   |   30 Actions at Once

    Website · GitHub · X · Discord


    Table of Contents

    Why Actionbook?

    ❌ Without Actionbook

    • Slow. Agents take a snapshot after every single step, parse the page, then decide what to do next. Searching one room on Airbnb takes 5 minutes.
    • Brittle. Modern websites use virtual DOMs, streaming components, and SPAs. Agents don't understand these rendering mechanisms, so they fail to interact with dropdowns, date pickers, and dynamic content.
    • One at a time. Your agent finishes one page before it can start the next. Need to check 30 company websites? That's 30 rounds, one after another.

    ✅ With Actionbook

    • 10x faster. Action manuals tell agents exactly what to do. No parsing, no guessing.
    • Accurate. Actions map to first-party API endpoints. No brittle UI manipulation — just direct API calls.
    • Concurrent. Stateless architecture. Operate dozens of tabs in parallel.

    See an agent visits 192 First Round portfolio company websites and collects their taglines in 2 minutes. (Video is not sped up)

    https://github.com/user-attachments/assets/35079a19-7236-47a8-87ed-3edf6436c2bf

    Installation

    Install via npm:

    npm install -g @actionbookdev/cli

    Or build from source:

    cargo install --git https://github.com/actionbook/actionbook --path packages/cli --locked

    The Rust-based CLI uses your existing system browser (Chrome, Brave, Edge, Arc, Chromium). Reuse your logged-in sessions for convenience, or launch a clean profile for privacy.

    Quick Start

    actionbook browser start
    
    # Open tabs
    actionbook browser open https://stripe.com --session s1
    actionbook browser open https://linear.app --session s1
    actionbook browser open https://vercel.com --session s1
    
    # Operate all tabs concurrently
    actionbook browser snapshot --session s1 --tab t1 &
    actionbook browser snapshot --session s1 --tab t2 &
    actionbook browser snapshot --session s1 --tab t3 &
    
    # Interact with each tab using refs from its snapshot
    actionbook browser click @e5 --session s1 --tab t1
    actionbook browser fill @e3 "hello" --session s1 --tab t2
    actionbook browser click @e8 --session s1 --tab t3

    When working with any AI coding assistant (Claude Code, Cursor, etc.), add this to your prompt:

    Use Actionbook to understand and operate the web page.

    The agent will automatically use the CLI to fetch action manuals and execute browser operations.

    AI Agent Skills

    Actionbook ships with Agent Skills that teach your AI agent how to use the CLI.

    Claude Code, Cursor, Codex, Windsurf, Antigravity, Opencode — one command:

    npx skills add actionbook/actionbook

    Hermes — one command (registers the skill in ~/.hermes/skills/):

    hermes skills install actionbook -y

    Then start a chat and say things like "use actionbook to open google.com and search for anthropic". Hermes auto-activates the skill and drives the CLI for you.

    Examples

    Explore real-world examples in the Examples Documentation.

    Available Tools

    Actionbook provides tools for searching and retrieving action manuals. See the CLI Reference for the full command list. If you're using the MCP integration, see the MCP Tools Reference.

    Documentation

    For comprehensive guides, API references, and tutorials, visit our documentation site:

    actionbook.dev/docs

    Stay tuned

    We move fast. Star Actionbook on Github to support and get latest information.

    Star Actionbook

    Join the community:

    Contributing

    License

    See LICENSE for the license details.