Tasks
How your HolaClaw assistant does work on its own, now, at a set time or on a schedule, and what a task can and cannot do.
- Desktop
- Server
- Tasks
A task is work your assistant does away from the conversation: "research this and get back to me", "remind me on Friday at 17:00 to send the invoice", "every weekday at 08:00, summarise my notifications". You ask in a chat, the assistant creates the task, and the result comes back to that chat when it is done.
Schedules
A task runs:
- now, once, in the background;
- at a set time, once;
- on a schedule, again and again, like every weekday at 08:00.
A task the assistant creates repeats at most every 5 minutes, and each person can have up to 20 of them active.
Where the result goes
The result of each run goes back to the chat where you asked for the task, marked with the task's name. That target is fixed when the task is created: nothing the model reads later can send a task's result somewhere else.
A recurring task keeps its own history, so each run can see what earlier runs found.
What a task can do
A task runs as the person who created it, with that person's role, but under its own, stricter rules:
- Nobody is there to approve. A tool call that would ask for an approval in a chat is refused in a task. Only a task an admin creates through the API can carry permission for a tool in advance; a task the assistant creates carries none.
- No memory. A task cannot read or write the assistant's memory. When the assistant creates a task, it writes everything the task needs into the task's instructions.
- No new skills, no new tasks. A task can use skills, but cannot teach the assistant one, and cannot create another task.
On Server, the [policy.task] block of an agent's agent.toml decides which kinds of tools a task may use on its own. By default it may read, write and reach the web, and may not run commands.
When the assistant is off
If the assistant is stopped when a task is due, the run is missed. When it starts again, a task the assistant created skips what it missed and waits for its next time. A one-time task whose time passed is marked as failed.
If a run is still going when the next one is due, the next one is skipped.
Tasks on each product
Ask the assistant in a chat to create a task. The assistant's Tasks page lists its tasks, when each one runs and its state.
Ask the agent in any channel, and the result comes back to that conversation. An admin can also create a task through the API, for any agent, with its own step limit and the tools it may use without asking, and choose whether a missed run is skipped or caught up once.
Related
Was this page helpful?
