Schedule an agent Limited availability
Create scheduled tasks so an agent runs automatically at a specified time or interval.
Use a schedule for recurring work, such as a daily summary of service health. To interact with an agent on demand, see Chat with an agent.
You can also set On demand or a schedule when you create an agent.
Prerequisites
An existing agent. To create one, see Create an agent.
Create a schedule
-
In the Aiven Console, open your project.
-
Click Agents.
-
Click the agent.
-
Click Agent schedules.
-
Click Create schedule.
-
Enter a Name.
-
In Task, enter the work the agent performs on each run.
For example:
Summarize yesterday's signups and flag anomalies.
-
Select the Cadence. If the cadence runs at a specific time, set Time and Time zone.
-
Click Create schedule.
The Console shows when the schedule runs. For example: Runs daily at 09:00 Europe/Berlin.
System instructions define how the agent behaves. Task defines the work this schedule performs.
Edit a schedule
- On Agent schedules, find the schedule to edit.
- Click Actions > Edit.
- Change the Name, Task, Cadence, Time, or Time zone.
Enable or disable a schedule
The Status column shows Enabled or Disabled. A disabled schedule does not run.
To enable a schedule:
- On Agent schedules, find the schedule to enable.
- Click Actions > Enable.
To disable a schedule:
- On Agent schedules, find the schedule to disable.
- Click Actions > Disable.
Run a schedule
- On Agent schedules, find the schedule to run.
- Click Actions > Run now.
The agent opens in a chat and runs the Task from the schedule. You can send follow-up messages in the same conversation.
View schedule runs
- On Agent schedules, find the schedule.
- Click Actions > View runs.
Delete a schedule
- On Agent schedules, find the schedule to delete.
- Click Actions > Delete.
Related pages