CLI reference · Commands
talos automation
Instructions TALOS carries out by itself on a schedule: add, edit, show, run now, history, and the Windows runner.
Reference for TALOS CLI 0.6.18
An automation is a set of instructions, written like a prompt, that TALOS carries out in a folder on a schedule. It runs while talos automation serve is running; on Windows, talos automation install-runner --yes starts that at sign-in. Nobody is there to approve, so an action that would ask you is refused. <id> is the automation id talos automation list shows. Automations made by an older TALOS (for a task of the board) cannot run or be edited: delete them and make them again with instructions.
| Operation | What it does |
|---|---|
listdefault | Lists the automations: id, on or off, schedule, next run and name. |
add | Makes an automation from instructions and a schedule, and says when it runs next. |
edit | Changes the instructions, the schedule or any other part of an automation. |
show | Prints an automation: its schedule and time zone, on or off, next run, folder, mode, model, runs left, and its instructions. |
history | Prints the runs of an automation: when, the outcome and why, and the first line of its report. |
run | Runs the automation now, waits for it to end and prints its report; Ctrl+C stops it. |
enable | Turns an automation on. |
disable | Turns an automation off: it does not run until you turn it on again. |
delete | Deletes an automation with its history. |
serve | Runs the automations when they are due, checking every 30 seconds, until you press Ctrl+C. |
install-runner | Adds a task to Windows Task Scheduler that starts talos automation serve when you sign in to Windows. |
uninstall-runner | Removes the TALOS task from Windows Task Scheduler. |
health | Says whether the TALOS task in Windows Task Scheduler is installed and is the one TALOS set up. |
Without an operation, talos automation runs list.
Lists the automations: id, on or off, schedule, next run and name.
talos automation listMakes an automation from instructions and a schedule, and says when it runs next.
talos automation add <instructions> --when <when> [--name <name>] [--folder <path>] [--model <provider:model>] [--mode <mode>] [--repeat <runs>] [--timezone <zone>] [--coordination]Arguments
instructions- What TALOS should do each time, in quotes.
Options
-
--when <value> - When it runs (required):
every 30m,every 2h,hourly,hourly :15,daily 09:00,weekdays 09:00,weekly mon 09:00,once 2026-10-20 09:00,cron '0 9 * * 1-5'ormanual(only when you run it). At most once every 5 minutes. -
--name <value> - Its name. Default: the first words of the instructions.
-
--folder <value> - The folder it works in, which must be trusted. Default: the project.
-
--model <value> - The model it uses. Default: the model in use when it runs.
-
--mode <value> - The permission mode of its runs:
plan,default,acceptEdits(default) orbypassPermissions. -
--repeat <value> - Stop after this many runs (a whole number, at least 1). Default: no end.
-
--timezone <value> - The time zone of the times in
--when. Default: the computer's. -
--coordination - It may start agents by itself.
Examples
talos automation add "Run the tests and summarize what fails" --when "weekdays 09:00"Changes the instructions, the schedule or any other part of an automation.
talos automation edit <id> [--instructions <text>] [--when <when>] [--name <name>] [--folder <path>] [--model <provider:model> | --default-model] [--mode <mode>] [--repeat <runs> | --forever] [--timezone <zone>] [--coordination | --no-coordination]Arguments
id- The id
talos automation listshows.
Options
-
--when <value> - A new schedule, written as for
add. -
--name <value> - A new name.
-
--folder <value> - A new folder, which must be trusted.
-
--model <value> - A model of its own.
-
--mode <value> - A new permission mode:
plan,default,acceptEditsorbypassPermissions. -
--repeat <value> - Stop after this many runs in all (the runs already made count).
-
--timezone <value> - A new time zone.
-
--instructions <value> - New instructions.
-
--default-model - Use the model in use when it runs.
-
--forever - No end to its runs.
-
--coordination - It may start agents by itself.
-
--no-coordination - It may not start agents by itself.
- At least one change is required.
Prints an automation: its schedule and time zone, on or off, next run, folder, mode, model, runs left, and its instructions.
talos automation show <id>Arguments
id- The id
talos automation listshows.
history
Section titled “history”Prints the runs of an automation: when, the outcome and why, and the first line of its report.
talos automation history <id>Arguments
id- The id
talos automation listshows.
Runs the automation now, waits for it to end and prints its report; Ctrl+C stops it.
talos automation run <id>Arguments
id- The id
talos automation listshows.
- If another TALOS process is running the automations (
talos automation serve), the run is handed to it and followed from here. - An automation without a model of its own uses the global
--modeloption, otherwise the configured model.
Exit codes and errors1
| Code | Exit | Meaning |
|---|---|---|
| exit | 1 | The run did not start, was stopped, or failed. |
enable
Section titled “enable”Turns an automation on.
talos automation enable <id>Arguments
id- The id
talos automation listshows.
disable
Section titled “disable”Turns an automation off: it does not run until you turn it on again.
talos automation disable <id>Arguments
id- The id
talos automation listshows.
delete
Section titled “delete”Deletes an automation with its history.
talos automation delete <id>Arguments
id- The id
talos automation listshows.
Runs the automations when they are due, checking every 30 seconds, until you press Ctrl+C.
talos automation serve [--once]Options
-
--once - Run what is due now, wait for those runs to end (at most 30 minutes), then exit.
- One process runs the automations at a time: a second
servewaits and takes over when the first one stops (with--onceit exits instead).
install-runner
Section titled “install-runner”Adds a task to Windows Task Scheduler that starts talos automation serve when you sign in to Windows.
talos automation install-runner --yesOptions
-
--yes - Confirms the change to Task Scheduler (required).
- Windows only. The task is called “TALOS CLI Automation Runner” and runs under your account.
Exit codes and errors2
| Code | Exit | Meaning |
|---|---|---|
AUTOMATION_CONFIRM_REQUIRED | 2 | This changes a task in Windows Task Scheduler, so TALOS waits for your confirmation. Run the same command again with --yes. |
WINDOWS_REQUIRED | 2 | The command or the configuration is not valid. Check the command, its options and the configuration. |
uninstall-runner
Section titled “uninstall-runner”Removes the TALOS task from Windows Task Scheduler.
talos automation uninstall-runner --yesOptions
-
--yes - Confirms the change to Task Scheduler (required).
- Windows only.
Exit codes and errors2
| Code | Exit | Meaning |
|---|---|---|
AUTOMATION_CONFIRM_REQUIRED | 2 | This changes a task in Windows Task Scheduler, so TALOS waits for your confirmation. Run the same command again with --yes. |
WINDOWS_REQUIRED | 2 | The command or the configuration is not valid. Check the command, its options and the configuration. |
health
Section titled “health”Says whether the TALOS task in Windows Task Scheduler is installed and is the one TALOS set up.
talos automation health