Agents
Long tasks: an agent works until it is done
An agent keeps working on a task in stretches of 25 steps, with a progress report after each one, until it is done, needs you or uses up the task's budget.
spools long task steps continue autonomy
Before you start
Section titled “Before you start”You need an agent (see Your first agent). A step is one round of tool use: a command on the computer, reading or changing files, a call to a connected app. Long tasks matter most with the team computer and code, where a task can take many steps.
When to use this
Section titled “When to use this”For tasks that take more than a few steps: fixing a bug in a repository, reviewing a long list, preparing a report from many sources. You no longer have to write “continue” when the agent runs out of steps: it goes on by itself.
- Give the agent the task in its chat, as usual.
- It works in stretches of 25 steps. When a stretch ends it writes a short progress report in the chat (what is done, what comes next, any blockers) and starts the next stretch from that report.
- It stops when the task is done, when it needs you (an approval card, a login with Take control, a form for a secret) or when it uses up the task’s budget. Use Stop in the composer to stop it at any time.
- To change the budget, open Agent settings → Autonomy (long tasks): Steps per task and Credits per task, within what your plan allows. Select Save.
Worked example
Section titled “Worked example”You ask “Fix the coupon bug in acme/shop and open a pull request”. After 25 steps the agent writes “I’ve reproduced the bug and found the cause in cart.js; next: fix it and add a test”, and goes on. In the second stretch it changes the code, runs the tests and opens the pull request, then replies with its link. You didn’t have to write anything in between.
What happens next
Section titled “What happens next”The reports stay in the answer, so you can see how the task went. If a task stops because it used up its steps or credits, its last report says where it is: write “continue” and it carries on from there with a new budget.
If Neurothread is updated while the agent works, it closes the stretch with its report and carries on from there a few seconds later, without you writing anything.
Cost and limitations
Section titled “Cost and limitations”Each stretch is billed as it ends (model tokens, computer minutes and searches), and the agent stops if your account runs out of credits. By default a task may use the most steps your plan allows (Free 25, Starter 100, Pro 200, Premium 1000), a quarter of the plan’s monthly credits and 2 hours. A long task with a premium model can cost a lot: a cheaper model is enough for most tasks. Tasks started by inputs (events) still answer in one stretch.
Troubleshooting
Section titled “Troubleshooting”- It stopped with a report and didn’t finish: it used up the task’s steps, credits or time. Write “continue”, or raise the budget in Autonomy (long tasks).
- It stopped and is waiting: it needs you: approve or reject the card, or finish the login with Take control.
- It costs more than expected: lower Credits per task, or pick a cheaper model in Agent settings.
