← Back to selected work

Selected work / PCBoo

Circuit boards as code. Confidence sold separately.

PCBoo is an experimental open-source framework for building circuit boards with coding agents. The board lives in composable TypeScript. The evidence lives beside it. The agent is allowed to be clever, but not vague.

Animated technical diagram of a circuit board designed as code
BOARD / SOURCE / EVIDENCEOne repository.
Fewer magic tricks.
Type
Open-source framework
Interface
TypeScript + CLI
Foundation
tscircuit
Initial target
Apple Silicon macOS

01 / Why it exists

Coding agents understand repositories. Electronics still gives them rather a lot to misunderstand.

Software agents already work well with files, commands, tests, diffs, and structured errors. Circuit design often asks them to reason through visual editors, screenshots, and generated output whose confidence can exceed its electrical competence.

A plausible application can be patched after deployment. A plausible circuit board may instead arrive in a box, in quantity, looking extremely committed to the mistake. PCBoo was built to bring the useful habits of software engineering into that gap.

02 / What it is

The repository is the interface.

PCBoo is not a new model, a proprietary chat window, or a visual editor wearing an AI hat. It gives any filesystem-capable coding agent a precise project structure and deterministic tools for doing circuit work.

01

Circuits are composable TypeScript

Boards can be split into named modules, imported, tested, reviewed, and changed with ordinary source-control habits.

02

Agents receive exact feedback

Stable diagnostics, coordinates, nets, measurements, and machine-readable reports are more useful than asking a model to admire a render.

03

Humans keep the visual evidence

A local inspection server provides schematic, board, layer, measurement, and report views without uploading the project by default.

04

Readiness remains inconveniently specific

Fabrication, electrical, functional, standards, and sourcing states remain separate. One green light is not permitted to breed.

03 / The loop

Write. Build. Inspect. Prove.

The workflow is deliberately unsurprising. That is a compliment in engineering.

  1. 01

    Compose the board

    Define the circuit across small TypeScript modules with explicit configuration, constraints, and tests.

  2. 02

    Let the agent edit normal files

    Use Codex, Claude Code, Cursor, or another coding agent. PCBoo does not require a ceremonial new chat interface.

  3. 03

    Run deterministic commands

    Build twice, check the circuit, run tests, inspect structured results, and repair what actually failed.

  4. 04

    Produce reviewable evidence

    Generate bounded reports and manufacturing artifacts, or hand the project to KiCad when specialist adjustment is the sensible answer.

04 / Why I built it

Hardware needed a stricter definition of “done”.

I wanted to see whether a general coding agent could work on electronics through the interface it already understands best: a repository.

The interesting problem was not generating a board-shaped object. Generators are very good at producing objects shaped like answers. The harder problem was building a loop where the agent receives precise failures, the human can inspect the result, and neither is invited to confuse a successful export with a successful design.

PCBoo therefore treats reproducibility, provenance, bounded tools, and honest status language as product features. It is less dazzling than a demo which announces that the board is perfect. It is also considerably cheaper than discovering otherwise after fabrication.

05 / Current truth

Experimental means experimental.

The initial release targets Apple Silicon macOS and a fixed Bun version. It is built on tscircuit and is an independent project, not an official tscircuit product. Support is intentionally conservative while the verification boundaries are proved.

PCBoo does not certify a board, replace qualified engineering review, or make arbitrary generated hardware safe. High-voltage, RF, medical, automotive, aerospace, and other regulated work remain excellent places to involve an experienced electrical engineer rather than a particularly enthusiastic terminal.

  • Open source under the MIT licence
  • Local and telemetry-free by default
  • Built on the supported tscircuit implementation
  • KiCad available as a detached handoff

Explore the project

Build a board. Keep the receipts.