# Hermes Loops

> A prompt Hermes runs again on a timer. It stays in the chat you are in.

**Field:** Artificial Intelligence  
**Category:** Hermes Agent  
**Also known as:** Hermes /loop, Hermes /proactive, Hermes recurring prompt

## Think of it like

It is like a timer that rings every few minutes. Each time, you check the pot.

## Definition

A Hermes loop runs the same prompt again and again inside the chat you are in. You start one with /loop, a time gap and the prompt. You can cap the number of runs, or let a judge stop it when something becomes true. You can pause, resume or stop it at any time. It lives in this one chat, unlike a cron job that runs on its own.

## Example

Jack types /loop 5m check the deploy. Every five minutes Hermes looks at the deploy and tells him what changed.

## Example code

```console
/loop 5m check the deploy --times 6
/loop status
/loop stop
```

Check every five minutes, six times at most, then see it or stop it.

## Why it matters

Watching a slow job by hand wastes your time. A loop does the checking and tells you when it changes.

## Common mistake

Using a loop for a nightly job. A loop lives in one chat, and a cron job runs on its own schedule.

## Three principles

- **This chat only.** It runs inside the open session.
- **A time gap.** Such as every five minutes.
- **Clear ends.** --times, --until, or /loop stop.

## Related terms

- [Hermes Persistent Goals](https://learn.benibix.com/term/ai/hermes-goals)
- [Hermes Cron Job](https://learn.benibix.com/term/ai/hermes-cron-job)
- [Hermes Kanban](https://learn.benibix.com/term/ai/hermes-kanban)
- [Hermes Slash Commands](https://learn.benibix.com/term/ai/hermes-slash-commands)
- [Agent Loop](https://learn.benibix.com/term/ai/agent-loop)

## Told apart from

- [Hermes /loop vs Cron Job](https://learn.benibix.com/compare/hermes-loop-vs-hermes-cron-job): People think a loop and a cron job are the same timer. They are not. A loop runs a prompt again inside the chat you have open. A cron job runs on a schedule outside any chat, and each run gets a fresh session. Use a loop to watch something now. Use a cron job for work every night.
- [Hermes /goal vs /loop](https://learn.benibix.com/compare/hermes-goals-vs-hermes-loop): People think /loop is /goal on a timer. It is not. A goal runs until a judge model says the job is done, or until it runs out of turns. A loop sends the same message again every few minutes, done or not, until it hits its count or you stop it. Use a goal to finish a job. Use a loop to watch one.

![Three lanes. /goal: one chat, a judge checks after each turn, up to 20 turns. /loop: one chat, the same prompt runs again every few minutes. Kanban: a board of cards, each card handed to its own worker profile.](https://learn.benibix.com/diagrams/ai8-hermes-automation.svg)

---

Source: https://learn.benibix.com/term/ai/hermes-loop
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
