import { CodeBlock } from "@/components/code-block"; export default function AgentMode() { return (

Agent Mode

agent-browser works with any AI coding agent. Use --json for machine-readable output.

Compatible agents

JSON output

Optimal workflow

Integration

Just ask

The simplest approach:

The --help output is comprehensive.

AGENTS.md / CLAUDE.md

For consistent results, add to your instructions file:

\` - Navigate to page 2. \`agent-browser snapshot -i\` - Get interactive elements with refs (@e1, @e2) 3. \`agent-browser click @e1\` / \`fill @e2 "text"\` - Interact using refs 4. Re-snapshot after page changes`} />

Claude Code skill

For richer context:

Or download:

); }