The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
KiCad tile: pin Circuit main (Firmware tab, firmware step, Flash button) and run it on Codex/Astra
31803smith5858a8104b10
diff --git a/store/agents/kicad/README.md b/store/agents/kicad/README.mdindex 1fa62f8a8..15ad5dee1 100644--- a/store/agents/kicad/README.md+++ b/store/agents/kicad/README.md@@ -4,7 +4,9 @@pipeline of [Autonomous Circuit](https://github.com/autonomous-ai/autonomous-circuit): describe a boardin the chat pane and get a real KiCad project — a wired schematic, copper KiCad's own ERC/DRC haschecked, a prototype packet a fab can quote — with the project's own live board view in the pane beside-the agent. Runs on Claude Code.+the agent. Runs on Codex (GPT-6 Astra) with the upstream tile's exact arguments: approvals off, sandbox+off (kicad-cli, pcbnew and Freerouting do not survive it), and Circuit's Stop hook that finishes a build+and asks once for the firmware. What the person flashes, they flash from the pane's Flash button.The KiCad tile is the sibling of [Autonomous Circuit](../autonomous-circuit/) (the v1 pipeline, tscircuitsources, the same repository's `main`), not its replacement: the two wrap different branches of onediff --git a/store/agents/kicad/VERSIONS b/store/agents/kicad/VERSIONSindex 1b7afe4cf..e72ca9f06 100644--- a/store/agents/kicad/VERSIONS+++ b/store/agents/kicad/VERSIONS@@ -1,10 +1,10 @@-# KiCad — Autonomous Circuit's KiCad-native pipeline, wrapped here as it is on its v2 branch.-# The v2 pipeline lives on `feat/v2-kicad-native` (its main carries the v1 pipeline that-# autonomous/autonomous-circuit wraps); a newer KiCad tile is a bump of UPSTREAM_COMMIT to a later-# commit on that branch. The fetch is by commit, so an unmerged branch is fine.+# KiCad — Autonomous Circuit's KiCad-native pipeline, wrapped here as it is on its main branch.+# Since 2026-09-29 the v2 pipeline lives on `main` (PR #34 merged it; #39/#41 added the Firmware+# tab, the firmware step and the Flash button); a newer KiCad tile is a bump of UPSTREAM_COMMIT to+# a later commit on main. The fetch is by commit, so a branch commit would work too.UPSTREAM_NAME="autonomous-circuit"UPSTREAM_REPO="https://github.com/autonomous-ai/autonomous-circuit.git"-UPSTREAM_COMMIT="9f85566c85e912ddf28b265f45f592c36e37de3c"+UPSTREAM_COMMIT="62869109ed889b717707f7c38f0b79782dfb285e"# Everything but its product library and examples (118 MB a board build never reads).UPSTREAM_SPARSE_MODE="no-cone"UPSTREAM_SPARSE="/* !/products/ !/examples/"diff --git a/store/agents/kicad/harness.json b/store/agents/kicad/harness.jsonindex 0b37b94cd..e629606bc 100644--- a/store/agents/kicad/harness.json+++ b/store/agents/kicad/harness.json@@ -7,8 +7,8 @@"formerly": ["autonomous/solder"],- "description": "Describe a board; get a real KiCad project \u2014 a wired schematic, DRC-checked copper, a prototype packet \u2014 with a live board view.",- "engine": "claude",+ "description": "Describe a board; get a real KiCad project — a wired schematic, DRC-checked copper, a prototype packet — with a live board view.",+ "engine": "codex","workspace": {"template": "upstream/harness/kicad/template","marker": "project.json",@@ -29,9 +29,23 @@"KICADPY_PYTHON": "${dsh}/kicad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3","CIRCUIT_KICAD_CLI": "${dsh}/kicad/KiCad.app/Contents/MacOS/kicad-cli","KICAD_HARNESS_SHARE": "${dsh}/kicad/KiCad.app/Contents/SharedSupport",- "CIRCUIT_SKILLS_DIR": "${workspace}/.claude/skills",+ "CIRCUIT_SKILLS_DIR": "${workspace}/.agents/skills","DISABLE_AUTOUPDATER": "1"- }+ },+ "args": [+ "-m",+ "gpt-6-astra",+ "-c",+ "model_reasoning_effort=high",+ "-c",+ "approval_policy=never",+ "-c",+ "sandbox_mode=danger-full-access",+ "-c",+ "hooks.Stop=[{hooks=[{type=\"command\",command=\"\\\"$KICAD_HARNESS_PYTHON\\\" -m kicadpy.autofinish\",timeout=1200}]}]",+ "-c",+ "hooks.Interrupt=[{hooks=[{type=\"command\",command=\"\\\"$KICAD_HARNESS_PYTHON\\\" -m kicadpy.autofinish\",timeout=3}]}]"+ ]},"toolchain": {"setup": "toolchain/setup.sh",diff --git a/store/agents/kicad/toolchain/doctor.sh b/store/agents/kicad/toolchain/doctor.shindex a4c1006f1..0f7c2a5fe 100755--- a/store/agents/kicad/toolchain/doctor.sh+++ b/store/agents/kicad/toolchain/doctor.sh@@ -11,7 +11,7 @@ if [ ! -f upstream/.harness-commit ]; thenecho "miss autonomous-circuit is not fetched — run toolchain/setup.sh"; exit 1fi[ "$(cat upstream/.harness-commit)" = "${UPSTREAM_COMMIT}" ] \- && echo "ok autonomous-circuit @ ${UPSTREAM_COMMIT:0:12} (KiCad, v2 branch)" \+ && echo "ok autonomous-circuit @ ${UPSTREAM_COMMIT:0:12} (KiCad, main)" \|| echo "warn autonomous-circuit @ $(cut -c1-12 upstream/.harness-commit), VERSIONS pins ${UPSTREAM_COMMIT:0:12} — run toolchain/setup.sh"harness_node 22.12 >/dev/null || truevenv=0diff --git a/store/agents/kicad/toolchain/test_toolchain.py b/store/agents/kicad/toolchain/test_toolchain.pyindex 08cdd2258..0c8b82d8d 100644--- a/store/agents/kicad/toolchain/test_toolchain.py+++ b/store/agents/kicad/toolchain/test_toolchain.py@@ -51,6 +51,22 @@ class ManifestTest(unittest.TestCase):self.assertTrue(rel.startswith(UPSTREAM_PKG + "/"), rel)self.assertEqual(m["workspace"]["marker"], "project.json")+ def test_the_tile_runs_astra_with_the_upstream_hooks(self):+ # The same engine and arguments as upstream harness/kicad/harness.json: a person who installs+ # the tile from the store gets what the team runs, including the Stop hook that finishes a+ # build and asks once for the firmware. Claude would run without any hook at all.+ m = manifest()+ self.assertEqual(m["engine"], "codex")+ args = m["agent"]["args"]+ self.assertEqual(args[:2], ["-m", "gpt-6-astra"])+ self.assertIn("approval_policy=never", args)+ self.assertIn("sandbox_mode=danger-full-access", args)+ for event in ("Stop", "Interrupt"):+ config = next(a for a in args if a.startswith("hooks." + event + "="))+ self.assertIn("kicadpy.autofinish", config)+ self.assertIn("$KICAD_HARNESS_PYTHON", config)+ self.assertFalse(any("bypass-hook-trust" in a for a in args))+def test_the_agent_runs_the_pipeline_on_the_wrappers_python(self):env = manifest()["agent"]["env"]self.assertEqual(env["KICAD_HARNESS_PYTHON"], "${dsh}/" + UPSTREAM_PKG + "/toolchain/python")