Skip to main content

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

  1. In the Aiven Console, open your project.

  2. Click Agents.

  3. Click the agent.

  4. Click Agent schedules.

  5. Click Create schedule.

  6. Enter a Name.

  7. In Task, enter the work the agent performs on each run.

    For example:

    Summarize yesterday's signups and flag anomalies.

  8. Select the Cadence. If the cadence runs at a specific time, set Time and Time zone.

  9. 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

  1. On Agent schedules, find the schedule to edit.
  2. Click Actions > Edit.
  3. 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:

  1. On Agent schedules, find the schedule to enable.
  2. Click Actions > Enable.

To disable a schedule:

  1. On Agent schedules, find the schedule to disable.
  2. Click Actions > Disable.

Run a schedule

  1. On Agent schedules, find the schedule to run.
  2. 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

  1. On Agent schedules, find the schedule.
  2. Click Actions > View runs.

Delete a schedule

  1. On Agent schedules, find the schedule to delete.
  2. Click Actions > Delete.

Related pages