-
Notifications
You must be signed in to change notification settings - Fork 0
Agent Glass
ConWan30 edited this page Aug 10, 2026
·
1 revision
AgentGlass is glass D — a read-only spectator API that lets other programs ask Qoresence what is happening in the game without opening the capture card.
- Default OFF, enabled with
--agent-glass. - Binds to
127.0.0.1:8765(same port as Deck). - Optional
Authorization: Bearertoken file. - Reads the same
RetinaEventBusandClipBufferthat the Deck uses.
You can build:
- Your own second-screen app.
- A coaching dashboard.
- A mobile PWA over Tailscale.
- An MCP client for Cursor/Claude.
| Endpoint | What it gives |
|---|---|
GET /api/agent/snapshot |
full state: session, situation, coupling, video health |
GET /api/agent/events?since=&types=&limit= |
paginated timeline events |
GET /api/agent/health |
fast liveness: age_s, frames, coupling
|
GET /api/agent/frame |
latest JPEG, 10 fps/client |
POST /api/agent/clip |
export last N seconds to local MP4, 1/10s |
WS /agent/stream?token= |
live stream of snapshots + events |
# start Qoresence with the spectator glass
python -m qoresence.cli --play --deck --agent-glass --streamer-fps 30
# test
python examples/agent_watch.py --once- Never binds
0.0.0.0by default. - Enable token auth with
--agent-glass-require-tokenorQORESENCE_AGENT_GLASS_REQUIRE_TOKEN=1. - It is a glass — it cannot control the capture card.
For the MCP adapter, see MCP-Glass.
- What is Qoresence?
- Novel Stack
- Operator Runbook
- Capture Ownership
- Retina Deck & Monitor
- Retina Monitor
- Controller-Video Sync
- Two-Speed ClutchBot
- A2A ClutchBot
- Agent Glass — spectator API
- MCP Glass — new AI agent adapter
- Streamr — experimental
- Roadmap
- FAQ