Hard limits
Maximum tokens, model calls, tool calls, wall-clock time, and external service spend.
Agent Economics
An agent plan is also a resource allocation decision. Every branch, model call, retrieval, and tool invocation consumes money and time, so the planner needs explicit budgets and trade-offs.
Give the planner a hard budget, estimate the cost of each action, route simple steps to cheaper deterministic or smaller-model paths, and stop when the expected value of another step is lower than its cost and risk.
Use these dimensions to make the architecture decision explicit and testable.
Maximum tokens, model calls, tool calls, wall-clock time, and external service spend.
Minimum acceptable confidence or task score.
Higher-risk actions require stronger evidence and may justify more expensive verification.
When the budget cannot achieve the target, hand off rather than silently lowering quality.
Use these dimensions to make the architecture decision explicit and testable.
Use rules or a small model for classification and reserve larger models for ambiguous reasoning.
Cache deterministic retrieval, embeddings, and stable tool responses with clear invalidation.
Run independent checks concurrently when it reduces latency without duplicating expensive work.
Stop after sufficient evidence, not after a fixed number of reasoning steps.
Use these dimensions to make the architecture decision explicit and testable.
Include model, retrieval, tool, infrastructure, and human-review cost.
Measure time to an accepted result, including retries and approvals.
Compare configurations at matched quality rather than comparing cost alone.
Track abandoned branches, duplicate calls, unused retrieval, and repeated failures.
Use this as a design-review gate before release.
Place this pattern inside a broader agent architecture and operating model.
Browse memory, planning, frameworks, reliability, safety, and observability.
Open the tutorial library →Start with agent features, design patterns, benefits, challenges, and industry applications.
Open the guide →