v2.5

February 12, 2026

Schedule agents, teams, and workflows with cron-based automation

Agno now includes a built-in scheduler for running agents, teams, and workflows on a recurring basis. Define cron schedules with support for retries, timeouts, and timezone configuration. No external scheduler or infrastructure required.

This simplifies operations for teams that need periodic agent runs, such as daily data processing, recurring report generation, or scheduled monitoring tasks, without introducing external dependencies like Airflow or cron jobs on separate infrastructure.

Details

  • Cron-based scheduling with standard cron expressions
  • Configurable retry policies and execution timeouts
  • Timezone-aware scheduling for globally distributed teams
  • Works with agents, teams, and workflows
from agno.db.sqlite import SqliteDb
from agno.scheduler import ScheduleManager

db = SqliteDb(id="scheduler-demo", db_file="tmp/scheduler.db")
mgr = ScheduleManager(db)

schedule = mgr.create(
    name="weekday-report",
    cron="0 9 * * 1-5",
    endpoint="/agents/reporter/runs",
    payload={"message": "Generate morning report"},
    timezone="UTC",
    max_retries=2,
    retry_delay_seconds=30,
)

for s in mgr.list(enabled=True):
    print(s.name, s.next_run_at)

mgr.disable(schedule.id)

Learn more in the Agno docs