aiqbench analysis
PopPy introduces a compiler and runtime system designed to automatically parallelize external AI model calls within Python-based agentic workflows, directly addressing the latency bottlenecks inherent in current sequential execution models. By resolving challenges related to language complexity and dynamic dispatch, the system achieves significant speedups without altering the original program's sequential semantics. This advancement is critical for scaling complex agentic applications that rely on high-throughput interactions with machine learning models.
PopPy: Opportunistically Exploiting Parallelism in Python Agentic Workflows
arXiv:2605.18697v2 Announce Type: replace-cross Abstract: Agentic workflows, which compose calls to ML models using a general-purpose programming language like Python, are widely used for a variety of user-facing tasks, from software engineering to enterprise automation, making their end-to-end latency a critical bottleneck. To improve their latency, developers can either manually parallelize them or use restricted agentic frameworks that cannot express or exploit all forms of parallelization. We address this by developing PopPy, a system that parallelizes external calls, e.g., AI models, in agentic workflows written in a very expressive subset of Python. PopPy combines an ahead-of-time compiler with a runtime, addressing three key challenges in extracting parallelism from Python applications: language complexity, dynamic dispatch, and variable mutation. On a set of real-world agentic workflows, PopPy achieves up to $6.7\times$ speedups in end-to-end execution time, compared to standard Python execution and several agentic frameworks, while preserving the sequential program semantics.
Abstract:Agentic workflows, which compose calls to ML models using a general-purpose programming language like Python, are widely used for a variety of user-facing tasks, from software engineering to enterprise automation, making their end-to-end latency a critical bottleneck. To improve their latency, developers can either manually parallelize them or use restricted agentic frameworks that cannot express or exploit all forms of parallelization. We address this by developing PopPy, a system that parallelizes external calls, e.g., AI models, in agentic workflows written in a very expressive subset of Python. PopPy combines an ahead-of-time compiler with a runtime, addressing three key challenges in extracting parallelism from Python applications: language complexity, dynamic dispatch, and variable mutation. On a set of real-world agentic workflows, PopPy achieves up to $6.7\times$ speedups in end-to-end execution time, compared to standard Python execution and several agentic frameworks, while preserving the sequential program semantics.
Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI); Programming Languages (cs.PL)
arXiv:2605.18697 [cs.DC]
(or arXiv:2605.18697v2 [cs.DC] for this version)
https://doi.org/10.48550/arXiv.2605.18697 Focus to learn more arXiv-issued DOI via DataCite
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 245 words
Related coverage

JADEPUFFER: Agentic ransomware for automated database extortion
Sysdig Blog · Jul 1, 2026

Weekly Cybersecurity Newsletter Bulletin – CrowdStrike Falcon, Chrome 0-Day, GPT-6 Astra, Dropbox Breach and 20+ Stories
Cybersecurity News · Sep 7, 2026

5 Real-World Applications of Agentic AI in Enterprise Automation
KDnuggets · Sep 2, 2026

Graph Engineering for AI Agents: Beyond the Single-Agent Loop
Analytics Vidhya · Jul 28, 2026