A production run is five components working together. The plan decomposes a goal into ordered steps with declared dependencies. The tool surface defines the only actions the agent can take, each with a typed schema and its own authorization. State carries what has been observed so far, scoped and summarised rather than appended without limit. Policy decides which steps may proceed unattended. And stop conditions — budget, step count, wall clock, repeated failure, and goal satisfaction — bound the loop so it terminates predictably.
- Planning loop
- Propose, act, observe, revise. The plan is an artifact, produced before execution and updated as evidence arrives, not an implicit trail left behind.
- Tool boundary
- Agents do not have credentials; tools do. Each tool validates its own inputs, enforces its own scope, and is independently testable without the model.
- Context discipline
- Long runs fail on context, not intelligence. State is compacted, salient facts pinned, and retrieval scoped to the current step rather than the whole goal.
- Stop conditions
- Every run declares its terminal states up front. An agent without a budget and a step ceiling is an incident waiting to be scheduled.