Overview
The canvas provides:- Project Visualization: Visual representation of project state and phases
- Agent Status: Real-time agent execution status
- Artifact Display: Generated artifacts and specifications
- Human-in-the-Loop: Interrupt handling and approval workflow
- Project Management: Create, view, and manage projects
Main Components
Project Canvas
Visual canvas showing:- Phase Nodes: Visual representation of execution phases
- Agent Connections: Flow between agents and phases
- Status Indicators: Phase completion status
- Artifact Links: Connections to generated artifacts
Agent Status Panel
Real-time agent execution status:- Active Agents: Currently executing agents
- Progress Indicators: Execution progress bars
- Completion Status: Phase completion states
- Error Display: Agent errors and failures
Artifact Viewer
Display generated artifacts:- Artifact List: All artifacts by phase
- Content Preview: Markdown/code preview
- Download Options: Export artifacts
- Version History: Artifact versions
Interrupt Modal
Human-in-the-Loop approval interface:- Review Artifacts: Display artifacts requiring review
- Approve/Reject: Approve to continue or request changes
- Comments: Add review comments
- Resume Execution: Continue after approval
State Management
The frontend uses Zustand for state management:Real-Time Updates
The canvas uses Server-Sent Events (SSE) for real-time updates:Project Workflow
- Create Project - Enter product seed description
- Initialize - Supervisor creates project and starts PRD phase
- Agent Execution - Agents execute sequentially/parallel
- HITL Interrupts - Human review at strategic points
- Artifact Generation - Artifacts generated and stored
- Completion - All phases complete, project ready
Related Documentation
- Backend Supervisor - Supervisor API
- Design Architecture - System design