Task Factory was a local web app that ran AI coding agents like a production line. Each piece of work was a card. An agent wrote a plan for each card in the backlog, I approved the plan, and a queue ran approved cards one at a time by default. It was built for a developer who hands most coding to agents and finds that reviewing their output, not producing it, sets the pace. Its README states the premise in one line: "the human is the bottleneck".[2]
I built it on the Pi agent SDK between 11 February and 2 March 2026, in 292 commits, and published it to npm as task-factory.[1] It is finished. It grew out of the Jobs pipeline in pi-deck, and Neon Pilot (Personal Agent) came after it.
Background
By early 2026 I believed writing code had stopped being the hard part of software work. I wrote in February that "writing code isn't the bottleneck anymore", and that the remaining work was deciding what to build and checking the result.[4] Two months before, I had settled on a workflow of planning with the strongest model, reviewing the plan in plain English before any code existed, and then letting a faster model implement it.[5] Task Factory turned that workflow into an app. Ten agents running at once give one reviewer ten times the output to check and the same hours to check it in.[3] So the app let the backlog grow without limit and kept the running line narrow.
Timeline
- 11 February 2026: first commit, as "pi-factory". The same day SQLite is removed and Markdown files become the only record of a task. The agent must call an explicit
task_complete tool to finish.[1]
- 12 to 13 February: the planning agent is named Foreman. A summary after each run compares the result with the task's acceptance criteria. Planning and execution get separate models, and a planning agent that runs out of tool budget gets one grace turn to save its plan.[1]
- 14 February: renamed Task Factory. Each task becomes a folder of YAML and Markdown.[1]
- 15 February: the limit on how many tasks may wait in the ready column is removed and then restored the same day. The planning budget is raised and a guardrail on reading files is removed.[1]
- 17 February: a full background-service CLI. Foreman gets tools to manage tasks, message agents and write new skills and extensions.[1]
- 18 February: a circuit breaker pauses dispatch to a model provider after repeated rate-limit, quota or login failures. Model profiles gain fallback chains. Tasks left running at a crash are recovered at start-up.[1]
- 20 to 22 February: pipeline statistics (throughput, rework, cycle time) and a CLI expanded by 53 commands with JSON output.[1]
- 2 March: last commit. A capability contract for the CLI and a check that its documentation and skill match the commands, so that other agents can drive it.[1]
How it worked
The app had a local server, a web client, and Pi as the agent runtime. A task folder held the request, the plan, acceptance criteria, attachments, model choices and usage. A queue manager pulled the oldest ready task whenever a slot was free, and by default there was one slot.[3]
Skills ran in lanes around the work: before planning, before execution and after execution. The default post-execution order was a checkpoint, a code review and a documentation update.[1] Foreman was a chat agent scoped to one workspace. It brainstormed, drafted task cards and made HTML artifacts, and every conversation with it led toward a card on the line.[3]
There was no sandbox. Task Factory ran agents with the user's own permissions and no approval prompts, which its README warns about.[1]
How it went
For producing code, the factory worked. One task at a time kept agent output at a pace I could review, and the explicit completion signal mattered more than I expected. An agent that stops to ask a question has not finished, and without a separate signal the app could not tell the two apart.[3] The circuit breaker and fallback chains also earned their place. Model providers failed often enough that a queue running unattended needed to back off and switch models on its own.[1]
The factory fit only one kind of work. Everything had to become a task card. Research, a half-formed idea or a conversation I wanted to have with an agent had no natural place, so the factory turned every idea into a work order.[3]
Review was weaker than it looked. The post-execution summary checked the work against the acceptance criteria, which helped me read it, but the agent that did the work was also grading it.[3]
I also never settled the limits. The ready-column limit was removed and restored within one day, and the planning budget and read guardrail changed in the same session.[1] The commit log shows the uncertainty. Several fixes in the second week also dealt with sessions that stalled after a tool result or went stale, which a queue that runs unattended can't recover from without help.[1]
Lessons
The human is the bottleneck, so a harness should run work at the pace one person can review it. Four months later I was still making the same point, that the limit had moved to deciding what to do and verifying what was done.[6]
Completion should be an explicit, structured act. "Stopped" and "done" are different states, and a harness that can't tell them apart either stalls or declares victory early. The task shape had a limit of its own. A tool that shapes every request into one kind of work fits only that kind of work, and for me that kind was code.
An agent's report on its own work against the criteria helps a reviewer find their way around the change, and it still needs a second check. In BB Studio most changes now get a separate review pass, and its public history has dozens of commits titled "review fixes".[9] The lessons across all five projects are collected in Lessons from a year of building agent harnesses.
What carried over
The app itself stopped, and its ideas moved on. The last commits made the CLI something another agent could drive, with JSON output and a documented contract.[1] Giving agents a CLI to the tool they run inside became a habit; by November 2026 my agents used bb's command-line tool constantly.[7] The explicit completion signal returned in August 2026 as Agent Checklists, a plugin for bb and bb-plugins that attaches a structured checklist to a thread and continues the agent automatically while items remain open.[8] The phrase "the human is the bottleneck" stayed with me through every later project (Agent workbench).
See also
Reading
References
- ^ Task Factory source code and commit history (GitHub)
- ^ Task Factory README, Philosophy: the human is the bottleneck
- ^ From pi-deck to bb: four tries at a home for agent work (experiment, Sep 2026)
- ^ FOBO, grief and bottlenecks (post, Feb 2026)
- ^ It's time to let the model drive (post, Dec 2025)
- ^ The bottleneck has moved to deciding and verifying (@trashpandaemoji, Jun 2026), since deleted
The bottleneck used to be coding so we optimized for the bottleneck. The bottleneck now is figuring out what to build and verifying the output. Pretty soon it will be just figuring out what to build or the really hard technical parts that require deep expertise and…
- ^ The harness features I can't live without (post, Nov 2026)
- ^ bb-plugins: my public plugin collection for bb, including Agent Checklists (GitHub)
- ^ BB Studio commit history (GitHub)