scheduler • AI Agent SDK
Scheduler module for PraisonAI Agents.
scheduler
AI Agent
Scheduler module for PraisonAI Agents.
Provides agent-centric scheduling via tools — agents can add, list, and remove scheduled jobs without any changes to the Agent class.
Usage:
from praisonaiagents import Agent
from praisonaiagents.tools import schedule_add, schedule_list, schedule_remove
agent = Agent(
name="assistant",
tools=[schedule_add, schedule_list, schedule_remove],
)
agent.start("Remind me to check email every morning at 7am")Default storage: ~/.praisonai/config.yaml (under `schedules` key)
Import
from praisonaiagents import schedulerFunctions
get_default_store()
Return the process-wide canonical schedule store.
set_default_store()Override the process-wide canonical schedule store.