Circuits are composable TypeScript
Boards can be split into named modules, imported, tested, reviewed, and changed with ordinary source-control habits.
Selected work / PCBoo
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.
01 / Why it exists
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
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.
Boards can be split into named modules, imported, tested, reviewed, and changed with ordinary source-control habits.
Stable diagnostics, coordinates, nets, measurements, and machine-readable reports are more useful than asking a model to admire a render.
A local inspection server provides schematic, board, layer, measurement, and report views without uploading the project by default.
Fabrication, electrical, functional, standards, and sourcing states remain separate. One green light is not permitted to breed.
03 / The loop
The workflow is deliberately unsurprising. That is a compliment in engineering.
Define the circuit across small TypeScript modules with explicit configuration, constraints, and tests.
Use Codex, Claude Code, Cursor, or another coding agent. PCBoo does not require a ceremonial new chat interface.
Build twice, check the circuit, run tests, inspect structured results, and repair what actually failed.
Generate bounded reports and manufacturing artifacts, or hand the project to KiCad when specialist adjustment is the sensible answer.
04 / Why I built it
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
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.
Explore the project