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.
4
You turn it on
On its page, choose Turn on. From then on it runs on its own.
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.
How a run ends
Each run ends saying what it found:
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.
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.
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).
Related
- Triggers: schedules, conditions and GitHub events.
- Rehearsal and permissions: what a routine may do with nobody watching.