mlsanityData to 7 Oct 2026

APPL: A Prompt Programming Language for Harmonious Integration of Programs and Large Language Model Prompts

arXiv 2406.13161 ↗First posted 19 Jun 2024cs.AI cs.CL cs.LGcited by 8

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  8. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  9. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  11. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  12. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
20 more
  1. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  2. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  3. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  4. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  5. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  6. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  7. 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
  8. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
  9. 2023Reasoning with Language Model is Planning with World Modelcited by 846
  10. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  11. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 551
  12. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandboxcited by 514
  13. 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
  14. 2023Efficient Guided Generation for Large Language Modelscited by 192
  15. 2023An LLM Compiler for Parallel Function Callingcited by 170
  16. 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 129
  17. 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
  18. 2022Mind's Eye: Grounded Language Model Reasoning through Simulationcited by 83
  19. 2023LLM as OS, Agents as Apps: Envisioning AIOS, Agents and the AIOS-Agent Ecosystemcited by 35
  20. 2023AskIt: Unified Programming Interface for Programming with Large Language Modelscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 6.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Accelerating Language Model Workflows with Prompt Choreography
  2. 2025PromptBridge: Cross-Model Prompt Transfer for Large Language Models
  3. 2024Language hooks: a modular framework for augmenting LLM reasoning that decouples tool usage from the model and its prompt
  4. 2025Recursive Language Models
  5. 2024PDL: A Declarative Prompt Programming Language
  6. 2025Prompt engineering and framework: implementation to increase code reliability based guideline for LLMs
  7. 2025AutoPDL: Automatic Prompt Optimization for LLM Agents
  8. 2023ART: Automatic multi-step reasoning and tool-use for large language models