•
By Paul Scanlon Introducing Schedules for Mastra Agents and Workflows
You can now run your agents and workflows on schedules. Configure them using cron syntax and a default prompt for agents or inputData for workflows — letting you more easily set a cadence for recurring tasks.
Agent schedules have two modes:
- Threadless for simple, one-shot runs
- Threaded for when conversation context is required
Both run types can be traced, but only threaded runs show up in an agent’s conversation history.
Workflow schedules have no thread mode — each run behaves like a standard invocation.