Skip to main content
Agentic workflow includes a built-in business scheduler. You can use it to schedule a agentic workflow or an agent to run at a later time. Many business scenarios require schedule execution. For example:
TEXT

Scheduling a agentic workflow

To make a agentic workflow schedulable, enable the schedulable option in the @flow decorator:
Python
After enabling this option, you can schedule the agentic workflow using a natural language command like:
TEXT

Scheduling an agent

Agents aren’t directly schedulable. Instead, use the agent_run tool to schedule an agent with a request. First, add the tool to an agent. For more information, see agent_scheduler. The agent_run tool is a agentic workflow with a single agent node that calls the specified agent with a request. After adding the tool, schedule the agent like this:
TEXT