Skip to content

Scheduled workflows — run a universe on a cron schedule #6

@Dhwanil25

Description

@Dhwanil25

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

  1. Store scheduled jobs in localStorage as agentis_schedules — array of { id, task, cron, lastRun, nextRun, enabled }
  2. On app load, check if any jobs are due and fire runMultiAgentTask()
  3. Use setInterval (every 60s) to re-check
  4. Results saved to Memory automatically
  5. Show run history in the Scheduler page table

Relevant files

  • src/components/pages/SchedulerPage.tsx — main UI
  • src/lib/multiAgentEngine.tsrunMultiAgentTask() to call on schedule

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions