01Start at the left
Classification or extraction often needs one constrained model call. Add retrieval when knowledge is external/fresh, tools when deterministic capability or action is needed, and an agent loop only when the path adapts to observations.
Start with a deterministic baseline and the smallest useful model step. A classification task may need one constrained call followed by validation. Add retrieval only when external evidence is needed, tools when exact data or effects are needed, and adaptive control flow only when the sequence cannot be known in advance. Each added stage introduces latency, failure, state, and evaluation requirements.
Compare synchronous and durable asynchronous execution. A fast bounded extraction can return directly. A long report involving several providers may need submit/status/result APIs and durable work state. Disconnecting a client should not lose accepted work, while replaying a submit should not create another run. These requirements justify job infrastructure more concretely than simply calling the application an agent.
- Batch offline work when latency is loose
- Use schemas at machine interfaces
- Keep final effects deterministic and authorized