The Tasks Manager Agent
Pro Only
The Tasks Manager is an AI agent session that runs the Tasks tool's queues for you. You write tasks on the Plan tab and mark them Ready; the Manager decides which queue each one goes to, in what order, and which can safely run at the same time. It starts the work, answers or passes on the questions that the working agents ask, and lines up the results on the Review tab, or commits them if you allow that.
The Manager reads each task and the code it names, keeps tasks that are likely to touch the same files apart, and runs unrelated work side by side. Tasks run autonomously: each works as far as it can without stopping to ask, and ends with a report of the decisions it made and any questions it still has. Questions from every queue are collected on the Questions tab, and problems that agents notice outside their task are filed as draft tasks in a Found goal on the Plan tab.
The Manager is also an agent you can talk to. Ask it why a task is being held, what a queue is doing, or how a part of the Tasks workflow works, or ask it to sort out a stuck queue, a refused commit, or a task that should be split.
The Manager never edits files itself. The work is done by ordinary agent sessions in ordinary queues, the worker queues, which you can watch, talk to, and review as you would without the Manager. Every change the Manager makes to your tasks is listed under Decisions and can be reverted.
To watch the Manager at work on example projects, see the demos on Wingware's website.
Turning On the Manager
Not all AI agents are well suited to run the Manager. See the table in AI Agent Safety for details.
A project set up for an agent in the New Project or Set Up for AI Agent dialog has the Manager on by default, since the dialog's Autonomous Tasks Manager checkbox is checked. For other projects, press Turn On in the Manager's bar at the top of the Tasks tool's Execute tab. The same switch is Use Tasks Manager Agent in the Tasks tool's options menu, and Task Scheduling on the AI Agent tab of Project Properties, where it is a choice between Manual Queueing and Tasks Manager Agent. Changing any one of these changes the others.
To turn the Manager off, uncheck Use Tasks Manager Agent or set Task Scheduling to Manual Queueing. Its session is closed, and your queues and tasks are left as they are. Tasks then run interactively when you queue them yourself, as described in Running Tasks Without the Manager.
The Manager's settings are described in Tasks Manager Settings.
Running Tasks with the Manager
While the Manager is running, it picks up Ready tasks as they appear and never runs a Draft. See Ready and Draft in Planning Goals and Tasks for the exceptions and the notes it shows on waiting tasks. Run Ready Tasks in the options menu asks the Manager to schedule every Ready task right away, resuming it first if it is paused.
The Manager decides whether a task is researched before it is carried out. To have a task researched first in any case, check Research First in its right-click menu.
The Manager's Queues
The Manager works only in queues that it creates itself, named for the work they run (for example Test discovery), and removes them once they are no longer needed. Read-only queues that it uses for research are named Research: followed by the topic. Closely related tasks usually run one after another in the same queue and session, so that later tasks keep the context of earlier ones. A task that follows up an earlier one may run in that task's session even after the session has closed, if the agent can resume it. Each task still keeps its own report, changes, and Review entry.
Queues you create yourself remain yours. The Manager never assigns work to them, starts, pauses or commits them, or answers their tasks' questions. To run a task yourself alongside the Manager, right-click it on the Plan tab and select one of your own queues from its Queue submenu. The Manager takes the tasks in your queues into account when it decides how many tasks can safely run at once.
When a worker queue uses Claude Code or Codex, the Manager chooses which optional tools its session loads for each task: artifacts, bundled skills, browser control, web search and fetching, connectors, workflows, and scheduling (timers, scheduled jobs, and phone notifications). A task gets only those it needs, which reduces the agent's token use. Codex leaves out only its bundled skills, web search, and goal and sleep tools, since it lacks the rest or they cost nothing. A worker that needs more asks Wing for them, and Wing restarts its session with them added, resuming the same conversation. Tasks in your own queues, and sessions you start yourself, load the full set.
While a worker is running, the Manager can send it a message, for example to say that another task has just changed a file it is working on. Wing delivers the message as soon as the worker's agent can take it, prefixed with "Wing, relaying the Tasks Manager:". The Manager can also interrupt a worker that is wasting effort and redirect it.
The Manager can also send tasks to other machines; see Sending Tasks to Other Machines.
The Manager's Bar
The top of the Execute tab shows the Manager's bar:
- Its state (Starting..., Waiting for its session, Planning..., Idle, Waiting for you, or Paused), followed by counts of running workers out of the allowed maximum, Ready tasks, and items waiting for you. Waiting for its session usually means the Manager's agent is asking something at startup, such as whether to trust the folder or to sign in; click the show (eye) icon to answer it.
- The Manager's latest note on what it decided and why, such as "Holding 'Refactor dispatch' until the Test discovery queue finishes: both change tasks.py".
- Decisions, which lists every change the Manager has made to your tasks.
- Icons to hold and resume new work, show the Manager's session in the AI Agent tool, and open its settings.
- A Tell the Manager... field, which sends what you type to the Manager as if you typed it in its session. It is disabled while the Manager is paused.
You can also talk to the Manager in its own session in the AI Agent tool, for example to change its plan ("run the documentation tasks last"). Click the show icon or the Manager's name on its bar, or select its session in the AI Agent tool's session selector.
Holding New Work
To let running tasks finish without starting any more, for example before restarting Wing, click the pause icon at the right of the Manager's bar. Each queue pauses once its current task is done, and the Manager starts and queues nothing new. It still commits finished work as its Commits setting allows, and answers questions. The hold stays in place across a restart. Click the resume icon to go on.
Halting
To stop all work at once, click the cog to the left of Manager on its bar. Wing interrupts every agent that is working on a task, holds new work as the pause icon does, and pauses the Manager. Interrupted tasks stay where they were, and their queues show Halted. Click the cog again to resume: the queues go on, and each interrupted agent continues its task where it stopped. The cog on a halted queue's line continues only that queue's task.
There is no need to halt or hold work before putting your computer to sleep. Work stops while it sleeps and goes on when it wakes.
Pausing
The Manager pauses when you halt work with the cog, when you interrupt it with Esc in its session, and when its session ends, fails, or does not become ready. Its bar shows the reason. While the Manager is paused, it schedules and commits nothing and answers no questions, but queues that are not held go on with the tasks already in them. When it resumes, Wing tells it what happened meanwhile. Click the cog again, or tell the Manager to continue, to resume it.
The Manager also pauses when it reaches its AI usage limit. Its bar then shows when the limit resets, and Wing resumes the Manager at that time.
You can still talk to a paused Manager in its session. It answers questions and does what you ask in that conversation, but schedules nothing on its own until it is resumed.
A Manager that was running when Wing quit or the project was closed resumes when the project is opened again. One that you paused or turned off stays that way.
Manager Decisions
The Manager changes your tasks in several ways: queueing them, adding notes, rewriting unclear found tasks, ordering the Found goal, merging duplicate findings, retiring findings that are no longer worth doing, splitting tasks, proposing new draft tasks, and making follow-ups Ready. Each change is recorded, and a task that the Manager revised or made Ready says so on its row, with the details in its tooltip.
Decisions on the Manager's bar lists these changes, newest first. Select one to see it in full below the list, with the text of its task. Click Revert to undo it, as long as the task is still as the Manager left it; a change that can no longer be reverted is greyed out, and the details area says why. Double-click a change to show its task on the Plan tab. Undo in the Tasks tool also reverts the Manager's latest changes in turn.
A task that the Manager retired or merged into another goes to the History tab, where Restore to Plan puts it back on the Plan tab as a Draft. The Manager notices when you revert one of its changes, and does not make that change again without asking you.
Questions from the Manager and its workers are collected on the Questions tab; see The Questions Tab. Problems that agents find along the way are described in Found Problems.
Reviewing the Results
Finished work arrives on the Review tab with each task's report and judgement calls; see Reviewing Tasks.
When its Commits setting allows, the Manager commits each queue's work once its tests pass. The commit runs in that queue's own session, which knows the work best. While it runs, queues whose uncommitted work touches the same files wait before starting another writing task. When two queues' work depends on each other, the Manager commits them together. If a commit fails, its tasks stay on the Review tab and the queue stays paused until the cause is fixed.
The Manager also writes the project's Journal, naming the phases of each sitting of work; see Task History and the Journal.
Tips
See Using AI Agents Effectively for writing tasks and specifications. In addition:
- Use goals to group related work. Tasks in one goal are often done in sequence, while tasks in different goals are the likeliest to run side by side.
- Set Maximum writing workers to one to see one change at a time until you are comfortable with how the Manager splits work. Research and review tasks still run alongside the writing worker.
Section Contents