Build your own cloud coding agent
Devin-style background agents: a job queue, leases, recovery, GitHub webhooks and pull requests.
Devin, OpenAI Codex (cloud), Claude Code on the web, GitHub Copilot coding agent and Cursor background agents all run your task on a remote machine, then come back with a pull request. Underneath is a classic distributed job system.
About 840 minutes across 6 stages. Skills: Job queues, Leases and retries, Event sourcing, Idempotent webhooks, PR automation.
The guides are part of licode Club.
Stages
- A priority queue and workers.
- Leases, heartbeats and retries.
- Recover from a crash with an event log.
- Turn GitHub webhooks into tasks, exactly once.
- Pull requests, CI and review loops.
- Budgets, cancellation and a report.