Back to Browse

How I built an agentic loop with Cursor subagents

8.8K views
Jan 26, 2026
11:02

I am tuning a Cursor subagent called afterhours that runs iterative loops until a task is complete capped at 10 passes. Each loop spawns multiple expert subagents in parallel and writes shared context to a rolling log that carries forward between passes. Hooks manage the loop control and prevent commits to main.

Download

1 formats

Video Formats

360pmp413.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How I built an agentic loop with Cursor subagents | NatokHD