# TopoScope: A Graph-Scoped LLM Agent for Printed Circuit Board Schematic Design

*Jiale Guo, Shiji Tong, Weihao Li, Yu Wu, Boxian Lin, Mengji Shi*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150854) · [Open on the map](../papers.html#p150854)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Hardware-Accelerated Code and System Benchmarking](../pgroup/193.md) · Type: new method · Keywords: PCB schematic design, graph-guided LLM agents, topology-guided context scoping, pattern-based rule verification, automated circuit layout

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Language Models for Hardware Design

## Summary
TopoScope is a training-free LLM agent that uses a schematic graph as both output and runtime guide, employing topology-guided context scoping and pattern-based rule verification to improve functional correctness and reliability for multi-IC PCB schematic design.

## Explained to a 5-year-old
People make drawings of how electronic parts connect on a board. It's hard to make a computer do this automatically. The researchers made a system that looks at a picture of the parts and uses rules to help the computer draw the connections correctly. It checks that the connections follow the right patterns and fixes mistakes. This helps make better drawings for electronic boards.

## Explained to a 5-year-old, longer
When we build gadgets, we need to connect tiny electronic pieces called components on a flat board. These connections must follow certain rules so the gadget works. Making these drawings by hand is slow and can have mistakes. The researchers wanted a computer to help draw them automatically. They created a system that takes a picture of the components and uses a special kind of map to guide the computer. This map shows which parts can be connected and how. The system also checks each new connection against a set of rules that come from the parts' data sheets. If a rule is broken, the system tells the computer to change the connection. This process repeats until the whole drawing is correct. The system works without needing to train a big model, just using the rules and the picture. It can handle many different kinds of boards and difficult designs. The researchers tested it on many examples and found it makes fewer mistakes than older methods. This makes designing electronic boards faster and more reliable.

## For a technical reader
TopoScope is a training-free LLM agent that treats the schematic graph both as output and as a runtime guide for generation. It implements topology-guided context scoping to narrow the LLM’s view for each wiring decision and pattern-based rule verification to encode datasheet constraints as graph patterns with immediate feedback. By integrating these mechanisms, the agent enforces pin-level and cross-component constraints without fine-tuning the underlying model. This yields higher functional correctness and fewer invalid references on multi-IC schematics compared to knowledge-provided baselines.

## Problem
Automating PCB schematic design is challenging because generated schematics must satisfy real-IC pin-level constraints and cross-component topological relations, which generic simulation, local rule checks, or direct LLM generation do not capture.

## Method
The approach uses a schematic graph as both the final output and a runtime guide, employing topology-guided context scoping to compute a focused view for each component-level wiring decision, and pattern-based rule verification to express datasheet-derived electrical constraints as graph patterns and provide in-loop feedback.

## Results
The approach achieves higher functional correctness, fewer invalid graph references, and more reliable generation of medium and hard multi-IC schematics than knowledge-provided baselines across seven LLMs.

## Contributions
The paper introduces a training-free LLM agent that leverages schematic graphs for generation and verification, along with a 20-design benchmark covering multiple complexity tiers and application domains, and demonstrates consistent improvements over existing baselines.

## Research questions this paper is counted under

- [How can AI models be trained to generate correct and efficient hardware designs while respecting domain constraints?](../q/283.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150854)
