> ## Documentation Index
> Fetch the complete documentation index at: https://www.planmyrounds.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How the Agent makes changes

> The Agent only proposes changes. Nothing happens to your schedule or leave until you click Confirm in the chat.

Every change the Agent makes, whether it's a swap, a leave request, or a new shift time, follows the same steps. The Agent works out what you want. PlanMyRounds then checks that you're allowed to make the change and that it follows your organisation's rules. The Agent can't skip these checks.

## From request to change

<Steps>
  <Step title="Ask in plain language">
    For example, "Take me off Friday night" or "Apply for annual leave from 3 to 7 March".
  </Step>

  <Step title="The Agent answers any open questions">
    If something is unclear, the Agent may show a short card with a few questions, such as which leave type, department, or shift schedule you mean. Click your answers to continue.
  </Step>

  <Step title="Review the proposal">
    The Agent checks the change and shows you a **proposal** describing exactly what will happen. Nothing has changed yet.
  </Step>

  <Step title="Click Confirm">
    Select **Confirm** under the proposal. When the change is applied, the chat shows a message starting with **Done**.
  </Step>
</Steps>

<Warning>
  Typing "yes" or "go ahead" in the chat does **not** confirm a change. Only the **Confirm** button does.
</Warning>

## Several changes at once

If the Agent prepares more than one proposal, each has its own **Confirm** button, and a **Confirm all** button also appears. You can confirm them one by one, or all together.

## Proposals expire after 15 minutes

A proposal is only valid for **15 minutes**. After that, ask the Agent again and it will prepare a fresh one.

If the schedule changed after the proposal was prepared (for example, an admin edited the roster or a colleague picked up the same shift), the change doesn't go through. Nothing is left half-done. The Agent tells you what happened and offers to try again.

## Next steps

<CardGroup cols={2}>
  <Card title="Using the Agent as a doctor" icon="user-doctor" href="/docs/agent/using-the-agent-as-a-doctor">
    Everyday requests for your own shifts and leave.
  </Card>

  <Card title="Agent troubleshooting" icon="life-ring" href="/docs/agent/troubleshooting">
    What to do when a change didn't go through.
  </Card>
</CardGroup>
