Automation
PilotDeck Agent Series
PilotDeck provides two background automation capabilities: Always-On (autonomous Agent) and Cron (scheduled tasks). The former lets the Agent decide what to do on its own, while the latter performs specified tasks according to a set schedule.
1. Always-On
Always-On is PilotDeck’s background autonomous Agent function. When enabled, it will automatically browse files and recent conversations in the workspace when PilotDeck is idle, autonomously determine valuable tasks, complete operations and generate reports in an independent copy. Users only need to read the report and decide whether to adopt it.
1.1 Workflow
Always-On automatically runs the following process in each round:

(1) Discover
The Agent browses the files in the workspace and refers to recent chat records to independently judge what is worth doing and write a Plan (including title, overview and reasons).
- Maximum output is 1 plan per round
- The same tasks that have been produced before will not be repeated
- If nothing worth doing is found, the round ends and the Agent goes to sleep.
(2) Prepare a copy of the work
The Agent will first copy the contents of the workspace and operate on this copy - the original files will not be directly touched. There is only one copy of the same workspace at a time, and subsequent plans will reuse the existing copy.
(3) Execution
The agent operates according to the plan in the replica. This step has strict security restrictions: all changes only occur in the copy, and the original file is not affected; the Agent cannot push the content to the remote.
(4) Report
After the execution is completed, the Agent writes a report describing what was done, why it was done, and a summary of the changes.
(5)Application
Steps 1–4 are completely automatic, and the last step requires manual operation: after viewing the plan and reports in the resident panel, click "Apply" and the changes in the copy will be written to the workspace.
1.2 Operational Constraints
Always-On doesn't run unchecked. The following conditions are checked before each start:
| Conditions | coping behavior |
|---|---|
| Are you talking to PilotDeck? | Wait until the conversation is over |
| Last run time | Default interval is at least 60 minutes |
| Number of resident tasks today | Default maximum 4 times per day |
| Whether another round of tasks already exists | Waiting in line, not running two rounds at the same time |
| Number of plans accumulated in the copy = 3 | Pause first and wait until processing is completed before continuing. |
| Whether the resident function is in sleep state | I couldn't find anything to do last time. I'm waiting for new files to change in the workspace. |
The above conditions are checked every 5 minutes by default.
1.3 Sleep and Wake-Up
If the Agent feels that there is "nothing to do" after scanning a circle, it will not run idle repeatedly, but will go to sleep. During hibernation, it will pay attention to file changes in the workspace. Once it detects that a file has been modified or added, it will exit hibernation and return to the normal regular inspection process.
1.4 Configuration Instructions
| Field | Default value | Description |
|---|---|---|
| language | "en" | The language used by Agent when working, optional "en" (English) or "zh-CN" (Chinese) |
| trigger.tickIntervalMinutes | 5 | How often to check if it is time to run |
| trigger.cooldownMinutes | 60 | The minimum interval between runs (minutes) |
| trigger.dailyBudget | 4 | Maximum number of runs per day |
| projects.<absolute path to workspace>.enabled | false | Whether to enable Always-On for this workspace |
Just specify the workspace path and turn on enabled. The rest of the parameters have default values and no additional adjustments are required.
2. Cron
Scheduled tasks are used to pre-specify a period of instructions and execution time. PilotDeck will automatically start the Agent for execution after the time is reached. Unlike Always-On, scheduled tasks do not require the Agent to "discover" what to do by itself. Instead, the user defines what to do and when to do it, and it is completed on time.
2.1 Two Timing Methods
| way | Description | Example |
|---|---|---|
| Disposable | Execute once at a specified time and delete automatically after execution | "Running tomorrow at 3pm" |
| cyclical | Repeat by cron expression | "Everyday at 9am", "Every Monday at 10am" |
2.2 Execution Process
After arriving at the scheduled time:
- PilotDeck automatically starts an Agent to execute the set instructions
- Agent completes operations in the background without manual intervention
- Execution results are sent to the chat channel where the task was created
2.3 Configuration Instructions
| Field | Default value | Description |
|---|---|---|
| enabled | true | Whether to enable the scheduled task function |
| timezone | "UTC" | Default time zone used for parsing execution times |
| maxConcurrentRuns | 1 | Execute up to several tasks at the same time |
| runTimeoutMinutes | 60 | Maximum execution time of a single task (minutes), automatic stop after timeout |