# Agentic development is a queueing problem

> Agentic development means handing whole tasks to coding agents. Once they work unattended, the hard parts are queues, review, and recovery, not prompts.

Published: 2026-11-30 · Topics: Agents, Product · Canonical: https://nested.me/blog/agentic-development-is-a-queueing-problem

## A definition you can test

“Agentic development” is used for almost anything with a model in it, so here is a definition narrow enough to be wrong: **agentic development is software work where the unit you hand over is a task, not a keystroke, and the agent finishes it without you watching.**

The test is simple. After you ask, can you close the laptop? If the work stops when you stop looking, you have an assistant. If it carries on, you are doing agentic development.

| Mode | Unit you hand over | Who holds the loop | What you wait for |
| --- | --- | --- | --- |
| Autocomplete | A line | You | Nothing |
| Chat in the editor | An edit | You, turn by turn | Every reply |
| Delegated task | A task | The agent | A result, or a question |
| Event-started task | A task nobody typed | The agent, started by a trigger | A notification, or nothing at all |

Only the last two rows pass the test.

## The bottleneck moves

In the first two modes, the limit is how fast the model answers and how fast you read. In the last two, an agent works for minutes or hours, and you run several at once. The slow parts are now the ones any operations engineer would recognize: work waiting in a queue, work blocked on a person, two jobs touching the same thing, and a worker that died halfway.

A better prompt fixes none of those. The rest of this post takes them one at a time and says what we built for each in Nested. The numbers are the shipped defaults.

## Work waits somewhere, so make the queue real

In a chat window, a task lives in a browser tab. Close the tab and the question of what happens next has no good answer.

A task in Nested is a row in Postgres, in your cluster. The agent’s worker claims new tasks every five seconds and runs up to four turns in parallel. One turn may run for up to 24 hours. A fifth task waits as submitted until a slot opens.

Storing the work before anything runs it has a useful side effect: the agent itself becomes optional. An agent with nothing to do for 10 minutes scales to zero, and the next task wakes it. The task was already safe in the queue, so nothing is lost while the pod starts. The mechanics are in [Inside cloud-agent](https://nested.me/blog/inside-cloud-agent).

## The scarce resource is your attention

Queueing theory has a blunt lesson for this setup. When the workers are cheap and their jobs are long, how busy the workers are tells you nothing. What matters is the wait at the one station everybody shares. Here that station is you.

With six tasks running, the expensive event is not an agent thinking. It is an agent that stopped on a question twenty minutes ago while you were looking at a different task. So “blocked on a person” has to be a state the product can see, not a sentence at the bottom of a long reply.

In Nested a task that needs an answer, a sign-in, or a decision moves to **Needs you** at the top of the task list, and a notification can reach your phone. The rule we design to is this: an agent may wait on a person for days, but it must never wait on a person who does not know.

## Parallel work collides

Two agents in one checkout overwrite each other’s files. People solved this long ago with branches, but a branch is only a name. Two processes editing at the same time need two directories.

A repository task in Nested can run in its own git worktree, so two fixes in one repository never share a working copy. When a task is done, you review its changes and delete its worktree. See [The task panel, changes, and worktrees](https://nested.me/docs/task-panel).

## Review is the job now

When the agent writes the code, your work is reading it. That changes which screen matters. The chat is the agent’s account of what it did. The diff is the evidence.

So the changed files sit beside the chat. You read the diff file by file and mark each file **Viewed**. If the agent edits a file after you marked it, the file shows **Changed since viewed**, which is the one fact a reviewer of a moving target most needs. When a diff is not enough, you open a terminal or the desktop on the agent’s machine and check the result yourself.

## Workers die

A node drains. A container runs out of memory. An image updates. With a person at the keyboard, a crash is an annoyance. With nobody watching, it is a task that silently never finishes.

Each Nested agent is a single pod, which makes the rule simple: on boot, any task that was working before this process started was interrupted, by definition. The agent asks the task service to continue each one, on the same path as you typing “continue”.

That is capped at three automatic recoveries per task per hour. After that the agent stops and tells you. A crash loop should not spend your model budget overnight.

## Some steps need proof, not trust

A single long turn has nothing in it that forces the agent to reproduce a bug before it fixes it. When the order of the work matters, the work needs a shape with checks between the stages. That is a formula, and it is the subject of [What a software factory borrows from a real factory](https://nested.me/blog/software-factory-quality-gates).

## What agentic development does not fix

- **A vague task.** You get a confident wrong result, sooner. Delegation punishes an unclear request more than chat does, because nobody corrects the course turn by turn.
- **Review time.** Writing got much faster. Careful reading did not. A team’s real throughput is bounded by how much diff its people can read well.
- **Cost.** Four parallel turns that may each run for a day is a real model bill. Idle agents cost nothing; busy ones cost what busy engineers’ machines cost, plus tokens.
- **Work you understand only by doing it.** When the design appears while you type, stay in the editor. Delegate the task once you can state what done looks like.

## Seven questions for any agentic development platform

These apply to Nested and to anything you compare it with.

1. Where does a task live when no agent is running?
2. What happens to a turn when its worker restarts?
3. How do I find out that an agent is waiting for me?
4. Can two tasks work on one repository at the same time?
5. What do I review: the agent’s summary, or a diff?
6. Who can approve a step? Can the agent approve itself?
7. Where are the prompts, the code, and the tokens stored?

Our answers to the last one are in [Why Nested runs inside your Kubernetes cluster](https://nested.me/blog/why-nested-runs-in-your-cluster). For the first six, start with [How tasks work](https://nested.me/docs/tasks-lifecycle).

## Questions

### What is agentic development?

Software work where you hand a coding agent a whole task and it finishes without you watching. The test: the work continues after you close the laptop. Autocomplete and turn-by-turn chat in an editor do not pass it.

### What is an agentic development platform?

The system around the agents: a durable task queue, a way to tell people an agent is waiting, isolation between parallel tasks, diff review, and recovery after a crash. Nested is one that runs on your own Kubernetes cluster.

### How many tasks can one Nested agent run at once?

Up to four turns in parallel. The agent claims new tasks every five seconds, and further tasks wait as submitted until a slot opens. A single turn can run for up to 24 hours.

### What happens to an agentic task if the agent crashes?

In Nested the agent finds interrupted tasks when it boots and continues them, up to three times per task per hour. After that it stops and asks you to send a message to continue.
