Integrating software engineering processes can make AI agent workflows more reliable and secure
Embedding disciplined SE practices into AI agent loops will produce hardened, reusable workflows that outperform on-the-fly synthesis
AI/ML arXiv 11 May 2026 Position Maturity unclear
Published as “Engineering Robustness into Personal Agents with the AI Workflow Store”
Why it matters
If realized, the AI Workflow Store could enable personal agents to be deployed in high-stakes scenarios by providing stronger security and reliability guarantees than current on-the-fly approaches.
Summary
The paper proposes an AI Workflow Store that applies full software-engineering processes to personal AI agents, claiming this will make agent workflows more reliable and secure than the current on-the-fly synthesis. It outlines an architecture with a backend SE agent team and a reusable workflow repository, but provides no empirical evaluation, only a vision and qualitative arguments.
What they found 1
- AI-driven software-engineering processes can produce workflows that are more reliable and secure than purely on-the-fly execution.
“Our vision hinges on two hypotheses: (1) that AI-driven software engineering processes, properly resourced, can produce hardened and constrained workflows that will lead to more reliable and secure agent operation compared to purely on-the-fly operation; and (2) that across a population of users, the possible cost of engineering workflows can be amortized through reuse.”
Caveats 5
- producing robust workflows might entail e.g., requirements gathering, threat modeling, exploration of multiple candidate designs, implementation, adversarial testing, staged deployment, and continuous refactoring and generalization as related workflows accumulate. Ideally, this expensive work would pay off as local agents, across many users, avoid repeating it and benefit from the robustness of the produced workflow. In reality, if pushed too far, production costs can exceed any realistic amortization benefit; and if pushed too little, the resulting workflows may be no more robust than on-the-fly synthesis.
- At the rigid extreme (Listing 4), each user request maps to a single, pre-built workflow, instantiated from the prompt and executed without chaining or cross-invocation state. If no match exists, the agent waits or refuses the request. ... However, they reduce flexibility: the local agent cannot serve unmatched requests immediately.
- Our vision thus depends on the development of datasets of rich patterns for both constructive design and offensive testing. Without them, backend agents risk producing workflows robust only to the narrow cases they can consider-precisely the failure mode we seek to escape.
- Maintaining workflows over long horizons might require the backend team to refactor and handle workflows with deprecated or evolving APIs; and the SE team must vet the robustness of any generalized or composed workflows.
- A shared repository design must also handle the threat of attacks mirroring those on code repositories, shared caches and package-manager ecosystems: (1) malicious injection-where the adversary tricks the backend into producing backdoored workflows; (2) spurious requests-resource exhaustion attacks targeting the SE agent team; (3) discovery hijacking-where illegitimate workflows mask trusted ones to redirect matching traffic; and (4) side-channel attacks-where lookup latency or leaks from users’ initial requests reveal user activity across the shared store.
What’s new here 4
- Introduces a reusable, hardened workflow repository for personal agents, shifting from ad-hoc synthesis to engineered artifacts.
- Defines a backend SE agent team that runs the full software-engineering lifecycle (design, testing, staged deployment) for each new workflow.
- Proposes amortizing the cost of rigorous engineering across many users by reusing workflows.
- Frames the flexibility-robustness trade-off as a design space with concrete architectural layers (local agent, repository, backend SE).