# Teaching Claude To Design Circuit Boards That Ship
Source: https://blog.diode.computer/anthropic-partnership
How we partnered with Anthropic to bring AI into real PCB design using Zener, our open-source language, to let Claude draft schematics, verify designs, and build a library of reference modules.
*By Nasheed Ur Rehman*
***
Diode Computers is an American design and manufacturing company for Printed Circuit Boards (PCBs) based in the Brooklyn Navy Yard. We build custom circuit boards with AI—everything from sensor frontends and power systems to dense boards that route high speed compute modules. The constraint is consistent: customers want production grade hardware on startup schedules.
Over the last few months [we have been working with Anthropic](https://claude.com/blog/making-claude-a-better-electrical-engineer) on a shared question: how good can a general purpose AI model become at real electrical engineering work. Not as a demo or a toy, but on designs that turn into hardware our customers plug into test stands, planes and robots.
Our goal was simple. If we could build the right tooling and guardrails, the model should be able to contribute across the PCB workflow, from reference design to layout to bringup firmware. The only way to do that reliably is to treat design as a software problem and assume that increasingly capable models will sit in the loop. The result is a system where models and engineers work together inside a language designed for both, with the structure and safeguards needed to participate safely and meaningfully alongside experienced hardware teams.
***
## Turning PCB Design into a software workflow
We work with customers from initial spec to volume production. At the core of that process is a toolchain that turns PCB design into something that looks a lot like a software problem.
Instead of dragging symbols around in a schematic editor and wiring them together by hand, engineers describe designs in a programmatic representation, which is automatically rendered and turned into a KiCad project ready for layout and fabrication. Tasks that would normally take days of engineer time, such as drafting schematics or standing up initial reference designs, can often be produced by models in hours, then reviewed and refined by humans.
The result is not only faster delivery times, it is a workflow that is easier to reason about, test, and improve.
***
## Zener, a language for humans and models
The foundation of our workflow is [Zener](https://github.com/diodeinc/pcb), our open source domain specific language built on top of Starlark for describing PCB schematics. Zener gives engineers a set of primitives for components, symbols, nets, interfaces, and modules, all expressed as code that is type safe and composable.
When we designed Zener we had two audiences in mind.
For human engineers, Zener needs to be readable at a glance. Traditional schematic capture tools encode structure in a visual diagram. Zener encodes that same structure in a way that can live in version control, pass through code review, and be refactored like any software project. When needed, the code renders directly into graphical schematics, so engineers can always see the visual representation they expect.
For models such as Claude, we wanted a language that would feel familiar. Starlark is a strict subset of Python, which means there is a large corpus of high quality code the model already understands. What remains is teaching the model the specific semantics of Zener. Once it understands that, it can navigate a design, trace signal paths, and manipulate the schematic with real awareness of intent.
***
## Why reference designs matter
Most serious hardware projects begin with a reference design. A new device rarely operates in isolation. It arrives with extensive documentation: decoupling requirements, biasing conditions, operating modes, and layout constraints. Even a single chip can demand a web of supporting components, each with details that are easy to miss.
In practice, producing a usable reference design usually means doing three things well: reading an often long and underspecified datasheet, turning example schematics into a reusable configuration, and selecting passives and support components that match the intended operating modes. Historically, this has been slow and error-prone. It is also exactly the kind of structured, text-heavy work that capable models can meaningfully accelerate.
***
## Building an open library of Zener reference designs
Creating a library of reusable, real-world tested reference modules is one of the highest-leverage investments our company can make. Each module captures a device and its recommended operating envelope. Once that library exists, larger systems can be assembled by composing proven blocks. Doing this in code is the right level of abstraction because code is modular, testable, and reusable by construction.
Once Zener was created, the first project we tackled was building an open library of reusable reference designs written in the language.
KiCad already ships with a substantial component library, including symbols, footprints, and links to datasheets. By giving Claude access to those datasheets in a machine-readable form, alongside Zener documentation and a small set of high-quality examples, we built a pipeline where the model drafts complete reference modules for individual parts.
The workflow is straightforward:
* Provide the datasheet for a component, plus a small set of high-quality Zener examples.
* Ask the model to draft a configurable reference module that covers relevant operating modes.
* Run the output through our tooling and programmatic checks.
* Feed critical issues back for correction, then route the result for human review.
Within two weeks, this pipeline produced roughly 250 reference designs, spanning simple sensors, microcontrollers, switching power stages, and more complex analog signal-processing chains. These examples are published at [https://zener.diode.computer](https://zener.diode.computer), and they also contributed to the broader effort to make Claude stronger on practical electrical engineering tasks. Those gains carry forward into the models our engineers use today, improving day-to-day work through shared training and iteration.
***
## The Registry: a sandbox for AI hardware design
Public reference designs are only one part of the story. Inside Diode, we maintain a second library we call the Registry.
The Registry contains higher value modules that represent a meaningful engineering investment and show up across many boards. It includes compute platforms built around Qualcomm system-on-modules and Nvidia Jetson systems, RF and mixed signal front ends for high frequency applications, and the supporting power, sensing, and communications blocks that have already been exercised in real projects, including environmental testing and volume production.
Each Registry entry is more than a schematic. It is a Zener module paired with a validated layout fragment and manufacturing data that can be dropped into a new board, along with constraints and notes that encode practical experience from prior work. When a module is pulled into a project, it brings a proven physical implementation, not just a conceptual design. What remains is largely inter module routing and system level integration.
This structure also gives Claude a clean sandbox to operate in. When a new customer request comes in, we record the early discussions and use a model to draft a structured specification. Claude then uses that specification to search the Registry, import the right building blocks, and assemble a first pass design in Zener. If a needed block is missing, it can generate a new reference module using the same techniques described above.
The net effect is that project kickoff becomes an exercise in composition rather than starting from a blank slate. Layout integration and human design review remain the final stages before fabrication, but the front half of the timeline compresses materially. In practice, that has meant a consistent shift from months to weeks on real projects.
***
## Simulation as ground truth
Models can sound confident about circuits that would never work. The only way to close that gap is to give them access to ground truth: simulation results that don't lie.
*Twin-T notch filter generated in Zener*
Each Zener module can include SPICE simulations that run automatically. When Claude proposes a filter, a bias network, or a power stage, the simulation runs and returns real numbers—gain, bandwidth, stability margins. If the circuit fails to meet spec, the model sees exactly why and iterates. This tight feedback loop is what turns a language model into something that can genuinely reason about analog behavior.
*SPICE simulation output showing the notch response*
Beyond simulation, the full netlist is available for static checks: tracing power paths, verifying signal directionality, and catching floating pins or miswired rails. Engineers still sign off every design, but the combination of simulation feedback and structural verification means fewer surprises make it to review.
***
## Symbols, placement, and the details that matter
Beyond reference designs and firmware, we have found a number of smaller but meaningful ways to involve models in day to day PCB work.
Symbol and footprint quality is a good example. There is an entire ecosystem of companies focused purely on ECAD libraries for a reason. Good symbols and footprints are essential if schematics are to remain readable as designs scale. Much of the internet’s KiCad library content is electrically correct but stylistically inconsistent. With Claude in the loop, we can describe the standards we want in natural language and have the model iteratively reshape downloaded symbols to match our conventions. It adjusts pin ordering, groups related functions, and cleans up graphics so design reviews are faster and schematics are easier to scan.
*Claude reshaping a KiCad symbol*
A similar pattern applies in layout. Placement has historically been a highly manual discipline, especially for the repetitive supporting components that make a board actually behave. By parsing KiCad board files, Claude can propose sensible placements for decoupling capacitors near the pins they serve, organize bulk capacitors into clear banks, and align text labels with the interfaces they describe. None of this replaces layout engineers, but it reduces time spent on mechanical edits and keeps human attention focused on routing strategy, signal integrity, and system level tradeoffs. The cumulative effect is designs that are friendlier for people while remaining fully machine navigable.
*Claude automating component layout*
***
## Schematics for humans, code for models.
The overarching pattern is a clean separation of concerns. Engineers continue to work in schematic editors, focus on architecture, and communicate ideas through familiar symbols and nets. Under the hood, those schematics are backed by Zener modules that models can read and write.
Each symbol and connection corresponds to a precise Zener definition. Any change made by an engineer has a well defined representation in code, and any proposal from a model arrives as a clear, reviewable diff. That makes the workflow feel like hardware on the surface, but behave like software in the parts that matter.
This enables a new design loop. An engineer can ask for a high level change in natural language, let Claude propose edits in Zener, and then accept or adjust them with the same discipline used in a code review. From that shared code representation, automated checks can run consistently, and the growing library of accepted designs becomes durable context that improves future suggestions. The goal is not only speed, but hardware design that is more searchable, reviewable, and collaborative, so both humans and models can operate at a higher level of abstraction.
***
## Where we are going next
Our roadmap is to keep pushing this loop: evolve Zener and the surrounding tooling so hardware design becomes a natural capability for frontier models.
On the design side, that means expanding the public library of Zener reference designs and examples, growing our internal Registry of reusable modules and validated layout fragments, and tightening the feedback loop between real Diode projects and the models that help build them. We want Zener to capture more of the constraints and intent that currently live in engineers’ heads or scattered documentation, so a model like Claude can take a natural language description of a board, assemble a design from proven building blocks, verify it against electrical rules, and draft bring up firmware. The output should be a design an engineer can understand, review, and ship.
On the manufacturing side, we are extending the same approach into panelization, test planning, and supply chain aware design, so more of the path from specification to a board arriving on a customer’s bench is automated, auditable, and reliable.
The objective is simple to state and difficult to execute: a team should be able to describe the board it needs and have working hardware arrive with as little friction as possible, without giving up the rigor that good engineering demands. Strong models matter, but the key ingredient is the language that sits between AI systems and human designers. That language is Zener, and we are committed to building it in partnership with teams like Anthropic advancing the state of the art.
***
### Acknowledgements
This article was written in collaboration between Nasheed Ur Rehman, Davide Asnaghi and Lenny Khazan of Diode Computers.
# A Better Way to Review Hardware
Source: https://blog.diode.computer/hardware-review
PCB review is really intent reconstruction. Why that makes it hard, why most tools miss the point, and how Diode is building an AI electrical engineering reviewer that finds the bugs that matter.
*By Nasheed Ur Rehman, Head of Forward Deployed Engineering*
***
Last week, [comma.ai](https://comma.ai) reposted its [hardware challenge](https://github.com/commaai/harness_tester_challenge).
It is a good challenge. The premise is simple: they designed a wire harness tester, added bugs to the schematic, layout, and firmware, and asked people to find what was wrong.
Our CTO, Lenny Khazan, decided to throw Diode's internal tooling at it. The challenge ships as a KiCad project, so the first step was importing it into Zener — our open-source language for describing PCBs as code — to give the reviewer the structured representation it needs.
With a few prompts, the tool found 22 bugs and won the \$1000 prize.
The interesting part is not the prize. The interesting part is what had to exist for that to be possible.
I remember trying the [comma challenge](https://github.com/commaai/harness_tester_challenge) when I was in college. It was fun in the way hard things are fun. You start by opening the schematic and thinking you will find a few obvious issues. Then, very quickly, you are deep in the work. You are probing individual nets. You are opening datasheets. You are checking whether a pin is actually the pin you think it is. You are comparing connector mappings, regulator topologies, protection circuits, and interface requirements.
After a few hours, you realize something slightly unsettling: you are not really "checking a board."
You are reconstructing the intent of the engineer who designed it.
That is what makes PCB review hard.
***
## How a board can fail
A PCB can fail in a few broad ways.
The first class is design failure. The schematic is wrong. A pin is floating. A regulator feedback network is incorrect. A reset pin is not pulled to the right state. A part is being used outside its recommended operating conditions.
The second class is implementation failure. The schematic may be mostly right, but the layout is wrong. The decoupling capacitor is too far from the pin it is supposed to support. A high-speed signal loses its reference plane. A current path necks down somewhere inconvenient. Differential pairs are routed as if they are decorative.
The third class is manufacturing and assembly failure, which is its own universe of problems: wrong parts, wrong packages, bad solder joints, tombstoning, polarity mistakes, and all the ways a thing that was correct in CAD can still become wrong in the real world.
Most tools only cover a slice of this.
DRC tells you whether your layout violates a set of geometric rules. ERC tells you whether some obvious electrical relationships look suspicious. BOM tools can tell you whether a part exists, maybe whether it is expensive, maybe whether it is out of stock.
These are all useful.
But none of them really answer the question an experienced EE is asking during a review:
"Is this actually going to work?"
***
## Intent lives outside the file
That question is hard because the answer depends on intent.
A schematic is not just a graph of nets. It is a compressed explanation of what the board is supposed to do. Some of that explanation is explicit: net names, page titles, component choices, annotations. But a lot of it lives outside the file.
It lives in the datasheet the engineer read three weeks ago. It lives in the reference design they copied but modified. It lives in the assumption that this enable pin will be driven later, or that this connector pinout matches a cable, or that this ADC input will never exceed a certain voltage.
When you review someone else's board, you have to recover all of that context.
This is why the comma challenge is interesting. It is not merely a puzzle. It is a compact version of a real engineering problem: can you inspect a hardware design deeply enough to find the bugs that matter before the board is built?
***
## What we are building at Diode
*Reviewer output on the comma harness challenge — bug descriptions censored to keep the puzzle intact for future challengers, but the counts and severities are real.*
At Diode, we have been building an AI electrical engineering reviewer for exactly this kind of work.
It is not a chatbot that says generic things about decoupling. It is a design reviewer that reads real hardware projects: schematics, PCB layouts, Zener modules, KiCad projects, and BOMs.
It is read-only. It does not edit your files. It investigates and reports findings.
The reviewer looks for the same classes of problems a careful electrical engineer looks for.
It checks schematic correctness: floating pins, missing pull-ups, bad enables, shorted nets, incorrect connector pinouts, missing feedback components, and logic-level mismatches.
It checks datasheet compliance: recommended application circuits, decoupling requirements, absolute maximum ratings, operating conditions, power sequencing, and interface requirements.
It checks power integrity and protection: regulator stability, capacitor selection, current limits, reverse polarity protection, ESD, surge paths, grounding, and return currents.
When layout files exist, it inspects physical implementation: decoupling placement, high-current trace width, return paths, sensitive routing, crystal placement, clearances, thermal copper, and vias.
It can also inspect BOMs for invalid part numbers, value mismatches, package mismatches, derating issues, and sourcing risk.
The important part is that it does not try to sound smart.
It tries to be useful.
That means it should not invent findings. If there is no evidence, there is no report. Findings are prioritized by severity: critical issues that can make the board nonfunctional or damaging, warnings that are likely problems or datasheet deviations, and notes that are worth verifying.
This is a subtle but important distinction.
A bad AI reviewer is worse than no reviewer, because it creates work. It fills the review with plausible nonsense, and now an engineer has to review the review.
The goal is not to produce a long report.
The goal is to find the small number of things that would actually make you regret ordering the board.
***
## Why this works: Zener
The reason this works at Diode is Zener.
Zener is our open-source language for describing PCBs as code. A board written in Zener is not just a drawing. It is a structured representation of components, nets, interfaces, modules, and constraints. It can render into normal schematics for humans, but underneath it has the properties software engineers expect: it is readable, composable, version controlled, reviewable, and testable.
This matters because models are much better when the thing they are reasoning about has structure.
Traditional EDA tools were built for humans looking at drawings. That is still important. Engineers should be able to inspect a schematic visually.
But models need a different interface. They need to trace relationships, jump between modules, inspect symbols, compare intent to implementation, and connect datasheet requirements to actual nets and components.
Zener gives the model something closer to source code. It turns hardware into a workflow where a model can reason about the design instead of just staring at screenshots of it.
***
## Review is many tasks stacked together
The comma challenge is a clean demonstration of this broader point.
Hardware review is not one task. It is many tasks stacked together.
You have to understand what the board is supposed to do. You have to identify the critical components. You have to read the datasheets. You have to know which recommendations are optional and which are not. You have to trace the schematic. You have to inspect the layout. You have to notice when a part is electrically correct but physically implemented in a way that defeats the point. You have to decide whether something is a real bug or merely a design choice you would not have made.
That is precisely the kind of work AI can help with, if the workflow is built correctly.
Not by replacing the engineer.
By giving the engineer a tireless second reviewer.
A good reviewer does not get bored halfway through a 90-page datasheet. It does not forget to check the enable pin because the power tree looked fine. It does not skip the layout because ERC passed. It can follow a net through the project, look up the device requirements, compare them against the schematic, then ask whether the layout preserves the assumptions the schematic made.
It is still not magic.
It cannot guarantee production readiness. It does not replace lab validation, EMC testing, SI/PI, thermal testing, certification, or final sign-off. Firmware and bring-up can be increasingly automated, but real hardware still needs to be measured and validated. It can be wrong. It can miss things.
But so can people.
The right comparison is not AI versus a perfect engineer.
The right comparison is AI plus an engineer versus the process most boards actually get: one tired person reviewing a design under schedule pressure, with some checks automated and many assumptions left implicit.
***
## Closing the gap
PCB review has always had a tooling gap.
We have excellent tools for drawing boards. We have manufacturing checks. We have simulation for certain domains. But the everyday act of asking "is this design electrically sane?" is still surprisingly manual.
That is the gap we are trying to close.
The future of PCB design will look more like software. Designs will live in structured representations. Reviews will be diffable. Reference circuits will be reusable. Constraints will travel with modules. Models will inspect boards continuously, not just at the end.
Engineers will spend less time hunting for missing pull-ups and more time deciding what the system should be.
The comma challenge was designed as a hiring screen. It asks a useful question:
Can you find the bugs?
Increasingly, the better question may be: can your tools help you find them before they become hardware?
Because the cost of a missed bug is not a lower leaderboard score.
It is a board spin.
# Announcing our Series A
Source: https://blog.diode.computer/series-a-announcement
We built a chip that worked first try—then the PCB failed. Here's why we're rebuilding the entire PCB stack, now backed by a16z.
*By Davide Asnaghi, Co-Founder & CEO*
***
## The Problem
A few years ago, my co-founder Lenny and I taped out custom silicon at TSMC. It was a complicated mixed-signal ASIC, and — against all statistical odds — it powered up flawlessly on day one.
The printed-circuit board that hosted that miracle chip?
Two unconnected nets, one flipped footprint, and a thermal relief that never relieved.
That disconnect still blows my mind. Modern semiconductor toolchains can verify billions of transistors, yet the software that routes copper on a postcard-sized fiberglass slab can't protect engineers from simple blunders. We realized the bottleneck in hardware innovation wasn't Moore's Law; it was the "one-board-per-quarter" cadence forced by legacy EDA workflows.
So we started **Diode** to close that gap.
***
## The Broken Workflow
1. **Siloed design** in heavyweight, decades-old EDA suites.
2. **Manual export** of a dozen file formats, each with hidden assumptions.
3. **Email ping-pong** with fabricators over spacing, drill tables, and stack-ups.
4. **Spin, wait, repeat**—all while the BOM mutates in the background.
Every time you reroute because a part goes EOL or the board comes back with cryptic "DFM violations," you lose precious calendar days. Worse, your company loses confidence to iterate.
***
## Our Solution
Traditionally, Electronic Design Automation (EDA) has faced several limitations. Our goal is to redesign the entire stack to make it better for humans AND machines:
* **Open Source, Pythonic Code:** Unlike proprietary, closed schemas, Diode's open and human-readable code is easily understood by LLMs for generation and readily reviewable by humans.
* **Lightning-Fast Verification:** Our Rust core compiles full designs in *milliseconds*, drastically speeding up the verification process.
* **Designed for manufacturing:** We move beyond "one-size-fits-nobody" rulesets by incorporating shop-specific, machine-readable constraints from the outset, ensuring tailor-made and efficient design adherence.
We began on the shoulders of giants: **KiCad** is the gold standard in open-source electronics, so we're proud to become a **Platinum Sponsor**.
***
## What We Offer Today
* **A board design every 4 days** A single EE at diode shipped **100+ unique designs last year** without too much effort (it was still hard).
* **Fortune 100 & frontier startups** Teams at *Physical Intelligence*, *Saronic*, and several Tier-1s are already using Diode to shrink revision counts from *five* to *one*.
* **Format-agnostic output** If your workflow is Altium or Cadence today, you'll still get BRDs, ODB++, or IPC-2581 - just without the pain.
Each board pushed through Diode feeds a feedback loop: real-world yield data, stack-up quirks, upstream lead-times, even reflow profiles. The compiler gets smarter; your next design gets safer.
***
## Where We're Headed
Our ambition isn't to be an "AI PCB copilot." We're teaching machines to reason about *physical* constraints—electrical, thermal, mechanical—and to take designs all the way to a box you can hold. When you hire Diode, you're hiring an **automated schematic engineer, layout specialist, and manufacturing liaison** all rolled into one.
Someday opening Altium for a fresh design should feel as retro as FTP-ing static HTML. Talking to Diode's model will be faster.
***
## Why Now
Reshoring, defense urgency, and shrinking component lifecycles mean hardware teams can't afford six-week spins. That's why we're thrilled to partner with **Andreessen Horowitz**, alongside **Y Combinator**, to scale Diode's compiler and onboard more fabs.
***
## Join Us
We're hiring world-class **electrical engineers** and **systems hackers** who want to ship real boards. If rebuilding the hardware toolchain from transistor up to BOM excites you, let's talk.
→ **[careers@diode.computer](mailto:careers@diode.computer)**
*Hardware can move at the speed of software. We're writing the compiler that makes it so.*