PopPy: Opportunistically Exploiting Parallelism in Python Agentic Workflows
Not on the map. Why?
Abstract (arXiv)
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× speedups in end-to-end execution time, compared to standard Python execution and several agentic frameworks, while preserving the sequential program semantics.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 74 references that are in the map. First posted on arXiv 18 May 2026.
Builds on
12 of 74 references.
References · 12
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 591
- 2024Executable Code Actions Elicit Better LLM Agentscited by 537
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 103
- 2024Rethinking LLM Uncertainty: A Multi-Agent Approach to Estimating Black-Box Model Uncertaintycited by 11
- 2024Opportunistically Parallel Lambda Calculuscited by 5
- 2020PaSh: Light-touch Data-Parallel Shell Processingcited by 2
- 2023Dias: Dynamic Rewriting of Pandas Codecited by 2
- 2025Assessing Large Language Models in Comprehending and Verifying Concurrent Programs across Memory Modelscited by 2
- 2026Identifying Concurrency Bug Reports via Linguistic Patternscited by 2
- 2025Embodied Tree of Thoughts: Deliberate Manipulation Planning with Embodied World Modelcited by 1
Built on by
Not cited yet.