-
Notifications
You must be signed in to change notification settings - Fork 349
Description
We should support users creating cron jobs via the UI. We should expose a cron job button/icon on the card of every agent that allows a user to both view all of their existing cron jobs on that agent, and create a new cron job for that agent.
The cron job dialog UI should list all of the crons a user has, and allow them to inspect their input and schedule. It should also allow them to edit and delete them. (maybe show a data table for this? if so, please use the existing data table component)
Somewhere in that dialog, there should be a way to create a new cron job.
We should allow users to set:
- cron job name
- schedule
- input message
ensure these cron jobs which are kicked off will call the specific agent they were added to (agent = assistant)
do not allow crons to be added to default assistants
IMPORTANT: Ensure you set the owner
field inside the metadata of the cron to the user's ID (supabase user ID)
Here is the documentation on crons in LangGraph: https://langchain-ai.github.io/langgraphjs/cloud/how-tos/cron_jobs/
Context: an agent in Open Agent Platform is the same as an assistant in LangGraph