agentcue
GitHub ↗ v0.0.1 · MIT

Point at any element. Cue your Agent CLI immediately.

Terminal coding agents can't see your rendered page. agentcue pushes structured visual Pins straight into agy, claude, cursor-agent, codex, or pi — your code updates and HMR reloads on the spot.

import agentcue from "agentcue/vite"
npx agentcue
<script src="http://localhost:4318/client.js"></script>

Extension version matches the agentcue npm package / GitHub release tag (vX.Y.Z).

Download agentcue-extension.zip from GitHub Releases (latest) Download .zip
Unzip → chrome://extensions → Developer mode → Load unpacked
npx agentcue

Try it right here

The real <agentcue-root> toolbar is active in the bottom-right corner. Click the ✦ launcher (or press Cmd/Ctrl + Shift + F) to enter Pick Mode, click any element below, type a note, and press Cmd/Ctrl + Enter to send.

Interactive Sandbox Card

Pick this card, type a style instruction (e.g. "make background green" or "变成翡翠绿胶囊按钮"), and dispatch a Cue to see both the live visual edit and the exact prompt below.

zsh — ~/projects/my-web-app
READY :4318
~/projects/my-web-app $ npx agentcue ✦ agentcue bridge listening on http://127.0.0.1:4318 Workspace : ~/projects/my-web-app Agents : ✓ agy ✓ claude ✓ cursor-agent ✓ codex ✓ pi # Waiting for your first Cue… # Press Cmd/Ctrl + Shift + F, click an element, add a note, and hit Cmd/Ctrl + Enter.

How it works

  1. Activate — Press Cmd/Ctrl + Shift + F (or click the ✦ launcher) to open the toolbar and enter Pick Mode.
  2. Pick & annotate — Click elements to drop numbered Pins. Type a change note for each, press Enter to save and pick more.
  3. Push Cue — Press S or Cmd/Ctrl + Enter to send all Pins as a structured Cue to your Agent CLI. Code edits and HMR reload automatically.

Keyboard shortcuts

Shortcut Action
Cmd/Ctrl + Shift + F Activate / collapse toolbar + toggle Pick Mode
Enter Save current Pin, stay in Pick Mode
S / Cmd/Ctrl + Enter Send all Pins as a Cue
P Pause / resume Pick Mode
A / 1-5 Switch Agent Target
R Reset current Agent session
C Copy Cue as Markdown
X Clear all Pins
H Hide / show Pins
Esc Close popover or collapse toolbar

Supported Agent Targets

Agent Target CLI Auto-approve invocation
Antigravity agy agy --dangerously-skip-permissions -p <cue>
Claude Code claude claude --dangerously-skip-permissions -p <cue>
Cursor Agent cursor-agent cursor-agent --yolo -p <cue>
OpenAI Codex codex codex exec --dangerously-bypass-approvals-and-sandbox <cue>
Pi pi pi --approve -p -- <cue>