paper-with-me

Papers

AgentSPEX: An Agent SPecification and EXecution Language

2026-04-14 · Pengcheng Wang, Jerry Huang, Jiarui Yao, Rui Pan, Peizhi Niu, Yaowenqi Liu, Ruida Wang, Renhao Lu, Yuwei Guo, Tong Zhang 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.

📄 PDF Abstract BibTeX arXiv:2604.13346

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

FASTRIC: Prompt Specification Language for Verifiable LLM Interactions

2025-12-22 · Wen-Long Jin arxiv

Large Language Models (LLMs) execute complex multi-turn interaction protocols but lack formal specifications to verify execution against designer intent. We introduce FASTRIC, a Prompt Specification Language that makes i…

No Attack Required: Semantic Fuzzing for Specification Violations in Agent Skills

2026-05-13 · Ying Li, Hongbo Wen, Yanju Chen, Hanzhi Liu 외 arxiv

LLM-powered agents can silently delete documents, leak credentials, or transfer funds on a routine user request, not because the agent was attacked, but because the skill it invoked broke its own declared safety rules. W…

When Convenience Becomes Risk: A Semantic View of Under-Specification in Host-Acting Agents

2026-03-22 · Di Lu, Yongzhi Liao, Xutong Mu, Lele Zheng 외 arxiv

Host-acting agents promise a convenient interaction model in which users specify goals and the system determines how to realize them. We argue that this convenience introduces a distinct security problem: semantic under-…

COCORELI: Enforcing Execution Preconditions for Reliable Collaborative Instruction Following

2025-08-29 · Swarnadeep Bhar, Omar Naim, Eleni Metheniti, Bastien Navarri 외 arxiv

Autonomous agents executing human instructions must operate reliably even when instructions are incomplete. While recent approaches improve detection of missing information, detection alone is insufficient: agents often …

Instruction Following

SKILL.state: Scalable Long-Horizon Agent Skills

2026-08-26 · Sanket Badhe, Priyanka Tiwari, Jonghyun Chung arxiv

Large Language Models (LLMs) increasingly act as autonomous agents executing complex, long-running procedural skills. Existing agent runtimes maintain execution by continually appending observations, actions, and interme…