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

# OpenClaw

> Use Evocrawl with OpenClaw to give your agents web scraping, search, and browser automation capabilities.

Integrate Evocrawl with OpenClaw to give your agents the ability to scrape, search, crawl, extract, and interact with the web — all through the [EvoCrawl CLI](/sdks/cli).

## Why Evocrawl + OpenClaw

* **No local browser needed** — every session runs in a remote, isolated sandbox. No Chromium installs, no driver conflicts, no RAM pressure on your machine.
* **Real parallelism** — run many browser sessions at once without local resource fights. Agents can browse in batches across multiple sites simultaneously.
* **Secure by default** — navigation, DOM evaluation, and extraction all happen inside disposable sandboxes, not on your workstation.
* **Better token economics** — agents get back clean artifacts (snapshots, extracted fields) instead of hauling giant DOMs and driver logs into the context window.
* **Full web toolkit** — scrape, search, and browser automation all through a single CLI that your agent already knows how to use.

## Setup

Tell your agent to install the EvoCrawl CLI, authenticate and initialize the skill with this command:

```bash theme={null}
npx -y evocrawl-cli init --browser --all
```

* `--all` installs the EvoCrawl skill to every detected AI coding agent
* `--browser` opens the browser for Evocrawl authentication automatically

or install everything seperately:

```bash theme={null}
npm install -g evocrawl-cli
evocrawl init skills
evocrawl login --browser
# Or, skip the browser and provide your API key directly:
export EVOCRAWL_API_KEY="fc-YOUR-API-KEY"
```

Verify everything is set up correctly:

```bash theme={null}
evocrawl --status
```

<Tip>
  Once the skill is installed, your OpenClaw agent automatically discovers and uses Evocrawl commands — no extra configuration needed.
</Tip>

## Scrape

Scrape a single page and extract its content:

```bash theme={null}
evocrawl https://example.com --only-main-content
```

Get specific formats:

```bash theme={null}
evocrawl https://example.com --format markdown,links --pretty
```

## Search

Search the web and optionally scrape the results:

```bash theme={null}
evocrawl search "latest AI funding rounds 2025" --limit 10

# Search and scrape the results
evocrawl search "OpenClaw documentation" --scrape --scrape-formats markdown
```

## Browser

Launch a remote browser session for interactive automation. Each session runs in an isolated sandbox — no local Chromium install required. `agent-browser` is pre-installed with 40+ commands.

```bash theme={null}
# Shorthand: auto-launches a session if none is active
evocrawl browser "open https://news.ycombinator.com"
evocrawl browser "snapshot"
evocrawl browser "scrape"
evocrawl browser close
```

Interact with page elements using refs from the snapshot:

```bash theme={null}
evocrawl browser "open https://example.com"
evocrawl browser "snapshot"
# snapshot returns @ref IDs — use them to interact
evocrawl browser "click @e5"
evocrawl browser "fill @e3 'search query'"
evocrawl browser "scrape"
evocrawl browser close
```

<Note>
  The shorthand form (`evocrawl browser "..."`) sends commands to `agent-browser` automatically and auto-launches a sandbox session if there isn't one active. Your agent issues intent-level actions (`open`, `click`, `fill`, `snapshot`, `scrape`) instead of writing Playwright code.
</Note>

## Example: tell your agent

Here are some prompts you can give your OpenClaw agent:

* *"Use Evocrawl to scrape [https://example.com](https://example.com) and summarize the main content."*
* *"Search for the latest OpenAI news and give me a summary of the top 5 results."*
* *"Use Evocrawl Browser to open Hacker News, get the top 5 stories, and the first 10 comments on each."*
* *"Crawl the docs at [https://docs.evocrawl.com](https://docs.evocrawl.com) and save them to a file."*

## Further reading

* [EvoCrawl CLI reference](/sdks/cli)
* [Browser Sandbox docs](/features/browser)
* [Agent docs](/features/agent)
