NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

JARVIS: A Multi-Agent Code Assistant for High-Quality EDA Script Generation

Ghasem Pasandi, Kishor Kunal, Varun Tej, Kunjal Shan, Hanfei Sun, Sumit Jain, Chunhui Li, Chenhui Deng, Teodor-Dumitru Ene, Haoxing Ren, Sreedhar PrattyarXiv 2025 · DOI

Introduction

In the field of Very Large Scale Integration (VLSI) chip design, engineers rely heavily on complex scripts to drive Electronic Design Automation (EDA) tools. These tools typically utilize proprietary or highly specialized Python and Tcl APIs. While general-purpose Large Language Models (LLMs) like GPT-4 have demonstrated remarkable coding capabilities, they consistently fail in the EDA domain. This failure stems from three primary challenges: extreme data scarcity of specialized EDA code, frequent hallucinations of non-existent API calls, and the multi-step reasoning required to navigate strict tool-specific execution rules. To address these barriers, we present JARVIS (Just A Remarkable VLSI Intelligence System), a specialized multi-agent framework designed to automate high-quality EDA script generation.

The JARVIS Multi-Agent Architecture

JARVIS employs a sophisticated agentic workflow that moves beyond simple prompt-response cycles. The system is structured as a team of specialized agents, each handling a distinct part of the code generation and refinement process.

The JARVIS multi-agent workflow, illustrating the interaction between the Top Agent, Code Generator, RuleEnforce, and the iterative refinement loop involving the Code Compiler and Fixing Agents.

As shown in the architecture above, the process begins with a Top Agent that orchestrates the task based on user instructions. The Code Generator produces an initial script, which is then passed to RuleEnforce—a tool that applies "hard-coded" domain expertise, such as ensuring specific sequences required for power calculations are followed.

A critical component is the Custom Code Compiler. Unlike standard compilers that merely report errors, this tool simulates execution and utilizes the tool's internal API knowledge graph. If a hallucinated attribute is detected, the compiler searches the graph to find the "shortest path" to the correct command, providing actionable feedback to the Code Fixing Agent. Finally, a Guardrail Agent performs a quality check to ensure the output aligns with the user's original intent.

Synthetic Data Generation and Training

To overcome the lack of open-source training data, JARVIS utilizes a novel Synthetic Data Generation (SDG) approach. Rather than relying on LLMs to write code from scratch, the researchers developed a random code generator based on the tool's "command graph" and Abstract Syntax Trees (ASTs). This ensures that the 35,000 synthetic training examples are syntactically valid from the start. These "skeletons" are then augmented by an LLM which adds natural language comments and generates corresponding questions. This method forces the underlying model—initially a domain-adapted ChipNeMo model—to learn the actual "grammar" of the EDA tool through Supervised Fine-Tuning (DSFT).

Evaluation Benchmarks

JARVIS was evaluated against three new benchmarks of increasing complexity:

  • B-easy: 150 simple API queries evaluated via string matching.
  • B-medium: 30 questions requiring 2–3 stages of reasoning.
  • B-hard: 20 complex questions involving multiple reasoning stages and cross-tool dependencies.

Experimental Results

The performance gap between JARVIS and off-the-shelf models is significant. General-purpose models like GPT-4o and Llama 3.1 scored near 0% on these benchmarks due to their lack of specialized API knowledge. In contrast, the JARVIS framework achieved high accuracy across all difficulty levels.

Performance comparison showing the accuracy of JARVIS with and without the multi-agent framework across easy, medium, and hard benchmarks.

As illustrated in the results, the multi-agent framework is essential for high performance, particularly on complex tasks. On the B-hard benchmark, the inclusion of agents improved accuracy from 43% to 81%. Ablation studies further revealed that removing the RuleEnforce tool led to a 25% drop in accuracy on hard tasks, confirming that agentic feedback and domain-specific constraints are as vital as the underlying model's training.

Conclusion and Future Work

JARVIS demonstrates that a combination of domain-specific fine-tuning and a robust multi-agent architecture can solve highly specialized engineering tasks where general LLMs fail. Future work will focus on implementing Direct Preference Optimization (DPO) to improve conversational alignment and exploring ways to scale reasoning capabilities while managing the computational costs associated with multi-agent workflows.

Summary updated

BibTeX
@misc{pasandi2025jarvis,
  author = {Ghasem Pasandi and Kishor Kunal and Varun Tej and Kunjal Shan and Hanfei Sun and Sumit Jain and Chunhui Li and Chenhui Deng and Teodor-Dumitru Ene and Haoxing Ren and Sreedhar Pratty},
  title = {{JARVIS: A Multi-Agent Code Assistant for High-Quality EDA Script Generation}},
  year = {2025},
  eprint = {2505.14978},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.14978},
}
Figure