In depth
Without a turn cap, an agent can loop forever (and bill forever). The default on Digitorn is 25 turns per session, configurable per agent. When the cap hits, the runtime stops the loop cleanly and returns whatever partial result the agent had. Behaviour rules can also raise warnings before the cap fires.
Related concepts
Behaviour rulesFocused guards that protect against common agent failure modes (runaway loops, repeated tool calls, drift).Agent loopThe core runtime cycle of an agent: think, act, observe, repeat, until the goal is reached.Cost capA hook that stops the agent when its session has exceeded a configured cost ceiling.
Newsletter
Get the next post in your inbox.
Engineering notes from the Digitorn team. No marketing, no launch announcements, no "10 prompts that will change your life". Just the things we write that we'd want to read.