mlsanityData to 14 Oct 2026

Pel, A Programming Language for Orchestrating AI Agents

arXiv 2505.13453 ↗First posted 3 Apr 2025cs.PL cs.AI cs.ETcited by 5

On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks

Abstract (arXiv)

The proliferation of Large Language Models (LLMs) has opened new frontiers in computing, yet controlling and orchestrating their capabilities beyond simple text generation remains a challenge. Current methods, such as function/tool calling and direct code generation, suffer from limitations in expressiveness, scalability, cost, security, and the ability to enforce fine-grained control. This paper introduces Pel, a novel programming language specifically designed to bridge this gap. Inspired by the strengths of Lisp, Elixir, Gleam, and Haskell, Pel provides a syntactically simple, homoiconic, and semantically rich platform for LLMs to express complex actions, control flow, and inter-agent communication safely and efficiently. Pel's design emphasizes a minimal, easily modifiable grammar suitable for constrained LLM generation, eliminating the need for complex sandboxing by enabling capability control at the syntax level. Key features include a powerful piping mechanism for linear composition, first-class closures enabling easy partial application and functional patterns, built-in support for natural language conditions evaluated by LLMs, and an advanced Read-Eval-Print-Loop (REPeL) with Common Lisp-style restarts and LLM-powered helper agents for automated error correction. Furthermore, Pel incorporates automatic parallelization of independent operations via static dependency analysis, crucial for performant agentic systems. We argue that Pel offers a more robust, secure, and expressive paradigm for LLM orchestration, paving the way for more sophisticated and reliable AI agentic frameworks.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 6 of its 25 references that are in the map. First posted on arXiv 3 Apr 2025.

Builds on

6 of 25 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Magentic-One: A Generalist Multi-Agent System for Solving Complex Tasks7 Nov
  2. 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviors21 Aug

Other references · 4

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  3. 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 197
  4. 2024Guiding LLMs The Right Way: Fast, Non-Invasive Constrained Generationcited by 101

Built on by

Cited by year (2026 to 14 Oct)

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

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Designing Algorithms Empowered by Language Models: An Analytical Framework, Case Studies, and Insights
  2. 2024Creating an LLM-based AI-agent: A high-level methodology towards enhancing LLMs with APIs
  3. 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agents
  4. 2023The Rise and Potential of Large Language Model Based Agents: A Survey
  5. 2025Large Language Model Agent: A Survey on Methodology, Applications and Challenges
  6. 2024Large Language Model-Based Agents for Software Engineering: A Survey
  7. 2025From Tool Calling to Symbolic Thinking: LLMs in a Persistent Lisp Metaprogramming Loop
  8. 2024Formal-LLM: Integrating Formal Language and Natural Language for Controllable LLM-based Agents