1. Agents & Workflows
14.7%- Use deterministic workflows when the steps are known in advance; use agentic loops when the next action depends on intermediate results. Do not add autonomy where a fixed sequence is safer and easier to test.
- For tool-using loops, inspect the model response, execute requested tools, return tool results, and continue until the model finishes. Treat the model’s stop condition as protocol state rather than trying to infer completion from natural-language wording.
- Separate planning, execution, validation, and escalation when the task benefits from clear control boundaries. A coordinator should pass only the context a worker needs instead of copying the entire conversation everywhere.
- Parallelize independent work, but keep dependent steps sequential. Parallel tool calls help latency only when the calls do not require each other’s results.
- Escalate when policy, authorization, missing evidence, or repeated inability to progress makes further autonomous action unsafe. A human handoff should include concise facts, actions taken, unresolved issues, and required next steps.