copperhead

Copperhead FAQ

The basics

What is Copperhead?

Copperhead is an open source AI agent for PCB design that works on your real KiCad files. You describe a change or hand it a product brief, and it edits the schematic and board, updates every document that references them and runs KiCad's own ERC and DRC until they pass. A run ends in a commit you review, not a chat reply. Longer introduction here.

Can AI design a PCB?

Yes, within limits. Copperhead can take a written brief to a placed, routed and DRC-clean KiCad board or make a targeted change to a design you already have. It checks its own work with KiCad's ERC and DRC rather than asking you to trust it. What AI does not replace yet is engineering judgement: the draft layout is correct rather than optimal, and a person still signs off. See a brief go all the way to gerbers.

Is Copperhead a KiCad alternative or a KiCad plugin?

Neither. Copperhead is not a new PCB editor and does not run inside KiCad. It is an agent that reads and edits the .kicad_sch and .kicad_pcb files in your repository. You keep opening the project in KiCad exactly as before, and every change it makes shows up there and in git as an ordinary diff.

How is Copperhead different from Flux, Quilter or DeepPCB?

Flux is a browser-based PCB editor with an AI agent built in, so the design lives in Flux. Quilter and DeepPCB automate the placement and routing of a board you have already designed. Copperhead is open source and works on the KiCad files in your own repository, and it covers the whole design: the schematic, the board, the documents that describe them and the ERC and DRC checks that hold them together.

Does Copperhead replace a hardware engineer?

No. Copperhead automates the propagation and verification work that eats the day, and it flags every assumption it made. You remain the engineer of record, and it will not claim fab-readiness beyond "ERC and DRC clean".

What is design drift, and how does Copperhead catch it?

Drift is what happens when one design decision is spread across a schematic, a bill of materials, a power budget and several documents that then fall out of sync without anything breaking. It is usually found at bring-up, and a respin costs 5,000 to 50,000 dollars and six to eight weeks. Copperhead propagates every change to everything that references it, and copperhead check runs ERC, DRC and a drift check with no model calls, so it can gate every pull request in CI. The full argument is here.

Using it

Is Copperhead free?

Yes. The Copperhead CLI is open source under Apache-2.0 and free forever with every core operation included. You pay only for the model you run it with. Copperhead Cloud and the team plans are paid. See pricing.

Can I try Copperhead without installing anything?

Yes. Describe a board in the box at the top of the homepage and it opens in Copperhead Cloud in your browser, with no account needed to start.

How do I install the Copperhead CLI?

Run npm i -g copperhead. You need Node 20 or newer and KiCad 8 or newer with kicad-cli on your path. If you work in Claude Code, Cursor or Codex, you can instead paste one line from the README and let the assistant install and configure it for your repository.

Does Copperhead work on an existing KiCad project?

That is the main case. Point it at a KiCad repository, run copperhead init and start asking for changes. It can also run the full pipeline from a written brief with copperhead create, but iterating on real designs is what it is best at.

What kinds of boards can Copperhead design?

Copperhead works on boards of up to eight layers, which covers most microcontroller, sensor, power and IoT designs. Our own open source reference boards range from a 555 bench oscillator to a TPS5430 buck converter.

Does Copperhead support Altium, Eagle or other EDA tools?

Copperhead is built on KiCad, the most widely used open PCB tool. Its checks run through kicad-cli, so they are the same ones you would run yourself. Altium support is available on the Enterprise plan. Eagle and other formats are not supported today.

Which AI models does Copperhead use?

Copperhead is model-agnostic. Claude and GPT-5 are both tested against the same integration suite, and you choose which one runs. Set ANTHROPIC_API_KEY or OPENAI_API_KEY, or use an existing Claude Code, Codex or Cursor login instead of a key.

Can I use Copperhead from Claude Code or another MCP client?

Yes. copperhead mcp serves Copperhead to Claude Code or any other MCP host over stdio, and a companion skill for Claude Code ships with it. The host gets a handful of outcome-level tools and no raw file editing, so it cannot skip the spec gate or the ERC and DRC checks. The MCP server is experimental and its tool names may still change.

How much does an AI PCB design run cost?

A single change request is roughly 0.10 to 1.00 dollars in model tokens, and a full create pipeline run is five to ten times that. With your own key or login you pay your model provider directly. On Copperhead Cloud, managed inference is billed at model cost plus 20 percent, with a hard monthly spend cap you can set.

Boards and trust

Will the AI hallucinate parts or footprints?

Copperhead is built so a guess cannot reach your board unnoticed. It never invents a part number it cannot justify from a datasheet. Every edit has to pass KiCad's own ERC and DRC before it is kept, and any assumption it had to make is written down for you to review.

Can Copperhead generate Gerbers for manufacturing?

Yes. A full Copperhead run exports gerbers and drill files ready for fabs such as JLCPCB and PCBWay, from a layout that is DRC-clean. The draft layout is correct rather than optimal, and LAYOUT.md lists what is solid and what a layout specialist should redo first.

Does Copperhead route the PCB?

Copperhead places the parts itself and hands routing to Freerouting, an open source autorouter, rather than having the model draw tracks. It runs the router on a scratch copy of the board and keeps the new tracks and vias only after DRC passes.

What will Copperhead refuse to do?

It refuses to run on a dirty git tree, refuses to edit any design file before a validated change proposal exists and refuses changes that break a budget or constraint you have documented, citing the line it would violate.

Will it rewrite my whole schematic?

No. Edits are surgical changes to the KiCad s-expression source, so your diffs stay small and reviewable and untouched parts of the file stay byte-identical.

Is my design data private?

With the CLI, your design stays in your own git repository. The agent runs locally, stores nothing on a server and only sends design context as part of the model API call itself. Run transcripts live in .copperhead/runs/ with secret patterns redacted, and the agent never reads paths outside your repository. On the Enterprise plan Copperhead runs self-hosted or in your VPC, so design data never leaves your network.

Is Copperhead open source?

Yes. The agent is Apache-2.0 and its source is on GitHub. Everything it writes is plain markdown, JSON and KiCad source in your repository. Our own reference hardware is CERN-OHL-S v2.0.

Is there a cloud version of Copperhead?

Yes. Copperhead Cloud runs the same agent in your browser, with hosted runs on private repositories, from 49 dollars per user per month. Teams with export-controlled designs can run the Enterprise plan self-hosted instead. See the plans.