step budget

A hard limit on how many turns or how much money an agent loop may use before it stops and reports why.

In more detail

Without one, a confused agent can loop forever. The OpenAI Agents SDK raises MaxTurnsExceeded, Google ADK has max_llm_calls and LangGraph a recursion limit; a cost budget catches loops whose turns are few but expensive.

Related terms

Taught in

References

Certification courses