FAPO automates the optimization of multi-step LLM pipelines through Claude Code, first suggesting prompt adjustments and escalating to chain modifications only when structural bottlenecks are identified, achieving gains up to +33.8 pp in complex scenarios.