AnalogAgent: Self-Improving Analog Circuit Design Automation with LLM Agents
Organizations: Nanyang Technological University Singapore · Institute for Infocomm Research Singapore · Institute of Microelectronics Singapore · Eindhoven University of Technology Eindhoven, Netherlands ·
Abstract
Recent advances in large language models (LLMs) suggest strong potential for automating analog circuit design. Yet most LLM-based approaches rely on a single-model loop of generation, diagnosis, and correction, which favors succinct summaries over domain-specific insight and suffers from context attrition that erases critical technical details. To address these limitations, we propose AnalogAgent, a training-free agentic framework that integrates an LLM-based multi-agent system (MAS) with self-evolving memory (SEM) for analog circuit design automation. AnalogAgent coordinates a Code Generator, Design Optimizer, and Knowledge Curator to distill execution feedback into an adaptive playbook in SEM and retrieve targeted guidance for subsequent generation, enabling cross-task transfer without additional expert feedback, databases, or libraries. Across established benchmarks, AnalogAgent achieves 92% Pass@1 with Gemini and 97.4% Pass@1 with GPT-5. Moreover, with compact models (e.g., Qwen-8B), it yields a +48.8% average Pass@1 gain across tasks and reaches 72.1% Pass@1 overall, indicating that AnalogAgent substantially strengthens open-weight models for high-quality analog circuit design automation.
Figures & tables
| Model | DeepSeek-V2-Lite | Llama3-8B | SPICEPilot (Gemini-2.5-Flash) | AnalogCoder (Gemini-2.5-Flash) | AnalogCoder (GPT-5) | AnalogCoder-Pro (Gemini-2.5-Flash) | AnalogCoder-Pro (GPT-5) | AnalogAgent (Gemini-2.5-Flash) | AnalogAgent (GPT-5) | |||||||||
| Task ID | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 |
| 1 | 83.3 | 100.0 | 26.7 | 81.5 | 60.0 | 99.4 | 73.3 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 |
| 2 | 0.0 | 0.0 | 30.0 | 85.7 | 63.3 | 99.7 | 70.0 | 99.9 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 |
| 3 | 0.0 | 0.0 | 20.0 | 70.2 | 66.7 | 99.8 | 90.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 |
| 4 | 0.0 | 0.0 | 3.3 | 16.7 | 60.0 | 99.4 | 73.3 | 100.0 | 100.0 | 100.0 | 80.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 |
| 5 | 0.0 | 0.0 | 0.0 | 0.0 | 63.3 | 99.7 | 80.0 | 100.0 | 100.0 | 100.0 | 93.3 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 |
| Model | Easy | Medium | Hard | Avg Results | Avg Tokens | Avg Time |
| DeepSeek-V2-Lite | NA | NA | ||||
| Llama3-8B | NA | NA | ||||
| SPICEPilot | 251.5 | 2.6 | ||||
| AnalogCoder | NA | NA | ||||
| AnalogCoder-Pro | 40.2 | 2.1 | ||||
| AnalogAgent (Ours) | 32.0 | 1.3 |
| Model | Gemini-2.5-Flash | AnalogAgent (w/o MAS, w/o SEM) | AnalogAgent (w/ MAS, w/o SEM) | AnalogAgent (w/o MAS, w/ SEM) | AnalogAgent | |||||
| Task Level | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 | Pass@1 | Pass@5 |
| Easy | 78.3 | 85.2 | 82.9 | 97.7 | 94.2 | 100.0 | 88.8 | 98.6 | 100.0 | 100.0 |
| Medium | 60.0 | 60.0 | 64.7 | 80.0 | 75.3 | 92.5 | 56.0 | 66.2 | 86.7 | 99.6 |
| Hard | 34.5 | 41.0 | 43.7 | 52.8 | 68.8 | 70.9 | 45.1 | 54.3 | 89.8 | 100.0 |
| Avg | 50.4 | 56.0 | 63.8 | 76.8 | 79.4 | 87.8 | 58.6 | 68.1 | 92.0 | 99.9 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Id | Type | Circuit Description | Id | Type | Circuit Description |
| 1 | Amplifier | Single-stage CS amplifier with resistive load | 16 | Oscillator | RC phase-shift oscillator |
| 2 | Amplifier | Three-stage CS amplifier with resistive loads | 17 | Oscillator | Wien Bridge oscillator |
| 3 | Amplifier | Common-drain (source follower) amplifier | 18 | Integrator | Op-amp integrator |
| 4 | Amplifier | Single-stage common-gate amplifier | 19 | Differentiator | Op-amp differentiator |
| 5 | Amplifier | Single-stage NMOS cascode amplifier | 20 | Adder | Op-amp adder |
| 6 | Inverter | NMOS inverter with resistive load | 21 | Subtractor | Op-amp subtractor |
| Model (Avg | Solved) | Metric | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| Qwen3-1.7B Avg: 2.4/10.0 | Sol: 10/30 | Pass@1 | 0 | 0 | 0 | 3.3 | 3.3 | 3.3 | 3.3 | 0 | 0 | 13.3 | 13.3 | 3.3 | 3.3 | 23.3 | 3.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Pass@5 | 0 | 0 | 0 | 16.7 | 16.7 | 16.7 | 16.7 | 0 | 0 | 53.8 | 53.8 | 16.7 | 16.7 | 76.4 | 16.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| AnalogCoder-Pro (Qwen3-1.7B) Avg: 3.8/11.0 | Sol: 7/30 | Pass@1 | 0 | 0 | 0 | 3.3 | 10 | 0 | 0 | 3.3 | 0 | 0 | 26.7 | 10 | 6.7 | 53.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Pass@5 | 0 | 0 | 0 | 16.7 | 43.3 | 0 | 0 | 16.7 | 0 | 0 | 81.5 | 43.3 | 31 | 98.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| AnalogAgent (Qwen3-1.7B) Avg: 22.2/37.7 | Sol: 13/30 | Pass@1 | 53.3 | 0 | 0 | 56.7 | 33.3 | 80 | 3.3 | 33.3 | 0 | 90 | 43.3 | 83.3 | 10 | 76.7 | 80 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 53.3 | 0 | 0 | 0 | 0 |
| Pass@5 | 98.6 | 0 | 0 | 99.1 | 89.1 | 99.9 | 16.7 | 89.1 | 0 | 100 | 95.5 | 99.9 | 43.3 | 99.9 | 99.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 98.6 | 0 | 0 | 0 | 0 |
Electronic Design Automation
Electronic Design Automation uses algorithms and software to design, verify, optimize, and manufacture electronic circuits and systems.
See all 207 papers