Skip to content

feat: Squad Replay — interactive collaboration playback #10

@tt-a1i

Description

@tt-a1i

Summary

Record a multi-agent collaboration session and export it as a shareable, interactive timeline.

Usage

squad replay --export timeline.html

Output

A single-file HTML page containing:

  • Message timeline: Shows each agent's messages in chronological order
  • Task Gantt chart: Visualizes task creation → ack → completion lifecycle
  • Agent activity: Who was active when, idle time, bottlenecks

Use Cases

  • Team retrospective: Identify where collaboration stalled or which agent underperformed
  • Teaching/demo: Show others how multi-agent collaboration works in practice
  • Content creation: Use as video material or blog illustrations

Implementation

  • All data already exists in .squad/messages.db (messages, tasks, agents, timestamps)
  • Build an exporter that queries the DB and generates a self-contained HTML with embedded JS/CSS
  • Could use a lightweight timeline library or plain SVG

Complexity

Small-to-medium. Data layer is done; this is mostly a read-only export + HTML template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions