APPL: A Prompt Programming Language for Harmonious Integration of Programs and Large Language Model Prompts
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have become increasingly capable of handling diverse tasks with the aid of well-crafted prompts and integration of external tools, but as task complexity rises, the workflow involving LLMs can be complicated and thus challenging to implement and maintain. To address this challenge, we propose APPL, A Prompt Programming Language that acts as a bridge between computer programs and LLMs, allowing seamless embedding of prompts into Python functions, and vice versa. APPL provides an intuitive and Python-native syntax, an efficient parallelized runtime with asynchronous semantics, and a tracing module supporting effective failure diagnosis and replaying without extra costs. We demonstrate that APPL programs are intuitive, concise, and efficient through three representative scenarios: Chain-of-Thought with self-consistency (CoT-SC), ReAct tool use agent, and multi-agent chat. Experiments on three parallelizable workflows further show that APPL can effectively parallelize independent LLM calls, with a significant speedup ratio that almost matches the estimation.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 32 of its 47 references that are in the map. First posted on arXiv 19 Jun 2024.
Builds on
32 of 47 references.
References · 32
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
20 more
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2023Reasoning with Language Model is Planning with World Modelcited by 846
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 551
- 2023Identifying the Risks of LM Agents with an LM-Emulated Sandboxcited by 514
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
- 2023Efficient Guided Generation for Large Language Modelscited by 192
- 2023An LLM Compiler for Parallel Function Callingcited by 170
- 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 129
- 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
- 2022Mind's Eye: Grounded Language Model Reasoning through Simulationcited by 83
- 2023LLM as OS, Agents as Apps: Envisioning AIOS, Agents and the AIOS-Agent Ecosystemcited by 35
- 2023AskIt: Unified Programming Interface for Programming with Large Language Modelscited by 5
Built on by
Citing papers per year: 2025: 2; 2026: 6.
8 papers.
- 2026Natural-Language Agent Harnessescited by 54
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discoverycited by 17
- 2025Sharing State Between Prompts and Programscited by 2
- 2025TypyBench: Evaluating LLM Type Inference for Untyped Python Repositoriescited by 0
- 2026Imprompt: A Language Framework for Prompt Programmingcited by 0
- 2026PPDL: LLM-Based Flows as Probabilistic Programscited by 0
- 2026A Literate Programming Environment for Human and Machine Agentscited by 0
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliabilitycited by 0
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliability26 Sep 2026
- 2026A Literate Programming Environment for Human and Machine Agents25 Aug 2026
- 2026PPDL: LLM-Based Flows as Probabilistic Programs5 Aug 2026
- 2026Imprompt: A Language Framework for Prompt Programming13 Jul 2026
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discovery7 Apr 2026
- 2026Natural-Language Agent Harnesses26 Mar 2026
- 2025Sharing State Between Prompts and Programs16 Dec 2025
- 2025TypyBench: Evaluating LLM Type Inference for Untyped Python Repositories28 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Accelerating Language Model Workflows with Prompt Choreography
- 2025PromptBridge: Cross-Model Prompt Transfer for Large Language Models
- 2024Language hooks: a modular framework for augmenting LLM reasoning that decouples tool usage from the model and its prompt
- 2025Recursive Language Models
- 2024PDL: A Declarative Prompt Programming Language
- 2025Prompt engineering and framework: implementation to increase code reliability based guideline for LLMs
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agents
- 2023ART: Automatic multi-step reasoning and tool-use for large language models