Skip to main content
Back

Always-On

PilotDeck Agent Series

1. Overview​

Persistence means that when the user does not actively send new tasks, PilotDeck can regularly check the enabled projects, find work worth continuing, complete the tasks in the background, generate reports, and then archive the tasks after the user confirms that the tasks are retained.

The basic working process of resident is:

  1. PilotDeck periodically checks for items that have persistence enabled.
  2. Look for things to move forward based on project documents, memories, recent conversations, and existing plans.
  3. If suitable tasks exist, a plan is generated.
  4. Execute the plan in an isolated workspace.
  5. Generate execution reports and display the results in the resident interface.
  6. After you review the results, you decide to apply or archive the current round of work.

The difference between permanent, ordinary dialogue and scheduled tasks

FunctionHow to triggersuitable task
normal conversationUsers actively send requestsClear tasks that need immediate attention
permanentPilotDeck automatically discovers tasks based on project statusContinuous maintenance, proactive completion and long-term advancement of project work
scheduled tasksExecute after reaching the time set by the userFixed tasks that run daily, weekly, or at a specified time

2. Use​

2.1 Configure Resident​

  1. Enable project persistence

    Press the project to open it permanently and enter**"Settings → Agent → Resident"**, find the target project in the project list on the left, and turn on the resident switch on the right side of the project.

  2. Set trigger conditions

    in**"Settings → Agent → Resident""Trigger" area, click"Edit"**, you can adjust the following parameters:

    settingsfunction
    Check intervalHow often PilotDeck checks whether there is work that can be moved forward on a project
    Cooling timeThe shortest interval between two resident runs of the same project
    daily budgetThe maximum number of plans that can be run per project per day
    Heartbeat expiredThe time range to determine whether the current connection status has expired
    Recent user newsAfter the user has just operated the project, the time range for suspending the triggering is permanent.

    It is recommended to keep the default parameters when using it for the first time. When you need to call the model less frequently, you can extend the check interval and cooling time, or reduce the daily budget.

On the permanent page in settings, click on the item on the left to turn on permanent, and on the right you can edit trigger conditions such as check interval, cooling time, daily budget, heartbeat expiration, and recent user messages.

2.2 View the Resident Interface​

Select any project and click "Explore → Resident" in the upper right corner to enter the resident panel, which contains 2 types of content:

  • **Dashboard:**Used to view the overall running status and operation status of resident tasks, mainly including: resident events, the number of today's events, active projects and running tasks.
  • **Plan:**The generated plan, work cycle, creation time, status and available operations of each project.

Resident dashboard: today’s events, active projects, running tasks and recent events

Resident plan list: View tasks, creation time, status and available actions by project

Click on a specific task in the plan list to view its execution plan and report, and jump to the session page.

Permanent task details: View plans and reports, and open execution sessions

2.3 Apply Resident Results​

Resident tasks execute in an isolated workspace by default. When the page displays "Execution Completed", the changes have not yet entered the main workspace. After confirming that the results are correct, click in the corresponding work cycle on the "Plan" page**"All apps"**, apply the changes in this work cycle to the main workspace. A work cycle may contain multiple plans, and "all applications" will handle the overall results in this cycle.

If you do not need to retain the results of this round, you can archive the corresponding work cycle. Plans that failed to execute can be clicked**"Re-execute"**, but re-execution will call the model and tools again, so you should first check the cause of the failure.

**Note:**Permanently relies on the running PilotDeck service, which needs to be kept powered on and ensure that the network and model services can be accessed normally. Resident cannot wake up a computer that has been shut down or hibernated.

Developer Showcase

View all →