ZhuLong: Execution-Grounded LLM Agent for EDA Scripting with Offline API Self-Exploration

πŸ“… 2026-08-08
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This work addresses the challenges of script writing in electronic design automation (EDA), where tool-specific interfaces and insufficient documentation hinder productivity. The authors propose an execution-feedback-driven large language model agent that integrates API retrieval, documentation parsing, and sandboxed execution within a unified MCP framework. A novel offline API self-exploration mechanism, augmented with counterfactual experiments, enables the inference of undocumented API semantics without real-environment interaction. The system supports both PyAether and SKILL languages, achieving a 78.5% Pass@1 on the EDA-Eval-PyAether benchmarkβ€”54.9 percentage points higher than a pure LLM baseline. In 20 interactive tasks, it attains Pass@1 rates of 60.0% for PyAether and 50.0% for SKILL, significantly reducing tool invocations while improving script generation accuracy.
πŸ“ Abstract
EDA scripting with tool-specific, often undocumented APIs remains a long-tail bottleneck that existing LLMs fail to address. This paper presents ZhuLong, an execution-grounded LLM coding agent for PyAether and SKILL that combines API retrieval, documentation inspection, and sandbox execution via unified MCP tools, augmented by an offline API self-exploration mechanism that infers undocumented API behaviors through counterfactual experimentation. We evaluate ZhuLong on EDA-Eval-PyAether, a benchmark of 158 real-world tasks with assertion-based execution, where the complete system achieves 78.5% Pass@1 in the commercial Empyrean Aether environment, substantially outperforming a pure LLM baseline (23.6%). Ablation studies identify sandbox execution as the dominant performance driver (41.2 pp drop when removed), with the self-exploration mechanism contributing an additional 3.2 pp accuracy gain and a 22.1% reduction in per-task tool calls. On 20 interactive tasks involving unsaved layouts and schematics, ZhuLong achieves 60.0% Pass@1 for PyAether and 50.0% for SKILL.
Problem

Research questions and friction points this paper is trying to address.

EDA scripting
undocumented APIs
tool-specific APIs
LLM limitations
long-tail bottleneck
Innovation

Methods, ideas, or system contributions that make the work stand out.

execution-grounded agent
offline API self-exploration
counterfactual experimentation
EDA scripting
MCP tools
πŸ’Ό Related Jobs
No related jobs found.
Y
Yang Liu
Changxin Memory Technologies, Inc.
S
Shiwei Hou
Changxin Memory Technologies, Inc.
Xiyuan Chen
Xiyuan Chen
Stanford University
SensorsStretchable ElectronicsStructural Health Monitoring
Y
Yu Wang
Changxin Memory Technologies, Inc.
S
Sen Yuan
Changxin Memory Technologies, Inc.
Q
Qirui Gan
Changxin Memory Technologies, Inc.
S
Shao You
Changxin Memory Technologies, Inc.
F
Feifan Chen
Changxin Memory Technologies, Inc.
W
Wencheng Li
Changxin Memory Technologies, Inc.
S
Shuyang Hu
Changxin Memory Technologies, Inc.
Y
Yongzhou Liu
Changxin Memory Technologies, Inc.
E
Emma Xia
Changxin Memory Technologies, Inc.
X
Xiaojing Lu
Changxin Memory Technologies, Inc.
H
Hao Wang
Changxin Memory Technologies, Inc.
F
Fan Xu
Changxin Memory Technologies, Inc.
Y
Yanfeng Li
Changxin Memory Technologies, Inc.