The architectural question
“One big prompt and every tool” is not an application.
One school of thought says: give the model a large prompt, expose all your tools, and let it improvise the procedure at runtime. That approach is genuinely useful for prototypes, research, and low-risk assistance. But it does not remove orchestration — it hides it inside the prompt, the tool descriptions, and the model's mood that day. For customer-facing business tasks, the missing code gets replaced by control logic you cannot inspect, test, or guarantee.
What breaks at production scale
- The prompt becomes an implicit program — hard to inspect, version, diff, and review as it grows.
- A tool list is not a business process. Exposing search, quote, payment, and cancellation tools does not ensure they run in the right order, under the right conditions.
- Safety becomes probabilistic. “Always ask for confirmation” in a prompt is a request, not a guarantee.
- Transactions need deterministic control — idempotency, authorization, retries, compensation, recovery after partial failure.
- Testing becomes incomplete when the procedure is generated differently across runs and model versions.
- Cost, latency, and attack surface grow when the agent can loop freely over every capability.
The PicoFlow answer: bounded autonomy
- Within each stage, the model reasons, plans, asks questions, and recovers from ordinary ambiguity.
- The flow defines the business envelope: required information, allowed tools, sensitive-action checkpoints, and transitions.
- Durable state, validation, retries, and escalation are enforced by the runtime and your typed handlers — in code.
- The flow is not a script for every turn. It is a contract for the outcome: what must happen, what needs confirmation, and what must never happen.
- The result is flexible where flexibility helps, and guaranteed where the business demands it.
A reservation makes it concrete. An unconstrained agent may often find the correct booking path. The production requirement is stronger: it must not book before explicit confirmation, must not charge twice, must re-check availability, must preserve the quoted terms, and must recover correctly if booking succeeds but confirmation delivery fails. Those are application guarantees, not instructions to a model.