🤖 AI Summary
Current AI agents predominantly rely on ad hoc, on-the-fly generation strategies and lack the reliability safeguards inherent in established software engineering practices, rendering them ill-suited for high-stakes scenarios demanding stringent safety and robustness. This work proposes a novel “AI workflow store” paradigm that systematically integrates software engineering principles—such as iterative design, rigorous testing, and adversarial evaluation—into AI agent architectures. By encapsulating reusable workflows, enforcing deterministic execution constraints, and adopting phased deployment strategies, the framework constructs a hardened library of high-assurance AI workflows. Empirical results demonstrate that this approach significantly outperforms conventional just-in-time synthesis methods in mission-critical tasks, achieving markedly enhanced safety and robustness without sacrificing flexibility.
📝 Abstract
The dominant paradigm for AI agents is an "on-the-fly" loop in which agents synthesize plans and execute actions within seconds or minutes in response to user prompts. We argue that this paradigm short-circuits disciplined software engineering (SE) processes -- iterative design, rigorous testing, adversarial evaluation, staged deployment, and more -- that have delivered the (relatively) reliable and secure systems we use today. By focusing on rapid, real-time synthesis, are AI agents effectively delivering users improvised prototypes rather than systems fit for high-stakes scenarios in which users may unwittingly apply them?
This paper argues for the need to integrate rigorous SE processes into the agentic loop to produce production-grade, hardened, and deterministically-constrained agent *workflows* that substantially outperform the potentially brittle and vulnerable results of on-the-fly synthesis. Doing so may require extra compute and time, and if so, we must amortize the cost of rigor through reuse across a broad user community. We envision an *AI Workflow Store* that consists of hardened and reusable workflows that agents can invoke with far greater reliability and security than improvised tool chains. We outline the research challenges of this vision, which stem from a broader flexibility-robustness tension that we argue requires moving beyond the ``on-the-fly'' paradigm to navigate effectively.