On Agentic AI Orchestration Patterns: Deterministic Loops & Graphs for Stochastic Agents

From Interactive Prompting to Goal-Driven Agentic Workflows as Code for Long-Horizon Reasoning and Execution