Create .coral/ shared state
Initializes attempts, notes, & skills directories
Clone repo + create per-agent workspace
Each agent gets an isolated workspace
Symlink .coral/public/ into each workspace
Shared knowledge is readable and writable by all agents
Generate CORAL.md per agent
Meta-instructions + task-tailored system prompt
Spawn N agents
Run in parallel in isolated workspaces with a shared knowledge space
Read & analyze leaderboard · notes · skills
Full context: codebase + recent & top attempts + scores & feedback + shared learnings
Plan & edit code
Independent strategy in its own isolated workspace
Eval: coral eval -m "description of the solution"
Runs grader against current code + logs attempt, score, & feedback
Write notes & skills to .coral/public/
Discoveries shared with all other running agents
Watch .coral/public/attempts/
Monitors all agent activity in real time
Heartbeat due?
YES
Take a pause
reflection, consolidation, & knowledge sharing
NO
↺ back to watching