mlsanityData to 24 Nov 2026

AgentScript-Eval: Benchmarking LLMs and Agents for Code Generation in an Enterprise DSL

arXiv 2611.13183 ↗Submitted 9 Nov 2026cs.SE cs.AIcited by 0

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

Abstract (arXiv)

Domain-specific languages (DSLs) are widely used in enterprise software, giving a compact interface to complex tasks, from data access to infrastructure automation. Platforms increasingly extend them to agents, where a developer declares the topics, permitted actions, and guardrails of an agent rather than writing general-purpose code. Large language models (LLMs) write general-purpose code well, but that ability has been measured almost entirely on languages abundant in public pretraining data, and enterprise DSLs are neither abundant nor public. We introduce AgentScript-Eval, an execution-graded benchmark of 100 real tasks for AgentScript, the declarative DSL that Salesforce uses in Agentforce to build conversational agents. Tasks span authoring an agent from a specification, debugging a broken definition, and optimizing a working one. Evaluating five models zero-shot, we find that the regime is hard: the best model reaches only 25.0% pass@3, and every model scores 0% on authoring from scratch. We further find that model scale and price are weak predictors of success -- a 31B open-weight model attains the highest compilation rate of any model tested (48.0%) and matches the strongest frontier model on partial-credit accuracy at the lowest token cost. Adding an agentic compile-and-edit loop is the single largest lever, roughly doubling partial-credit accuracy. Beyond that gain, the wording of domain guidance matters more than its packaging. The same skill pack scores 28% as plain documentation but only 14% as a live plugin. Rewriting one skill inside that plugin then raises it to 37%, our best result, with catalog and tooling untouched. Larger models did not reliably outperform smaller ones; what mattered was the harness surrounding the model and the guidance supplied to it.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 17 of its 27 references that are in the map. Submitted 9 Nov 2026.

Builds on

17 of 27 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 16

  1. 2020Language Models are Few-Shot Learnerscited by 33,113
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  5. 2021Program Synthesis with Large Language Modelscited by 3,972
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  7. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
  8. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,530
  9. 2022Competition-Level Code Generation with AlphaCodecited by 1,510
  10. 2023Teaching Large Language Models to Self-Debugcited by 1,049
  11. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 432
  12. 2022CodeT: Code Generation with Generated Testscited by 411
4 more
  1. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 247
  2. 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 229
  3. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 150
  4. 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 67

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Agent-Diff: Benchmarking LLM Agents on Enterprise API Tasks via Code Execution with State-Diff-Based Evaluation
  2. 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models
  3. 2026When Code Becomes an LLM Call: An Empirical Study of Call-Site Contracts in Agentic Systems
  4. 2026AgentSWE: Can Coding Agents Build the Agent You Actually Want?
  5. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System
  6. 2025LoCoBench-Agent: An Interactive Benchmark for LLM Agents in Long-Context Software Engineering
  7. 2026BackendForge: Benchmarking Agentic End-to-End Code Generation with Backend Services
  8. 2024ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agents