jam record gets these from the browser over the Chrome DevTools Protocol, the same protocol agents already use to drive Chrome. You point one flag at the agent’s browser, and the Console, Network, and user-action panels fill themselves.
This page shows how to connect the agents and tools we have tried. The video and the panels both come from the browser itself, so the browser can be headless and nothing new runs on the page under test.
jam record runs on macOS and Linux. Recording a browser this way needs a Chromium-based browser, which covers Chrome, Edge, and the Chromium that agent tools launch.What the video shows
With--cdp, the video comes from Chrome by default. Chrome sends a picture of the page each time it changes, and the CLI turns those pictures into a 30 fps video on the same clock as the console and network rows. Pick screen capture instead with --video-source screen.
Naming a window or display with
--window-id, --app, --bundle-id, --pid, or --display also switches to screen. A screencast needs ffmpeg, and jam record start names the install command when it is missing.
The two ways to connect
An agent’s browser reaches a recording one of two ways. Both need a browser the CLI can reach on a debug port.- Tap.
jam record start --cdp <port>attaches to a Chrome the agent already drives. The Console and Network panels fill from every open tab. - Proxy. With
--cdp,jam record startalso prints acdpProxyaddress. Point the agent at that address instead of at Chrome, and its clicks and keystrokes become user actions in the Jam. This is how you record actions without changing the agent.
Ask your agent to do it
Install the skills once, and the whole procedure below is already where your agent reads it:proof, evidence, or show me and it reaches for the same skill.
If your agent cannot load skills
Paste the procedure instead, with your own claim in the title.agent-browser
agent-browser is a command-line tool that drives Chrome, headless by default. Let it launch its browser, record that browser, then drive through the proxy so the clicks land.chrome-devtools-mcp
chrome-devtools-mcp is a Model Context Protocol server that connects to a running Chrome. Because it takes a browser URL, it takes the proxy’s URL.1
Start recording with the tap
Start
jam record start --cdp <port> against the Chrome the MCP will drive, and read the cdpProxy address from the receipt.2
Point the MCP at the proxy
jam record stop when the run is done.Playwright and Puppeteer scripts
A script that connects to a running Chrome drives it over the same protocol, so it takes the proxy’s address in place of the browser’s. Read the address from the start receipt and pass it to the script:connect({ browserURL }) takes the same address. For a Playwright run you keep after the fact rather than recording live, jam create jam reads the video and trace directly. See Turn a Playwright failure into a watchable Jam.
Computer-use agents
An agent that moves the real mouse and reads the screen, rather than speaking the DevTools protocol, sends no commands for the recorder to see. If its browser was launched with a debug port, tap it anyway withjam record start --cdp <port> --video-source screen: the Console and Network panels still fill from the browser’s own events, and the screen video shows the cursor the agent moves. Only the user-action rows are missing, because there is no command to record.
Browsers the CLI cannot reach
An agent that runs as a Chrome extension drives your normal browser, and an app with a built-in browser pane, such as the Codex desktop app, keeps it to itself. Neither exposes a debug port, so neither path reaches them. Record the window withjam record start --app <name> for the video, and read the agent’s own logs for the rest.
Any other tool
The pattern is the same whatever drives the browser. Get a DevTools address for the browser, start the recording with--cdp on that address, and hand the printed cdpProxy address to the tool wherever it takes a browser URL or a DevTools endpoint. The video, the console, and the network come from the browser either way. User actions come from any tool that drives over the protocol.

