Skip to main content
Memory & AgentsCurated

Agent Loop Termination Conditions

Before an agent runs unattended, to prevent infinite loops and runaway cost.

The prompt
Design the termination conditions for an agent loop with these tools: [paste]. Specify when it should stop (goal achieved, max iterations, confidence threshold, stuck detection) and what it returns in each case.

Anything in square brackets is meant to be replaced. The builder turns those into fields you can type into.

Tired of re-pasting the same context into every new chat? That is what the Unimatrix MCP server is for.

Browse the rest of the library