> ## Documentation Index
> Fetch the complete documentation index at: https://docs.browserwire.io/llms.txt
> Use this file to discover all available pages before exploring further.

# BrowserWire

> Record your browser. Get a typed API. No scraping, no manual wiring.

BrowserWire turns browser sessions into executable APIs. Record how you use a website, and BrowserWire's AI training pipeline learns the site's structure — pages, views, actions, and transitions — then generates a local REST API you can call without ever touching a browser again.

## How it works

<Steps>
  <Step title="Install the CLI">
    ```bash theme={null}
    npm install -g @browserwire/cli
    ```
  </Step>

  <Step title="Record a site">
    ```bash theme={null}
    bw record https://example.com
    ```

    A browser opens. Navigate the site, interact with forms, click around. Press Enter to start and stop recording.
  </Step>

  <Step title="AI trains a manifest">
    Your recording is uploaded and processed by BrowserWire's training pipeline. A vision LLM analyzes your session and produces a **manifest** — a typed state machine describing every page, view, and action it discovered.
  </Step>

  <Step title="Call APIs locally">
    ```bash theme={null}
    bw run
    # Read data from a page
    curl http://127.0.0.1:8787/api/sites/example-com/views/HomePage/product_list
    # Execute an action
    curl -X POST http://127.0.0.1:8787/api/sites/example-com/actions/LoginPage/submit_login \
      -H "Content-Type: application/json" \
      -d '{"email": "user@example.com", "password": "secret"}'
    ```
  </Step>
</Steps>

<CardGroup cols={2}>
  <Card title="Quick Start" icon="rocket" href="/quickstart">
    Get your first API running in under 5 minutes.
  </Card>

  <Card title="API Reference" icon="code" href="/api/overview">
    Full reference for the local execution API.
  </Card>

  <Card title="Dashboard" icon="gauge" href="/guides/dashboard">
    View recordings, manifests, and endpoints in the web dashboard.
  </Card>

  <Card title="Agent Integration" icon="robot" href="/guides/agent-integration">
    Connect discovered APIs to your AI agents.
  </Card>
</CardGroup>
