mlsanityData to 7 Oct 2026

AgentSPEX: An Agent SPecification and EXecution Language

arXiv 2604.13346 ↗First posted 14 Apr 2026cs.CLcited by 5

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Language-model agent systems commonly rely on reactive prompting, in which a single instruction guides the model through an open-ended sequence of reasoning and tool-use steps, leaving control flow and intermediate state implicit and making agent behavior potentially difficult to control. Orchestration frameworks such as LangGraph, DSPy, and CrewAI impose greater structure through explicit workflow definitions, but tightly couple workflow logic with Python, making agents difficult to maintain and modify. In this paper, we introduce AgentSPEX, an Agent SPecification and EXecution Language for specifying LLM-agent workflows with explicit control flow and modular structure, along with a customizable agent harness. AgentSPEX supports typed steps, branching and loops, parallel execution, reusable submodules, and explicit state management, and these workflows execute within an agent harness that provides tool access, a sandboxed virtual environment, and support for checkpointing, verification, and logging. Furthermore, we provide a visual editor with synchronized graph and workflow views for authoring and inspection. We include ready-to-use agents for deep research and scientific research, and we evaluate AgentSPEX on 7 benchmarks. Finally, we show through a user study that AgentSPEX provides a more interpretable and accessible workflow-authoring paradigm than a popular existing agent framework.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 38 references that are in the map. First posted on arXiv 14 Apr 2026.

Builds on

23 of 38 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?17 Nov
  2. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  3. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  4. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug

Other references · 19

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  6. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
  7. 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
  8. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  9. 2023How is ChatGPT's behavior changing over time?cited by 265
  10. 2023SciBench: Evaluating College-Level Scientific Problem-Solving Abilities of Large Language Modelscited by 246
  11. 2022OpenAlex: A fully-open index of scholarly works, authors, venues, institutions, and conceptscited by 166
  12. 2025ACON: Optimizing Context Compression for Long-horizon LLM Agentscited by 126
7 more
  1. 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 118
  2. 2025WritingBench: A Comprehensive Benchmark for Generative Writingcited by 95
  3. 2025A Survey on the Optimization of Large Language Model-based Agentscited by 45
  4. 2024PDL: A Declarative Prompt Programming Languagecited by 14
  5. 2025TinyScientist: An Interactive, Extensible, and Controllable Framework for Building Research Agentscited by 8
  6. 2025ELAIPBench: A Benchmark for Expert-Level Artificial Intelligence Paper Understandingcited by 2
  7. 2026PseudoAct: Leveraging Pseudocode Synthesis for Flexible Planning and Action Control in Large Language Model Agentscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Open Agent Specification (Agent Spec): A Unified Representation for AI Agents
  2. 2026GraphBit: A Graph-based Agentic Framework for Non-Linear Agent Orchestration
  3. 2025A Declarative Language for Building And Orchestrating LLM-Powered Agent Workflows
  4. 2026AgentFactory: Towards Automated Agentic System Design and Optimization
  5. 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Execution
  6. 2026A Lightweight Modular Framework for Constructing Autonomous Agents Driven by Large Language Models: Design, Implementation, and Applications in AgentForge
  7. 2025FlowAgent: Achieving Compliance and Flexibility for Workflow Agents
  8. 2026AgentFactory: A Self-Evolving Framework Through Executable Subagent Accumulation and Reuse