Docs
Everything you need to wire Coworkkit into your app and give the agent something to do.
Install the SDK and wire the closed-loop token route — a working voice copilot in five steps.
Next.js is a one-line drop-in; every other JS backend mints with mintSession. Which stacks fit, and the JS-only caveat.
Add the Coworkkit MCP server to Claude Code or Cursor: live docs with no account, then session diagnostics and config after a one-time browser sign-in.
The closed loop, end to end: what your app declares, what Coworkkit runs, and why the key never reaches the browser.
The four primitives — declare what the agent can do, where the user is, what it can see and operate, and how to steer it.
Let the agent operate the page, not just talk about it — arming, the dual-sided gate, and what stays off-limits.
Gate an action by how much it costs to get wrong: open, a spoken confirm, or a hard on-screen click the agent can't fake.
Multiple surfaces, the session lifecycle, credits and metering, and testing your integration — once the basics are wired.
Every CoworkkitProvider prop and its default — FAB position and drag, the z-index escape valve, the confirmation timeout, the app-wide control baseline, and the wiring props.
Which browsers work (Chromium, Safari, Firefox), the mic + WebRTC requirement, the mobile story, and the React / Next.js versions the SDK supports.
The agent connects but is silent, the mic is blocked, the button never appears — the usual first-run snags and their fixes.