Prerequisites
- Node.js 22 and npm
- An agent that can make authenticated HTTP
GETand JSONPOSTrequests (for example Claude Code, orcurlby hand)
Run the demo
1
Clone and start
2
Open a page
Open
http://localhost:5173/control-panel (approval queue) or /store (shopping sandbox). The page’s bridge connects automatically. Keep the tab open and active.3
Copy the agent instructions
The page shows a session token and ready-made instructions. Copy them to your agent. Anyone with the token controls that session, so share it only with an agent you trust.
4
Give the agent a task
For example:
5
Watch it happen
Each action runs in your browser tab, through the same handler a button click would use. You’ll see the queue change live.
Try it by hand
Next steps
Architecture
What just happened under the hood
Add AIP to your app
Expose your own actions