AnalogSAGE: Self-evolving Analog Design Multi-Agents with Stratified Memory and Grounded Experience

Zining Wang, Jian Gao, Weimin Fu, Xiaolong Guo, Xuan ZhangarXiv 2025 · DOI

Abstract

AnalogSAGE is an open-source, multi-agent framework designed to automate the complex process of analog circuit design. By integrating Large Language Model (LLM) reasoning with a novel stratified memory system and simulation-grounded feedback, AnalogSAGE overcomes traditional hurdles such as structural invalidity and context limitations. The framework achieves a 100% pass rate on a benchmark of operational amplifier tasks, representing a 10x improvement over previous state-of-the-art methods and a 48x improvement in first-attempt success rates.

Introduction: The "Black Magic" of Analog Design

Analog circuit design has long been regarded as a form of "black magic" within the engineering community. Unlike digital design, which benefits from highly structured and automated synthesis pipelines, analog design relies heavily on human intuition, decades of experience, and the delicate balancing of competing specifications like gain, power, and bandwidth.

While Large Language Models (LLMs) have shown potential in interpreting design intent, they typically struggle with three critical issues in the analog domain: structural invalidity (generating incorrect device connections), a lack of grounded feedback from physical simulations, and context limits that lead to "memory loss" during long, iterative design cycles. AnalogSAGE addresses these challenges by mimicking the workflow of a human designer through a multi-agent system and a sophisticated memory architecture.

The AnalogSAGE Framework

The core of AnalogSAGE is a multi-agent system that divides the design process into three distinct, sequential stages. Each stage is handled by a specialized agent designed to perform a specific part of the design lifecycle.

System architecture of AnalogSAGE, detailing the interplay between specialized design modules and the stratified memory system.
  1. Topology Selection Agent: This agent translates high-level specifications into a concrete initial circuit architecture. It does this by querying a database of validated topologies, ensuring the initial design is structurally sound.
  2. Topology Refinement Agent: If initial simulations reveal performance gaps, this agent modifies the circuit structure—for example, by adding Miller compensation or nulling resistors—to resolve specific issues.
  3. Parameter Optimization Agent: Once the topology is fixed, this agent determines the exact numerical values (widths, lengths, bias currents) for every device. By using LLMs to predict physically consistent parameter ranges, the system reduces the optimization search space by 4x compared to blind numerical methods.

Stratified Memory: The Engine of Evolution

The "secret sauce" of AnalogSAGE is its stratified memory architecture, which separates knowledge into four distinct layers to prevent context overflow and enable cross-task learning:

  • Evolution Memory: Stores high-level insights from successful designs, allowing the system to build "intuition" over time.
  • Introspective Optimization: Analyzes failed iterations within a single task to provide corrective actions based on root-cause analysis.
  • Stage Context Fusion: Maintains a compressed summary of the current design state, ensuring the agents stay focused on the most relevant information.
  • Analog Design Experience: A Retrieval-Augmented Generation (RAG) system grounded in domain knowledge from over 10,000 academic papers (ISSCC 1955-2024) and a vector database of circuit topologies.

Iterative Design and Self-Correction

AnalogSAGE does not simply restart when a design fails a simulation. Instead, it performs a root-cause analysis. If a simulation shows instability, the Introspective Optimization layer identifies the specific failure (e.g., low phase margin) and suggests a structural fix based on its RAG-derived knowledge.

A step-by-step trace of the AnalogSAGE design process, illustrating how the system handles failure through reflection and structural refinement.

This iterative loop allows the system to refine both the structure and the parameters of the circuit until all specifications are met. The integration of the ngspice simulator and the SKY130 PDK ensures that every design is grounded in real-world physical constraints.

Experimental Results and Benchmarking

The framework was evaluated against 10 specification-driven operational amplifier (op-amp) design tasks, ranging from "Easy" to "Hard" constraints. AnalogSAGE demonstrated remarkable performance compared to previous baselines like SPICEPilot and AnalogCoder-Pro:

  • 100% Overall Pass Rate: AnalogSAGE successfully solved every design task in the benchmark.
  • 96% Pass@1: Nearly all tasks were solved on the very first attempt, a 48x improvement over AnalogCoder-Pro's 2% success rate.
  • Efficiency: The system achieved a 10x higher overall pass rate than previous LLM-based frameworks.
  • Ablation Studies: Tests showed that removing either the Evolution Memory or the Introspective Optimization layer significantly degraded performance, proving that both long-term learning and short-term self-correction are essential for robust analog design.

Conclusion

AnalogSAGE represents a significant leap forward in the automation of analog circuit design. By combining the reasoning capabilities of LLMs with a structured, stratified memory and simulation-grounded feedback, it effectively bridges the gap between high-level design intent and valid physical implementation. While currently focused on op-amps, the framework's general architecture provides a foundation for automating even more complex analog and mixed-signal systems in the future.

Summary updated

BibTeX
@misc{wang2025analogsage,
  author = {Zining Wang and Jian Gao and Weimin Fu and Xiaolong Guo and Xuan Zhang},
  title = {{AnalogSAGE: Self-evolving Analog Design Multi-Agents with Stratified Memory and Grounded Experience}},
  year = {2025},
  eprint = {2512.22435},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.22435},
}
Figure