Loops
An agent that starts by itself, on a schedule or when a task enters a status, with no ticket, and leaves a report you can read.
Updated 2026-12-03
A loop is an agent that starts by itself, with no ticket: on a schedule, or when something happens. Use one for what you'd otherwise ask again and again: a Monday check of what is late in the cycle, a look at every task that lands in Triage, a summary on the last day of each cycle.
#Make one
Go to Settings › Agents › Loops and click + Add a loop. A loop has:
- Title: how it shows in the list and in the runs.
- Agent: the one that does it. One that runs on GoKee's server does it there. One that runs on a runner does it on
that machine: when the loop's time comes the loop waits, and the runner takes it in its next poll if it is on and the agent has no ticket (a runner that is off means the loop shows as waiting until it is back). A loop on a runner only gets the tools GoKee lists for it, none for code, and it uses the plan of whoever runs the runner.
- Starts: On a schedule, When a task enters a status or When a project changes status (see below).
- Runs (on a schedule): every hour, day, weekday, week, month or year, or on the last day of every cycle, at a time in
your time zone. A weekly one says which day; a monthly one, which day of the month (1 to 28); a yearly one, which month too. The cycle's last day uses your workspace's own cycles (the pit stop isn't one) and starts at 17:00 unless you change it.
- What it asks: what the agent does, in Markdown. Short and concrete works best.
- For: Everyone in the workspace (admins only), A team, or Just me. A team decides who manages the loop, and the
agent is told that team's guidance; a loop that starts when a task enters a status only takes that team's tasks. A loop just for you, like "my week", is private: only you see it, run it, change it and read its runs (not even an admin), and when a task starts it, only your own tasks count. The agent is told whose it is, so "my" means you. Making one takes the same permission as the others, and a project event isn't for it (a project has no owner).
- It may: Only read (the default) or Read and change things. A loop that only reads is given just the tools that
look things up, so it can't change a task even by mistake. Either way it never closes a ticket and never deletes anything.
- Most it may cost a run: optional. A run that reaches it stops.
Look at this cycle's tasks. List what is late and why, and who it waits for.
End with one line on what to do first.#When something happens
A loop can start when a task enters a status (made in it, or moved to it: Triage, In review…), is put on hold (Blocked, Paused), or its review comes to stand somewhere (PR rejected, PR approved…), or when a project changes status. It reads what happened in the workspace, so it works the same whoever did it and from wherever.
- One run for everything that happened. Five tasks entering Triage in a morning are one run that is told all five (up to 20
titles; it looks each up), not five runs. Titles are data written by people: the agent is told they aren't instructions.
- Not more than once in 10 minutes. What happens meanwhile is picked up by the next run.
- What an agent does never starts a loop. A task an agent moves doesn't wake anyone, so a loop that may change things can't
start itself.
- A new loop starts from now. It isn't told what happened before it existed, nor while it was turned off.
History says what started each run ("2 tasks entered triage: …").
#What happens when it runs
At its time the loop waits for its agent. The agent does its tickets first; when it has none to do, it starts the loop. It uses the agent's own key, its limits and its monthly budget, like any other run.
If the next scheduled time comes while the last one is still waiting (the agent was busy all that time), the new one is skipped: loops never pile up. A skipped run shows in the history so you can see it happened.
Click ▶ Run now to start one by hand (it also waits for its agent), and Turn off to stop it without losing it.
#Read what it did
History on a loop shows its runs, newest first. Open one to see the steps the agent took; the last thing it said is its report. Loops have no ticket, so nothing is commented anywhere: the history is where the report lives. The loop's runs also show in the agent's list of runs, with the loop's name.
#Who can manage them
Everyone in the workspace can read the loops. Making, changing, turning off and removing them is the permission Manage the agents' loops (Settings › Workspace › Permissions), which starts for team leads: a lead manages the loops of the teams they lead, and admins any, including those of no team.