-
Notifications
You must be signed in to change notification settings - Fork 0
Scheduled workflows — run a universe on a cron schedule #6
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
Allow users to schedule an Agent Universe task to run automatically at a set time or on a recurring schedule — like a cron job for AI research.
Use cases
- "Every Monday morning, summarise last week's AI news"
- "Check our competitor's pricing page every day and alert me if it changes"
- "Generate a weekly status report from our GitHub issues"
UI
The Scheduler page already exists in the sidebar. It currently has placeholder UI. This issue is to wire it up with real scheduling logic.
Implementation plan
- Store scheduled jobs in
localStorageasagentis_schedules— array of{ id, task, cron, lastRun, nextRun, enabled } - On app load, check if any jobs are due and fire
runMultiAgentTask() - Use
setInterval(every 60s) to re-check - Results saved to Memory automatically
- Show run history in the Scheduler page table
Relevant files
src/components/pages/SchedulerPage.tsx— main UIsrc/lib/multiAgentEngine.ts—runMultiAgentTask()to call on schedule
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request