agent-swarm
Install, self-host, deploy, operate, or use agent-swarm. Covers Docker Compose, Kubernetes, configuration, coding agents, the…
Drive a real browser with the agent-browser CLI (headless Chromium over CDP). Use for any browser task: verifying a UI change, taking a screenshot, walking a web page, filling a form, extracting page text, reproducing a frontend bug, or attaching UI evidence to a PR, issue,
Claude Code
$ npx -y skills add desplega-ai/agent-swarm --skill agent-browser --agent claude-code
Codex
$ npx skills add desplega-ai/agent-swarm --skill agent-browser -a codex -y
Cursor
$ npx skills add desplega-ai/agent-swarm --skill agent-browser -a cursor -y
Gemini CLI
$ npx skills add desplega-ai/agent-swarm --skill agent-browser -a gemini-cli -y
GitHub Copilot
$ npx skills add desplega-ai/agent-swarm --skill agent-browser -a github-copilot -y
OpenCode
$ npx skills add desplega-ai/agent-swarm --skill agent-browser -a opencode -y
Windsurf
$ npx skills add desplega-ai/agent-swarm --skill agent-browser -a windsurf -y
name: agent-browser description: "Drive a real browser with the agent-browser CLI (headless Chromium over CDP). Use for any browser task: verifying a UI change, taking a screenshot, walking a web page, filling a form, extracting page text, reproducing a frontend bug, or attaching UI evidence to a PR, issue, Linear comment, or Slack thread. Starts with a `command -v agent-browser` check and falls back to manual QA on the slim worker image. Screenshots are kept on agent-fs and embedded in GitHub as user attachments. This is the only browser automation tool; do not use qa-use."
`agent-browser` (vercel-labs) is the swarm's browser-automation CLI. It drives a headless Chromium over CDP and returns accessibility-tree snapshots with compact `@eN` refs. Use it for any browser task: verify a UI change, take a screenshot, walk a page, fill a form, extract page text, reproduce a frontend bug, or attach UI evidence to a PR, issue, Linear comment, or Slack thread.
Do not use `qa-use`. It is not installed in the worker image any more.
The full worker image (`agent-swarm-worker:latest`) ships `agent-browser` and a headless Chromium. The slim image (`:slim`) has neither. The first command of any browser work is:
command -v agent-browser
If it prints nothing, you are on the slim image. Say so in your progress report ("agent-browser is not available on this worker image") and fall back to manual QA: write the exact steps a human should run and mark the browser test cases as **Blocked**, not failed. Do not install a browser or the CLI yourself.
The CLI bundles its own usage guide. Load it once per task before the first browser command. Do not guess flags from memory.
agent-browser skills get core # overview + common patterns agent-browser skills get core --full # adds the full command reference agent-browser skills list # specialized guides (dogfood, electron, slack, ...)
agent-browser open <url> agent-browser snapshot -i # accessibility tree, interactive elements only, @eN refs agent-browser click @e12 # act on refs from the snapshot agent-browser fill @e7 "text" agent-browser screenshot /tmp/<name>.png agent-browser close
Pass `record start` an absolute path (`/tmp/<topic>/raw.webm`). A relative path resolves against the agent-browser daemon's cwd, not yours, and fails with `ffmpeg write failed: Broken pipe` while `doctor` stays green.
Default: record with `--cursor`, drive every supported pointer action (`click`, `mouse move`, `drag`) with `--human`, and ship the **1.5x video**. Keep the 1x original only if a reviewer asks for it. Human pointer movement follows an eased curve; use `--seed <n>` on `mouse move` to make the take reproducible instead of using a bare move.
Open the page first, then record the interaction:
agent-browser record start ./in.mp4 --cursor agent-browser snapshot -i agent-browser mouse move 600 400 --human --seed 42 --duration 1400 agent-browser click @e3 --human # use a ref from the current snapshot # Perform the remaining QA steps; use --human for drag actions too. agent-browser record stop ffmpeg -y -i in.mp4 -filter:v "setpts=PTS/1.5,fps=30" -an \ -c:v libx264 -preset veryfast -crf 23 -pix_fmt yuv420p out-1.5x.mp4
Speed-up is a post-process step: `record start` has no speed or human flag. Keep `fps=30` to preserve a steady 30 fps output rather than uneven frame drops at an inferred rate. `-an` disables audio because agent-browser recordings carry no audio track. The worker ships only `ffmpeg`, not `ffprobe`; inspect duration with `ffmpeg -i out-1.5x.mp4 2>&1 | grep Duration`.
Add `--contact-sheet` to the start command for a timestamped PNG summary of visual changes. Recording needs `ffmpeg` on PATH; check `agent-browser doctor` before starting. Stop the recording before closing the browser so the video is saved. Keep the 1.5x file on the same agent-fs QA path as screenshots below. In a PR, upload it as a GitHub user attachment and put the URL on its own line, so GitHub plays it inline.
Screenshots on the worker disk disappear with the task. Upload them to agent-fs under the qa path convention: that copy is the durable original. A person opens it through the file link from the Outputs section of your system prompt (the dashboard when configured). `--file` is binary-safe. `--content` is text-only and mangles PNGs.
agent-fs write thoughts/<agent-id>/qa/<topic>-screenshots/<name>.png \ --file /tmp/<name>.png -m "<what it shows>" agent-fs stat thoughts/<agent-id>/qa/<topic>-screenshots/<name>.png --json # confirm size > 0
Install, self-host, deploy, operate, or use agent-swarm. Covers Docker Compose, Kubernetes, configuration, coding agents, the…
Rebuild the feel of a reference motion-design clip (camera, depth of field, easing, captions, outro) as an on-brand agent-swarm…
Reverse-engineer a short motion-design / product-update video (animation technique, timing and easing, composition, transitions,…
Make a design-led motion-graphics video (showreel, eval comparison, feature or bug-hunt story) from one open prompt. Claude Opus…
How to generate repo-committed video content (README hero videos, case-study clips, landing demos) with Remotion. Covers project…
Read the task-digest extension's output. Use when someone asks how many tasks completed or failed recently, or which agents did…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration