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:

  1. Threadless for simple, one-shot runs
  2. 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.

Hey!

Leave a reaction and let me know how I'm doing.

  • 0
  • 0
  • 0
  • 0
  • 0
Powered byNeon
Close