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

DevFeed: [AgentScript-Eval: Benchmarking LLMs and Agents for Code Generation in an Enterprise DSL](<https://devfeed.tech/articles/agentscript-eval-benchmarking-llms-and-agents-for-code-generation-in-an-enterprise-dsl-128265.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.13183>)

Author: Dipin Khati, Shubham Mehrotra, Bin Bi, Zhou Yu, Denys Poshyvanyk, James Zhu, Sitaram Asur, Phil L. Mui

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [google-adk](<https://devfeed.tech/topics/google-adk.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [dsl](<https://devfeed.tech/tags/dsl.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [eval](<https://devfeed.tech/tags/eval.md>), [llms](<https://devfeed.tech/tags/llms.md>)

## AI overview

AgentScript-Eval tests five models on 100 real AgentScript tasks covering agent authoring, debugging, and optimization. Zero-shot performance was low: the best reached 25% pass@3, and all models scored 0% on authoring from scratch. Scale and price were weak predictors; a 31B open-weight model had the highest compilation rate (48%), matched the strongest frontier model on partial-credit accuracy, and used the lowest token cost. An agentic compile-and-edit loop roughly doubled partial-credit accuracy. Guidance wording also mattered: the same skill pack scored 28% as documentation and 14% as a live plugin, while rewriting one plugin skill raised the result to 37% without changing its catalog or tooling.

## Source excerpt

arXiv:2611.13183v1 Announce Type: cross Abstract: 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.