# Hermes Persistent Goals

> A job set with /goal. Hermes keeps at it until a judge says done.

**Field:** Artificial Intelligence  
**Category:** Hermes Agent  
**Also known as:** Hermes /goal, Hermes Ralph loop, goals.max_turns

## Think of it like

It is like telling a child to tidy until the floor is clear. You check after each toy.

## Definition

A persistent goal is a job you give Hermes with /goal that it keeps working on by itself. After each turn, a small judge model reads the last reply and decides if the goal is done. If not, Hermes sends itself a prompt to carry on. By default it stops after 20 extra turns and waits for you. It all happens inside one chat.

## Example

Leo types /goal fix every failing test in tests/. Hermes fixes, runs the tests, and goes again, and stops when they all pass.

## Example code

```console
/goal fix every failing test in tests/ and make them pass
```

Set the goal once. Hermes keeps going until it is met or 20 turns pass.

## Why it matters

It saves you typing keep going again and again on a job that takes many turns.

## Common mistake

Writing a goal with no clear finish. The judge cannot say done, so it runs out the 20 turns.

## Three principles

- **A judge decides.** A small model checks each turn.
- **A turn budget.** 20 extra turns by default.
- **One chat only.** It never hands work to others.

## Related terms

- [Hermes Kanban](https://learn.benibix.com/term/ai/hermes-kanban)
- [Hermes Loops](https://learn.benibix.com/term/ai/hermes-loop)
- [Agent Loop](https://learn.benibix.com/term/ai/agent-loop)
- [/goal Command](https://learn.benibix.com/term/ai/goal-command)
- [Hermes Slash Commands](https://learn.benibix.com/term/ai/hermes-slash-commands)

## Told apart from

- [Hermes /goal vs Kanban](https://learn.benibix.com/compare/hermes-goals-vs-hermes-kanban): People think a goal puts work on the Kanban board. It does not. A goal keeps one chat going, and a judge checks after each turn. The board holds many cards, and each card runs in its own session with its own worker. Use a goal for one job in this chat. Use the board for many jobs shared out.
- [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-goals
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.
