copperhead
An open-source AI agent that designs, documents, and verifies printed circuit boards by working directly on KiCad files with spec-gated edits and ERC/DRC verification.
At a Glance
Full open-source CLI agent for local PCB design on your own machine. Apache-2.0, forever.
Engagement
Available On
Alternatives
Listed Sep 2026
About copperhead
Copperhead is an open-source AI engineering platform described on its homepage as "Cursor for circuit boards." Built by Chouhan Industries and released under Apache-2.0, it helps hardware teams design, verify, and ship PCBs by operating directly on KiCad repositories — reading and editing real .kicad_sch and .kicad_pcb files, maintaining markdown design docs as memory, and running KiCad's own ERC/DRC checks until they pass. The GitHub repository lists the latest release as v0.10.0, published in August 2026.
What It Is
Copperhead is an AI product-development agent for hardware engineering. Given a natural-language product brief or a change request, it runs a structured pipeline — spec, architecture, part selection, schematic, layout, gerbers, firmware scaffold, and dev plan — and produces a complete, manufacturable design package. Unlike generic coding agents pointed at KiCad files, Copperhead enforces two hard invariants: nothing touches a KiCad file until a validated change proposal exists, and nothing is marked done until ERC/DRC checks pass. The tool is installed as a global npm package (npm i -g copperhead) and requires Node.js ≥ 20 and KiCad ≥ 8 with kicad-cli on PATH.
How the Eight-Stage Pipeline Works
The copperhead create command runs a fixed sequence of eight stages, each producing a gated artifact on disk before the next stage starts:
- Spec →
docs/SPEC.md(budgets section filled in) - Architecture →
docs/SUBSYSTEMS.md(reasoning under every subsystem) - Parts →
docs/BOM.md(part numbers verified against datasheets) - Schematic →
design.kicad_sch(symbols placed, ERC clean) - Layout →
design.kicad_pcb(footprints on board, DRC clean) - Outputs → gerbers, drill files, STEP
- Firmware →
firmware/scaffold withpins.h - Dev plan →
docs/DEVPLAN.md(bring-up and test plan)
If a gate fails, the run stops there. Every stage commits one artifact, so the design history is fully traceable. The copperhead do "<change>" command operates on an existing KiCad repo the same way a coding agent operates on a codebase — surgical edits to the s-expression source, propagated across all referencing docs, then verified.
Model Backends and Integration
Copperhead is model-agnostic. It supports Claude (via ANTHROPIC_API_KEY), GPT-5 (via OPENAI_API_KEY), Claude Code (via saved OAuth token), Cursor Agent CLI (via saved login), Codex CLI, and any OpenAI-compatible endpoint (Groq, OpenRouter, Gemini, local Ollama) via COPPERHEAD_BASE_URL. Users can bring their own API key or, on paid cloud tiers, use managed inference. An experimental MCP server (copperhead mcp) exposes five opaque, outcome-level tools to MCP hosts — copperhead_check, copperhead_do, copperhead_sync, copperhead_init, copperhead_doctor — with no raw file-edit tool available, so host agents cannot bypass spec-gating.
Open-Source Deployment Model
The entire agent core, prompts, and tools are public under Apache-2.0. The project describes itself as "open core": the CLI is free and always will be, funded by grants rather than hosted revenue. Paid tiers add hosting, collaboration, and governance on top of files users already own in their own git repos. All output is plain markdown, JSON, and KiCad files — no proprietary formats, no lock-in. The project states that canceling a paid plan drops users back to the free CLI working on the same files. Open hardware repos released under CERN-OHL-S or an OSHWA-certified license qualify for the Cloud tier at no cost, per the pricing page.
Update: v0.10.0
The GitHub repository shows v0.10.0 as the latest release, published 2026-08-26, with the repository last updated 2026-09-11. The README describes the current maturity honestly: init and check/verify are deterministic, LLM-free, and covered by an offline test suite against a real KiCad fixture; the agent loop (do, sync --resolve, create) is complete and structurally gated but described as "implemented, not yet proven" end-to-end with a live model. Every mutation runs inside a git snapshot and rolls back if verification fails, so the worst case is a no-op commit rather than a corrupted schematic. The project self-describes its status as "early" with the surface expected to move before 1.0.
Community Discussions
Be the first to start a conversation about copperhead
Share your experience with copperhead, ask questions, or help others learn from your insights.
Pricing
CLI
Full open-source CLI agent for local PCB design on your own machine. Apache-2.0, forever.
- The full agent: do, create, init, check, watch
- Bring your own Claude or GPT-5 key
- Runs on your KiCad files, in your own git repo
- Plain markdown, JSON and KiCad output. No lock-in.
- Runs locally, never metered
Cloud
Hosted runs on private repos, with a web viewer. Free for open hardware repos.
- Hosted runs, no local setup, from anywhere
- Private repositories
- Web viewer: chat, live schematic and board render, ERC/DRC status
- Run history and shareable check reports
- One-click gerber, DXF/STEP, render and BOM export
- BYO key, or managed inference with 200 credits a seat
Team
Cloud with governance and CI for a whole team. $49/user/mo + $199/mo platform fee.
- CI bot: run check as a required PR status check
- Shared, versioned constraint libraries across the org
- SSO / SAML, role management, central billing
- Managed credits pooled across the team
- Shared run history
Enterprise
Self-hosted or VPC deployment, built for procurement. Flat annual license.
- Self-hosted or VPC, so design data never leaves your network
- Altium support beyond KiCad
- RBAC, security review, dedicated support and an SLA
- An audit trail your compliance team can hand over
- Flat annual license, no per-run metering
Capabilities
Key Features
- Full pipeline from natural-language brief to gerbers, firmware, and dev plan
- Operates on existing KiCad repositories with surgical s-expression edits
- Spec-gated edits: KiCad files cannot be touched until a validated change proposal exists
- ERC/DRC verification after every file mutation via kicad-cli
- Eight-stage gated pipeline: spec, architecture, parts, schematic, layout, outputs, firmware, dev plan
- Drift detection: docs and schematic kept in sync, drift treated as a build failure
- Model-agnostic: Claude, GPT-5, Claude Code, Cursor Agent, Codex, OpenAI-compatible endpoints
- Bring-your-own API key or managed inference
- Supplier-ready BOM export for JLCPCB, DigiKey, and Mouser
- Experimental MCP server with five opaque outcome-level tools
- Git-snapshotted mutations with automatic rollback on verification failure
- Decision log and changelog written automatically after every real decision
- copperhead check: LLM-free ERC/DRC and doc-drift CI check
- copperhead init: idempotent doc scaffolding from existing schematic
- Interactive agent shell (REPL mode)
- Plain markdown, JSON, and KiCad output with no proprietary formats
