mlsanityData to 24 Nov 2026

Measuring Where Intent Gets Lost in Agentic Smart Contract Synthesis

arXiv 2610.37830 ↗Submitted 27 Oct 2026cs.AI cs.HC cs.IRcited by 0

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

Abstract (arXiv)

AI agents can now write software from a plain-English description, but code that runs is not the same as code that does what was asked. This gap matters most for smart contracts, the programs behind Web3 applications that move money on a blockchain and cannot be fixed once deployed. We ask how to check whether an AI-written contract behaves as it should, and where the requested behavior gets lost. We design an evaluation built on execution rather than opinion. We replay the same transactions on an AI-written contract and on the original it should reproduce and measure how often they agree. We test every grading tool on planted mistakes, compare against an answer key written without the description, and audit our own scorer until known wrong answers cannot pass. Common methods, such as AI judges and standard analysis tools, miss obvious mistakes, and scoring choices matter too. Checking only the functions every system includes hid about half the difference between pipelines. We then propose an elicitation-first architecture. Before writing code, the agent asks the client a short checklist of questions, checks the contract against an independently written executable answer key, and returns disagreements to the client instead of silently rewriting code. Asking first matters far more than reviewing or patching afterwards, across three AI models, while automated security fixes often break requested behavior. A few well-chosen questions recover much of what a short description omits, and their value can be estimated without the original contract. To our knowledge, this is the first study in smart contract synthesis to gather missing requirements before generation and check the result against an independently written executable model. The lessons extend to any setting where AI agents turn requests into programs. We release our tools, 600 tasks and all results.

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 16 of its 32 references that are in the map. Submitted 27 Oct 2026.

Builds on

16 of 32 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026SolAgent: A Specialized Multi-Agent Framework for Solidity Code Generation30 Jan

Other references · 15

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  2. 2021Program Synthesis with Large Language Modelscited by 3,972
  3. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,530
  4. 2023Clover: Closed-Loop Verifiable Code Generationcited by 79
  5. 2023Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?cited by 72
  6. 2023ClarifyGPT: Empowering LLM-based Code Generation with Intention Clarificationcited by 46
  7. 2023When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We?cited by 43
  8. 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 41
  9. 2019A Survey on Ethereum Systems Security: Vulnerabilities, Attacks and Defensescited by 26
  10. 2024ACFIX: Guiding LLMs with Mined Common RBAC Practices for Context-Aware Repair of Access Control Vulnerabilities in Smart Contractscited by 18
  11. 2024DiffSpec: Differential Testing with LLMs using Natural Language Specifications and Code Artifactscited by 6
  12. 2025SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language Modelscited by 3
3 more
  1. 2025Towards Automated Smart Contract Generation: Evaluation, Benchmarking, and Retrieval-Augmented Repaircited by 1
  2. 2026SmartEval: A Benchmark for Evaluating LLM-Generated Smart Contracts from Natural Language Specificationscited by 1
  3. 2026CyberChainBench: Can AI Agents Secure Smart Contracts Against Real-World On-Chain Vulnerabilities?cited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026An end-to-end agentic pipeline for smart contract translation and quality evaluation
  2. 2026When Evaluators of AI Agents Disagree: An Empirical Study of Native Scoring, LLM Judges, and Commit-Boundary Checks on tau2-bench
  3. 2025AI Agent Smart Contract Exploit Generation
  4. 2026Understanding the Rejection of Fixes Generated by Agentic Pull Requests -- Insights from the AIDev Dataset
  5. 2026Autonomous Agents on Blockchains: Standards, Execution Models, and Trust Boundaries
  6. 2026Mnemosyne: Agentic Transaction Processing for Validating and Repairing AI-generated Workflows
  7. 2026Grounding AI Agents in Contracts: An Empirical Evaluation of Spec-Driven Test Generation
  8. 2026RagHarnessDebugger: Jev-Guided Agentic RAG in Contract Inference Repair Auditing