AgentSPEX: An Agent SPecification and EXecution Language
Pengcheng Wang ♠ \spadesuit , Jerry Huang ♠ \spadesuit , Jiarui Yao ♠ \spadesuit , Rui Pan ♠ \spadesuit , Peizhi Niu ♠ \spadesuit , Yaowenqi Liu ♠ \spadesuit , Ruida Wang ♠ \spadesuit , Renhao Lu ♣ \clubsuit , Yuwei Guo ♡ \heartsuit , Tong Zhang ♠ \spadesuit · 2026
Read AgentSPEX: An Agent SPecification and EXecution Language by Pengcheng Wang ♠ \spadesuit , Jerry Huang ♠ \spadesuit , Jiarui Yao ♠ \spadesuit , Rui Pan ♠ \spadesuit , Peizhi Niu ♠ \spadesuit , Yaowenqi Liu ♠ \spadesuit , Ruida Wang ♠ \spadesuit , Renhao Lu ♣ \clubsuit , Yuwei Guo ♡ \heartsuit , Tong Zhang ♠ \spadesuit (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-13346.txt.
Description
Wang and nine colleagues introduce AgentSPEX, a language for specifying language-model agent workflows with explicit control flow and modular structure. Reactive prompting leaves control flow and state implicit, while frameworks like LangGraph and DSPy tie workflow logic tightly to Python. AgentSPEX supports typed steps, branching, loops, parallel execution, reusable submodules, and explicit state, executed in a harness with tools, sandboxing, checkpointing, and logging. A visual editor aids authoring, and a user study finds it more interpretable than a popular rival framework.
Catalog record
| CREATOR | Pengcheng Wang ♠ \spadesuit , Jerry Huang ♠ \spadesuit , Jiarui Yao ♠ \spadesuit , Rui Pan ♠ \spadesuit , Peizhi Niu ♠ \spadesuit , Yaowenqi Liu ♠ \spadesuit , Ruida Wang ♠ \spadesuit , Renhao Lu ♣ \clubsuit , Yuwei Guo ♡ \heartsuit , Tong Zhang ♠ \spadesuit |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 40931 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.13346