Keep checking until it's done
Type /loop in the chat box, followed by an optional interval and a prompt. The prompt runs straight away, then again and again in the same chat. /proactive does the same.
- On a fixed interval:
/loop 15m check the build log and tell me if any step failedruns every 15 minutes. You can also put the interval at the end, as in "every 2 hours". - When the agent decides: leave out the interval, and after each run the agent picks when to look again, from 1 to 60 minutes later. When the next check depends on an event, such as a command finishing or a line in a log, the event wakes the loop at once.
- With no prompt:
/loopon its own runs your.multilo/loop.mdfile, or a built-in check that carries on with unfinished work in the chat.
When the task is done, the agent stops the loop itself.
A quiet chat while it waits
- The strip above the message box shows "/loop waiting · next check at …" and why the agent chose that time.
- Checks that find nothing new fold into one line, such as "· 3 no-op ticks since 4:35 PM", instead of filling the chat.
- To stop a loop that's waiting, press Esc in the empty message box, or ask the agent to stop it.
Loops of an hour or more
For an interval of an hour or more, or words like "every morning", the agent asks whether to set it up as a Scheduled task instead. A scheduled task keeps running with no end date and starts each run in a new chat. A loop in a chat runs while Multilo is open, for up to 30 days.
Also in this update
- Scheduled tasks in a chat now last 30 days instead of 7, and come back with their chat when you reopen Multilo, skipping the runs they missed.
- Hooks: UserPromptSubmit hooks also run for loop checks and scheduled prompts, and get a
sourcefield that says where the prompt came from.