arXiv AI

tok: a textual concrete syntax of BPMN and DMN for humans and AI agents

The paper introduces tok, a plain‑text notation for BPMN 2.0.2 process models and DMN 1.5 decisions, and presents an engine that validates tok documents, compiles them to XML, and supports language‑model applications via the Model Context Protocol. Empirical results show that tok uses significantly fewer tokens than standard BPMN XML, achieves high fault detection rates, and enables language models to generate valid tok and BPMN XML from minimal references. The study also demonstrates tok’s ability to import models from event logs and its compatibility with multiple tools.

arXiv AI
Aug 3

Compiled AI: Deterministic Code Generation for LLM-Based Workflow Automation

arXiv:2604. 05150v2 Announce Type: replace-cross Abstract: We study compiled AI, a paradigm in which large language models generate executable code artifacts during a compilation phase, after which workflows execute deterministically without further model invocation.

By Geert Trooskens (XY.AI Labs, Palo Alto, CA), Aaron Karlsberg (XY.AI Labs, Palo Alto, CA), Anmol Sharma (XY.AI Labs, Palo Alto, CA), Lamara De Brouwer (XY.AI Labs, Palo Alto, CA), Max Van Puyvelde (Stanford University School of Medicine, Stanford, CA), Matthew Young (XY.AI Labs, Palo Alto, CA), John Thickstun (Cornell University, Ithaca, NY), Gil Alterovitz (Brigham and Women's Hospital / Harvard Medical School, Boston, MA), Walter A. De Brouwer (Stanford University School of Medicine, Stanford, CA)
arXiv AI
Jul 24

Workflow-Localized Mechanism Learning: Attribution-Guided Repair and Knowledge Reuse for Structured Agent Skills

arXiv:2607. 20999v1 Announce Type: new Abstract: Agent Skills package reusable procedural knowledge as external artifacts for frozen language-model agents, yet existing optimizers do not jointly resolve where a failure occurs in a workflow, which mechanism caused it, and how relevant knowledge from third-party Skills should be reused locally.

By Zibin Lin, Shengli Zhang, Taotao Wang, Yihan Xia, Deen Ma, Guofu Liao
arXiv AI
1d ago

Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python Implementations

The paper introduces a benchmark protocol for evaluating large language models on business workflow tasks, focusing on separating schema validity from task correctness. It compares six Python implementations—PydanticAI, LangGraph, DSPy, CrewAI, Agno, and a framework‑free SDK reference—across five workflow tasks using a reproducible, confirmatory analysis. Results show that while some systems achieve high schema validity, many still fail on task quality, with significant interactions between implementation and task type.

By Sidney Shapiro, Sanad Al-Khatib, Aurora Pinz\'on Arzola, Emiliano Sebastian Gonzalez Venegas, Daniel Pearson
arXiv AI
Oct 9

NOMOS: Compiling Written Policies into Statically Verified Tool-Call Gates for LLM Agents

NOMOS is a four‑pass compiler that transforms natural‑language policies into deterministic, statically verified tool‑call gates for large‑language‑model agents. By performing tool‑schema‑level checks without relying on provers, solvers, or additional LLM calls, it repairs or rejects 37% of airline and 13% of retail policy candidates, enabling most shipped rules to become operable. In benchmark tests, the compiled gates reduce policy violations from 66.3% to 2.6% in airline scenarios and from 30.8% to 6.9% in retail, while achieving a zero attack success rate on banking and low rates on other suites, all with microsecond decision times.

By Min-Young Yu, Tony Kim, Jang Won Choi
arXiv AI
Nov 14

When Evaluators of AI Agents Disagree: An Empirical Study of Native Scoring, LLM Judges, and Commit-Boundary Checks on tau2-bench

The study compares four evaluation methods for AI agents in tau2-bench’s airline and retail domains: native scoring against a gold state, an LLM judge, the same judge with a policy document, and a minimal rule-based boundary evaluator. Across 2,160 episodes, the LLM judge agreed with native scoring only 56.2% of the time, while the boundary evaluator detected all 11 forbidden writes that the judges missed. The results suggest that the choice of evaluator significantly influences conclusions about agent correctness and policy compliance.

By Sungbin Im