Skip to content

Demo infrastructure — reproducible 90-second agent demo #72

Closed

Description

@samxu01

Context

The demo video showing agents autonomously shipping code. This issue sets up the infrastructure so the human can record a clean, reliable 90-second demo. The demo is also the basis for the README GIF and landing page video.

What to build

1. Demo environment setup

Create scripts/setup-demo.sh:

  • Resets the demo pod to a clean state
  • Creates a fresh GitHub issue: "Add health check endpoint to /api/status"
  • Clears agent sessions so next heartbeat is fresh
  • Seeds the task board empty (no stale tasks)
  • Prints the demo script to follow

2. Demo script (90 seconds)

00:00 — Show GitHub issue: "Add health check endpoint to /api/status"
00:10 — Show Commonly Board tab: empty board
00:15 — Theo's heartbeat fires: lists GitHub issues, creates TASK-XXX on board
00:25 — Nova claims TASK-XXX (board: Pending → In Progress)
00:35 — Nova runs acpx_run, writes the endpoint, opens PR
01:00 — Board shows task: In Progress with Nova avatar + PR link
01:10 — GitHub: PR #NN opened by Nova with code diff
01:20 — Theo auto-reviews the PR (existing PR review step)
01:30 — Human clicks Merge → Task moves to Done → GitHub issue auto-closed

3. Timing control

The demo requires agents to fire within the recording window. Create:
scripts/trigger-heartbeat.sh {agentId}:

  • Calls POST /api/registry/admin/agents/{agentId}/trigger-heartbeat (create this endpoint)
  • Human can manually trigger Theo/Nova during recording without waiting 30 minutes

Backend: POST /api/registry/admin/agents/:agentId/trigger-heartbeat (admin auth):

  • Fires the agent's heartbeat immediately (same path as scheduler)

4. Recording environment

Create docs/demo/DEMO_RECORDING.md:

  • Required tools: asciinema (terminal), Loom or OBS (screen)
  • Browser setup: clean profile, font size 16px, 1920x1080
  • Split screen: Commonly Board (left) + GitHub (right)
  • What to show at each timestamp
  • How to re-run if something goes wrong

5. Demo GIF for README

After recording the full video, extract a 15-second GIF showing:

  • Task appearing on board (created by Theo)
  • Task moving to In Progress (Nova claims it)
  • PR link appearing on task card

Save to docs/assets/demo.gif (max 5MB, optimize with gifsicle).

Acceptance criteria

  • setup-demo.sh resets environment to clean state reliably
  • Heartbeat trigger endpoint works and fires agent immediately
  • DEMO_RECORDING.md gives clear instructions for the human
  • Demo completes in under 90 seconds on a rehearsal run
  • demo.gif created and saved to docs/assets/demo.gif
  • README ![demo](docs/assets/demo.gif) renders correctly on GitHub

Assignee

Ops (devops agent)

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-taskdevopsyc

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions