Show HN: AI scientist builds an open-source Codex Micro from scratch for $40
AgentPad13 is an open-source, low-cost alternative to the $230 Codex Micro macropad, designed autonomously by the AI agent Marvin within 48 hours Marvin approached PCB routing as a research problem rather than relying on existing tools, synthesizing literature, generating hypotheses, and iteratively experimenting Existing AI and open-source PCB routers (KiCad/FreeRouting, Quilter) plateaued at ~95% completion, leaving 18–33 unrouted connections due to the combinatorial difficulty of final trace
Analysis
TL;DR
- AgentPad13 is an open-source, low-cost alternative to the $230 Codex Micro macropad, designed autonomously by the AI agent Marvin within 48 hours
- Marvin approached PCB routing as a research problem rather than relying on existing tools, synthesizing literature, generating hypotheses, and iteratively experimenting
- Existing AI and open-source PCB routers (KiCad/FreeRouting, Quilter) plateaued at ~95% completion, leaving 18–33 unrouted connections due to the combinatorial difficulty of final trace routing
- The resulting board features 13 hot-swappable keys, a rotary encoder, analog joystick, capacitive touch, per-key RGB, edge lighting, QMK/Vial firmware, and an open agent-status protocol
- Marvin's experimental methodology measured progress against the complete design integrity (not just unrouted count), avoiding compromises that degraded USB pairs, power traces, or manufacturing rules
Why It Matters
This project demonstrates that autonomous AI agents can successfully transfer their scientific reasoning capabilities into entirely unfamiliar physical-engineering domains, suggesting a new paradigm for AI-driven hardware design. It also highlights a critical bottleneck in current AI-assisted PCB routing tools: they can handle the bulk of routing but consistently fail at the final, most constrained connections — a gap that human-like iterative research strategies may fill.
Technical Details
- AgentPad13 specifications: 2-layer PCB (capped at 100mm max dimension for cost), 13 hot-swappable keys, rotary encoder, analog joystick, capacitive touch, per-key RGB, edge lighting, QMK/Vial firmware compatibility, and an open agent-status protocol
- Marvin's autonomous research loop: Reviewed open-source tools, academic placement/routing literature, KiCad documentation, manufacturer rules, component datasheets, community PCB guides, and working open-source keyboard layouts; synthesized findings into a runbook surfacing "routing 101" conventions that prior tools missed
- Experimental methodology: Each routing attempt tested a specific strategy, recorded improvements, identified regressions, and carried learnings forward; progress was evaluated holistically against design integrity rather than raw unrouted-trace count
- Tool failure analysis: KiCadRouter/FreeRouting and Quilter both plateaued near 95% completion; Quilter's best attempt left 19 of 353 connections unfinished and made unacceptable manufacturing compromises (0.153mm traces instead of 0.5mm, copper too close to mounting holes, de-paired USB traces)
- Cost-driven constraints: Insisted on 2-layer over 4-layer PCB to avoid ~50% cost increase; board size capped at 100mm to stay within fab pricing thresholds
Industry Insight
- Autonomous AI agents are approaching practical utility in hardware design workflows; organizations should explore integrating agentic research loops into engineering pipelines that previously required deep domain expertise
- The persistent failure of existing PCB routers at final-constraint routing suggests an open research opportunity: hybrid approaches combining global optimization with iterative, hypothesis-driven local refinement could close the gap
- Cost-conscious open-source hardware projects can leverage AI autonomy to replace expensive commercial tools (like Quilter) and reduce dependency on specialized PCB design expertise, accelerating the timeline from concept to fabricated board
Disclaimer: The above content is generated by AI and is for reference only.