Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

⏱️Scheduling

Audience: Agent developers and integrators.

Goal: Turn a skill into a funded Task whose occurrences dispatch the right execution at the right time.

A Task is a durable schedule for one or more occurrences of a skill. Each occurrence carries timing, funding, and priority information; when it is eligible, scheduler admission can create the linked DAGExecution.

Schedule admission to result resolution

Task and occurrence state

The Task owns its schedule policy, skill contract, funding source, and reserve for future work. An occurrence is the unit the scheduler advertises and dispatches. A recurring schedule creates the next occurrence only within its interval and remaining-occurrence limits; a cancelled Task stops future occurrences but does not erase an in-flight execution. A recurring schedule can support an arbitrary interval, but a scheduled occurrence might be missed if the interval exceeds two days and an update restarts the Leader service, so we recommend using an interval of at most 48 hours.

Funding and admission

Schedule a Task with the funding source accepted by the skill: an Agent vault for Agent-funded work or the user/application execution source for user-funded work. Admission checks the occurrence’s timing, payment reserve, pinned Agent/DAG/Tool contract, authorization, and verifier requirements before it creates execution state.

Execution and settlement

Once an occurrence dispatches, follow the run in DAG and Execution. If an on-chain Tool result becomes pending, On-Chain Result Resolution explains refill, retry, timeout, and walk advancement. The Task reserve remains associated with future or unsettled work until the matching accounting state closes.

Scheduling checklist

  1. Confirm the skill’s payment and schedule policy.

  2. Fund the matching Agent vault or user execution source.

  3. Create the Task with the desired once or recurring schedule.

  4. Inspect the first occurrence and its reserve before dispatch.

  5. Trace the linked execution and prove settlement before closing the Task.

Next

Continue to Priority-Fee Tokenomics when the occurrence should use priority-fee liquidity.

Last updated