24 AI agents build my app overnight. I just review it.
Can AI agents build your app overnight? Yes: 24 of them build mine while I sleep. One command in Claude Code. Research agents scope my Linear tickets, build agents implement them, and by morning there is one draft PR and a Discord ping. I decide what ships. I'm Manraj Sidhu, AI developer, and this is the real build. Follow @manrajtalks
How to build it
This is the setup for having a swarm of about 24 AI agents work through your app's tickets overnight, so that by morning you have one draft pull request to review and a Discord ping telling you it is ready.
The setup
One command in Claude Code: you start the whole run with a single command, then go to bed.
Linear: the tickets waiting in your backlog are the work. The agents build from real tickets, not from ideas made up on the night.
Wave one, research agents: each one reads a ticket and scopes it, so the build agents know what to do.
Wave two, build agents: they implement the scoped tickets. Across both waves there are about 24 agents in total.
One draft pull request: all the work arrives as a single draft PR, so there is one thing to check in the morning.
A Discord ping: a message tells you where to look when the run finishes.
You decide what ships: the agents never merge anything. You review the draft PR and choose.
Rule 1: never let agents write to main.
Rule 2: work from real tickets.
Rule 3: split thinking from doing. Research agents think and build agents do.
Rule 4: report where you will see it, which here is Discord.
How to set it up
Put your next pieces of work into Linear as proper tickets, each with a clear description of the outcome.
Install Claude Code and open it in your app's repository.
Write one command in Claude Code that reads the open Linear tickets and starts a first wave of research agents, one per ticket, to scope them.
Have the same command start a second wave of build agents that implement the scoped tickets on a separate branch, never on main.
Make every agent's work land in one draft pull request on your git host.
Create a Discord webhook and have the command post a message with the draft PR link when the run ends.
Run it for one or two small tickets first, then check the draft PR and the ping before you leave it overnight.
In the morning, review the draft PR and decide what ships.
Watch out: never let agents write to main. Everything they do goes to a draft PR that you review and merge yourself.
Prompt to build your own
You are helping me set up an overnight AI agent run for my app using Claude Code. I have Claude Code, a Linear workspace with tickets, a git repository on <git host, e.g. GitHub>, and a Discord server where I can create a webhook.
Build me a single command that does the following:
1. Reads the open tickets in the Linear project <project name>.
2. Wave one: starts one research agent per ticket to scope it, listing the files to change and the steps to take. Research agents must not edit code.
3. Wave two: starts build agents that implement the scoped tickets on a new branch. Total agents should be about <number, e.g. 24>.
4. Combines the work into ONE draft pull request. Agents must never write to the main branch.
5. Posts a short message with the draft PR link to my Discord webhook <webhook URL placeholder> when finished.
Rules: work only from real Linear tickets, keep thinking and doing separate, and report somewhere I will see it. Return the command or script, the agent instructions for each wave, a setup checklist, and a small test I can run on two tickets before trusting it overnight.