A million tokens and background subagents changed terminal workflows
Two updates in late June and early July looked like minor technical changes. In practice, they changed how people work with agents in the terminal. Context windows of one million tokens became commonplace, and subagents moved into the background instead of pausing the conversation.
A context window big enough for a project
Working with a large codebase used to be an exercise in deciding what to show the agent. Give it three files out of forty and it might make a sensible edit to those three, then inadvertently break something in the other thirty-seven because it had never seen them. Much of the work of prompting was finding the right piece of code at the right moment.
A million tokens makes that kind of manual selection less routine. A midsize service can fit in the context window alongside the conversation history. A question like “Where else is this used?” can often be answered without a separate round of searching the repository.
Subagents that work in the background
A subagent is a separate worker with its own context. You give it a task and it returns the result. The files it reads stay in its own context, leaving the main conversation with the findings.
Launching a subagent used to pause the main conversation. If you sent one to inspect logs, you had to wait even when other work could proceed. Since July, background execution has been the default. The main agent can keep working and pick up the results as they arrive. You can hand off longer tasks and receive a notification when they finish, potentially with a pull request already open.
The difference is easy to see in a review. One subagent can look through the commit history while another checks the tests, leaving you free to discuss architecture with the main agent. Previously, those three steps meant waiting three times in a row.
Where the benefits taper off
Once you can launch several subagents at once, it is tempting to split up everything. Three practical constraints show up quickly.
- Subagents only know what their task tells them. A handoff can fail because it omitted context that seemed obvious to the person writing it.
- Concurrent edits can conflict. Give each subagent a distinct task and pay attention to which files each will touch.
- Results still need review. Background work saves waiting time. One result you have checked is worth more than five you have yet to read.
Three habits worth changing
Give the agent enough context when the project fits. Sharing the whole project can cost less than guessing which three files matter and repairing the consequences afterward.
Use a subagent when the work involves a lot of reading and has a short answer. Log analysis, repository searches, and version checks are good examples. The subagent keeps the thousands of lines and returns the findings.
Write the task as you would for someone joining the project today. Include the relevant background and the expected result, since the subagent starts with the task you wrote.