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

# Routines

> Work an agent does on its own for you, on a schedule or when something happens, reporting only when there is something to say.

A routine is work one of your agents does on its own, for you: every morning, every hour, when cards stop moving, or when something happens on GitHub. It runs on what the agent thinks with, and it reports only when it has something to say.

A routine belongs to one agent and runs for its owner. Only you see and change your routines.

## Ask for one

You don't fill in a form: ask your agent in a conversation, in your own words. For example: "Every weekday at 9, look at the open pull requests and tell me which ones wait for a review."

**1. The agent proposes it**

It writes a card, **New routine:** and its name, with **What it does**, **When**, the **Timezone**, **If missed**, where it **Reports in** and the boards it **Opens cards on**. When the routine reads text written outside the workspace, such as pull requests and comments, the card says so.

**2. You approve it**

Choose **Create and rehearse**, or **Decline**. Only the agent's owner decides, and only a turn you asked for can propose one.

**3. It rehearses with you watching**

It runs once right away, on its page, while you watch. What you allow for good during the rehearsal becomes what it may do alone. See [Rehearsal and permissions](https://docs.paraston.com/routines/rehearsal-and-permissions.md).

**4. You turn it on**

On its page, choose **Turn on**. From then on it runs on its own.

To change a routine later, ask the agent again: it proposes a change on a card (**Change to** and the name), which you approve with **Change it**. You can also choose **Edit** on its page to change its name, task, schedule, where it reports and how much it tells you.

## Its page

**Routines** in the sidebar lists your routines by agent, with their state: **Rehearsal**, **On**, **Paused** or **Ended**. Each routine has a page with two views:

* **Overview**: what it does, **When** it runs (and about how often), where it **Reports in**, what it does **If missed**, what it **May do without asking**, its numbers for the **Last 30 days**, and its **Runs**, each with how it ended and **Show work** to open what it did.
* **Conversation**: talk to the agent about this routine. Every message there speaks to the agent.

The numbers count runs, those that spoke, those marked useful or not needed, those with no reaction, runs skipped without a model, missed and failed ones, and what a run takes on average. Rehearsals and runs you started by hand don't count.

## How a run ends

Each run ends saying what it found:

| Outcome | What happens |
| - | - |
| **Nothing new** | Nobody is told. The run shows on the page, folded with the other quiet ones. |
| **News** | Something you should know. You are notified. |
| **Needs you** | Something waits for you. It shows in **Needs you**, and you are notified even from a muted page. |
| **Could not** | The agent could not do the task, and says why. You are notified. |

A run that ends without saying what it found shows as **Ended** with its answer on the page, and you are told. Runs can also be **Skipped**, **Missed** or **Failed**, each with the reason in words.

A run that needs you may also open one card for you in the backlog of a board the routine lists (**Opens cards on**). The card starts no agent.

## Where it reports

Every report is written on the routine's page. If you choose, **News** and **Needs you** also go to General or a channel where the agent is accepted and you can enter. A routine never reports in a direct conversation.

In a channel, a report shows **From the routine**, so everyone sees where it came from.

## Useful and Not needed

Anyone who reads a report can mark it **Useful** or **Not needed**. These marks feed the routine's numbers.

When its last few reports with news or a need got no reaction from you, the routine asks in **Needs you** whether to **Keep going**, **Say less** or **Pause**. It never changes itself. You can also set **How much it tells you** on its page: **Less**, **As now** or **More**.

## Pause, run now, delete

On its page:

* **Pause** stops it running until you turn it on again. Runs waiting to start are skipped.
* **Run now** starts a run by hand, with you watching.
* **Delete** stops it for good. Its page is kept for the record. This can't be undone.

Removing the agent ends its routines too.

## Your plan and its limits

A routine waits instead of failing when what its agent thinks with has no room:

* **On your own plan**, it waits for your plan to reset.
* **On the workspace's key**, at a monthly limit it waits until the month turns, or until an owner or admin raises the limit.
* **If the computer, the AI service or the connection fails**, the run waits and tries again later as the same run. These failures never count against the routine.

The routine's page says why it waits and until when.

### Leave part of your plan to yourself

In **Settings**, under **You**, the **Routines** setting holds routines back once your plan's 5-hour window passes a percentage you choose, so they never use up the plan you work with. They wait and start again when the window opens. Choose **Never hold routines back** to turn this off.

## When a routine pauses itself

A routine pauses itself, and waits in **Needs you**, when:

* Its work fails, or it **Could not** do its task, three times in a row.
* What its agent thinks with could not be used.
* It could not run three times in a row, for a reason outside its work.
* A GitHub routine has none of its repositories left (see [Triggers](https://docs.paraston.com/routines/triggers.md)).

You are told once when it pauses. **Needs you** shows the reason, such as its last error; fix the cause and choose **Resume**.

## Related

* [Triggers](https://docs.paraston.com/routines/triggers.md): schedules, conditions and GitHub events.
* [Rehearsal and permissions](https://docs.paraston.com/routines/rehearsal-and-permissions.md): what a routine may do with nobody watching.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.