SolAgent: A Specialized Multi-Agent Framework for Solidity Code Generation
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Smart contracts are the backbone of the decentralized web, yet ensuring their functional correctness and security remains a critical challenge. While Large Language Models (LLMs) have shown promise in code generation, they often struggle with the rigorous requirements of smart contracts, frequently producing code that is buggy or vulnerable. To address this, we propose SolAgent, a novel tool-augmented multi-agent framework that mimics the workflow of human experts. SolAgent integrates a dual-loop refinement mechanism: an inner loop using the textitForge compiler to ensure functional correctness, and an outer loop leveraging the textitSlither static analyzer to eliminate security vulnerabilities. Additionally, the agent is equipped with file system capabilities to resolve complex project dependencies. Experiments on the SolEval+ Benchmark, a rigorous suite derived from high-quality real-world projects, demonstrate that SolAgent achieves a Pass@1 rate of up to 64.39%, significantly outperforming state-of-the-art LLMs (~25%), AI IDEs (e.g., GitHub Copilot), and existing agent frameworks. Moreover, it reduces security vulnerabilities by up to 39.77% compared to human-written baselines. Finally, we demonstrate that the high-quality trajectories generated by SolAgent can be used to distill smaller, open-source models, democratizing access to secure smart contract generation. We release our data and code at https://github.com/openpaperz/SolAgent.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 25 of its 53 references that are in the map. First posted on arXiv 30 Jan 2026.
Builds on
25 of 53 references.
Closest ancestors · 2
Same direction, newest first
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 2023ChatDev: Communicative Agents for Software Development16 Jul
Other references · 23
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2024SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuningcited by 345
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
- 2024LLM Hallucinations in Practical Code Generation: Phenomena, Mechanism, and Mitigationcited by 92
- 2019Slither: A Static Analysis Framework For Smart Contractscited by 88
- 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
- 2023When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We?cited by 42
11 more
- 2023Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware Decisionscited by 41
- 2024When to Stop? Towards Efficient Code Generation in LLMs with Excess Token Preventioncited by 21
- 2017Under-Optimized Smart Contracts Devour Your Moneycited by 9
- 2026RepoGenesis: Benchmarking End-to-End Microservice Generation from Readme to Repositorycited by 8
- 2024SmartInv: Multimodal Learning for Smart Contract Invariant Inferencecited by 6
- 2024ContractTinker: LLM-Empowered Vulnerability Repair for Real-World Smart Contractscited by 4
- 2025NumScout: Unveiling Numerical Defects in Smart Contracts using LLM-Pruning Symbolic Executioncited by 2
- 2024Unity is Strength: Enhancing Precision in Reentrancy Vulnerability Detection of Smart Contract Analysis Toolscited by 1
- 2025MulChain: Enabling Advanced Cross-Modal Queries in Hybrid-Storage Blockchainscited by 1
- 2025Input Reduction Enhanced LLM-based Program Repaircited by 1
- 2025Learning to Align Human Code Preferencescited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Towards Automated Smart Contract Generation: Evaluation, Benchmarking, and Retrieval-Augmented Repair
- 2025Securing Smart Contract Languages with a Unified Agentic Framework for Vulnerability Repair in Solidity and Move
- 2026Repository-Level Solidity Code Generation with Large Language Models: From Prompting to Fine-Tuning
- 2026An end-to-end agentic pipeline for smart contract translation and quality evaluation
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges
- 2026MACGen: Toward Functionally Correct and Secure Code Generation via Multi-Agent Collaboration
- 2026SW-A2-Bench: Benchmarking Autonomous Software Agent Generation for Agentic Web
- 2026CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generation