SyncAI.news, a Varaisys broadcasting
PopPy: Opportunistically Exploiting Parallelism in Python Agentic Workflows
SM

Stephen Mell, David Mell, Harry Y. H. Li, Zhihao Jia, Konstantinos Kallas, Steve Zdancewic, Osbert Bastani

· 1 min read

ResearcharXiv cs.AI

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.

Original source

This story was published by arXiv cs.AI and written by Stephen Mell, David Mell, Harry Y. H. Li, Zhihao Jia, Konstantinos Kallas, Steve Zdancewic, Osbert Bastani. SyncAI.news shows a preview; the complete article is on the publisher's site.

Read the full story on arxiv.org

Similar News