Connecting an agent puts the yab command on your Mac. Without an agent, Install in Settings › Developers does, and adds it to your PATH.
yab "find the cheapest flight to lisbon on may 12"An agent does it in Yab and the terminal shows each step, then the answer. If it needs you for a sign-in or a yes, it asks in Yab. yab https://… opens a page in front of you.
--cli codex-m opus --effort high--access fullyab session list resume stopyab session steer queueyab everyyab memoryyab skillsyab guide yab guide mcpyab setup yab removeyab status yab quityab serveyab import chromeYab closed#
Yab doesn’t need to be open. A task or an agent’s first call wakes it hidden, with no window and no Dock icon; a mark in the menu bar shows what is running and anything that needs you. It quits by itself after half an hour with nothing to do.
When it needs you#
A question comes back to whoever started the task. Typed in a terminal, you answer it right there. From a script or another agent, the task ends on its question with exit code 3 and the line that answers it:
yab session resume 4f2a1c "the blue one"A sign-in, a captcha, a code or a yes to Send or Pay you do in Yab, and a notification says so. After ten minutes the terminal is given back with the same kind of line, and the task keeps waiting; --wait-person changes how long. With --no-person, whatever needs you fails at once instead.
A task’s exit code says how it ended: 0 done, 1 failed, 2 a mistake in the command, 3 it needs you, 130 stopped with ⌃C.
A Mac just for agents#
yab serve keeps a hidden Yab open for good, and yab serve --stop quits it. On a Mac nobody sits at, yab serve --no-person makes anything that needs a person fail at once. Start it from a LaunchAgent, with automatic login: Yab draws its pages through the Mac’s window server, so it needs a logged-in user.
Another browser’s sign-ins#
yab import lists the browsers on this Mac, and yab import chrome brings in its passwords and cookies, so agents find you signed in. Yab asks you to confirm in its own window first, then macOS asks for that browser’s key.
For agents: MCP#
Claude Code and Codex reach Yab through its MCP server, yab-browser, and so can any agent that speaks MCP: see Yab’s tools over MCP.