Show HN: Copperhead – Cursor for circuit boards
TL;DR Highlight
Open-source PCB design agent that only advances when KiCad checks pass
Who Should Read
Embedded and hardware developers who want an LLM agent to keep schematics and docs from drifting apart
Core Mechanics
- It stops when a gate fails
- copperhead is an open-source AI agent for PCB design, installed with npm i -g copperhead.
- Each stage must leave its artifact on disk before the next starts, and a failed gate stops the run.
- Eight stages from brief to package
- Stages are spec, architecture, parts, schematic, layout, outputs, firmware and dev plan, each its own agent run.
- Each stage gets one commit.
- Drift is the core problem
- One decision spreads across schematic, BOM, power budget and docs, and nothing breaks when they diverge.
- Finding it at bring-up means a respin costing $5,000 to $50,000 and six to eight weeks, per the site.
- Validated proposal before any edit
- It refuses to edit design files before a validated change proposal exists.
- It refuses changes that break a documented budget or constraint, citing the line.
- It refuses to run on a dirty git tree.
- Surgical edits to KiCad files
- It edits the KiCad s-expression source in place, so untouched parts stay byte-identical.
- It says it never invents a part number it cannot justify from a datasheet.
- CLI free, hosting and team paid
- The CLI is Apache-2.0 and uses your own Claude or GPT-5 key.
- Cloud and Team are $49 per user per month, and Team adds a $199 per month platform fee.
Community Reactions
- Opinion: look at tscircuit
- One commenter says KiCad wasn't built for AI-generated designs with auto routing/placement or footprint orientation checks.
- They worry everyone is getting bound to KiCad s-expressions.
- Pushback: general agents may be enough
- Commenters report editing and debugging KiCad schematics with Claude and Gemini and finding it pretty good.
- Another says regular coding agents handle Skidl schematics and layout review well.
- Placement is still NP-hard
- One commenter says the real question is whether LLMs beat classical autorouters.
- Another tested Astra over a weekend and found it could edit schematics and route, though the routing was unsatisfying.
- Complaints about copy and a bug
- Several commenters disliked the site's AI-written copy.
- One reported inputs in Start a board not accepting text on desktop Chrome on macOS.
How to Apply
- Run init on an existing design repo
- In a clean git repo with KiCad files, run npm i -g copperhead and then copperhead init.
- Request one small change and check how small the diff is.
- Add stage gates to your own agent
- Require an artifact on disk and a passing check before each pipeline stage starts.
- Stop the run and skip the commit when a check fails.
- Add a proposal check before edits
- Make the agent write a change proposal first and compare it to documented constraints.
- Reject violations by quoting the line they would break.
Try It
# Paste into Claude or ChatGPT (simplified prompt version of copperhead's verify-first approach)
You are a design assistant that verifies before changing. Read the design docs below and handle the request.
[Design docs]
{{docs}}
[Request]
{{change request}}
Follow this order.
1. Write a change proposal first, listing affected docs, parts and budgets.
2. If it breaks a documented constraint or budget, quote the violated line and stop.
3. If it passes, give the edit.
4. Finally check for inconsistencies between docs and write a one-line decision record.
Next: send a request that deliberately breaks a budget and see whether it refuses.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques