Agentic Patterns in Spring AI: Routing, Orchestrator-Workers, Evaluator-Optimizer and Parallelization
Anthropic's five agentic workflows (prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer) as plain Spring AI ChatClient code, tested offline with a scripted ChatModel that records every prompt, with the failure modes and the call-count cost of each.