Skip to main content
Language reference / max_turns

Meaning and placement

agent

The schema declares this field at the location below. In the same object: max_tokens_total Β· model Β· prompt Β· schema Β· skills Β· system Β· temperature Β· tools Schema source (use the pointer above)

In a source template

Excerpt from templates/agent-loop.nika.yaml, source lines 107–116. This is a fragment, not a runnable workflow.
illustration

Templates containing this field

These are literal key occurrences in the source files, not an execution or conformance claim. How to instantiate a template.

Contract and implementation

This page projects the named specification revision. Check released engine status and the validation workflow before running a file. An optional field is not evidence that every engine supports every value. Canonical identity: language:word:max_turns. Spec revision: c5ebbb7b862b. How documentation stays connected.