For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Schedule an agent
Create a schedule in the kagent UI that runs your agent automatically with a prompt that you choose.
A schedule runs an agent automatically, at times that you choose, with a prompt that you write. Each run starts a new conversation with the agent. In this tutorial, you schedule the personal assistant to write a plan for your day every morning.
Before you begin
- Complete Build an Agent, so that the
personal-assistantagent exists. - Open the kagent UI with
kagent dashboard.
Create the schedule

In the sidebar, click Schedules, and then click New Schedule.
From the Agent list, choose
kagent/personal-assistant.In the Name field, enter
morning-brief.Set when the schedule runs.
Field Value Time zone UTC, or your own time zone. The schedule follows daylight-saving changes in the time zone that you choose.Repeat Daily. The other choices are every few minutes, hourly, weekly, monthly, and a custom schedule. At time 09:00In the Prompt field, enter the message that each run sends to the agent, such as
Give me a short plan for today: three priorities and one reminder to take a break.Leave Enable Schedule on, and click Create schedule.
The page of the schedule shows its status, the next execution in your local time, and an Execution history table that fills in as the schedule runs.
Run, pause, or change the schedule
Use the buttons at the top of the page of the schedule.
| Button | Action |
|---|---|
| Run | Start a run now, without waiting for the next scheduled time. |
| Pause | Stop future runs until you resume the schedule. |
| Edit | Change the agent, the times, or the prompt. |
Each row of the Execution history table links to the conversation of that run.
YAML version
A schedule is not a Kubernetes resource, so it has no YAML. To create one without the UI, use the API, as described in Scheduled runs.