Real AI applications are rarely a single prompt. They classify a request, branch on the result, call different tools or models, and combine the outputs. Writing that as nested if statements inside a service quickly becomes hard to read and harder to change. Spring AI Alibaba Graph models the flow as a graph instead: small …