Agentura KiCad Bridge
A small, free program that lets your Agentura agents work with KiCad on your own computer. Install it once; it then runs quietly in the background.
Download the bridgeWhat it is
KiCad has no built-in server that an AI agent can talk to, so this bridge
provides one. It runs on the computer that has KiCad, answers only on that
computer (127.0.0.1:27190), and your agents reach it through
the AgenturaLocal app once you activate the KiCad
connector in the Marketplace. Agents can then find your projects, inspect
schematics and boards, run ERC and DRC, export gerbers, BOMs,
pick-and-place files, 3D models and renders, edit symbol fields, and move
parts in the board you have open.
Requirements
- KiCad 8 or newer (9 or newer for board renders and live board editing).
- AgenturaLocal running on the same computer, with your agent shared to it (Settings → Agents).
- macOS, Windows or Linux. Nothing else to install: the bridge uses the Python that comes with KiCad.
Install
Paste one line into a terminal. It downloads the bridge, installs it for your user, starts it, sets it to start with your computer, and prints a short JSON summary ending in "ok": true.
macOS
$ curl -fsSLo /tmp/akb.pyz https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz && "/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3" /tmp/akb.pyz install
$ curl -fsSLo /tmp/akb.pyz https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz && python3 /tmp/akb.pyz install
Windows (PowerShell)
PS> $ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue'; $f="$env:TEMP\akb.pyz"; Invoke-WebRequest -UseBasicParsing https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz -OutFile $f; $py=Get-ChildItem 'C:\Program Files\KiCad\*\bin\python.exe' -ErrorAction SilentlyContinue | Sort-Object { $_.Directory.Parent.Name -as [version] } -Descending | Select-Object -First 1; if (-not $py) { throw 'KiCad not found in C:\Program Files\KiCad' }; & $py.FullName $f install
Linux
$ curl -fsSLo /tmp/akb.pyz https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz && python3 /tmp/akb.pyz install
Verify the download
To check the file before running it, download it on its own and compare its fingerprint with this one:
SHA256: a5411197217bfb980df783661f0f6736215fee50bc8dff8e18c2997f867493b9
| System | Download and print the fingerprint |
|---|---|
| macOS | curl -fsSLo /tmp/akb.pyz https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz && shasum -a 256 /tmp/akb.pyz |
| Linux | curl -fsSLo /tmp/akb.pyz https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz && sha256sum /tmp/akb.pyz |
| Windows | Invoke-WebRequest -UseBasicParsing https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz -OutFile "$env:TEMP\akb.pyz"; (Get-FileHash "$env:TEMP\akb.pyz" -Algorithm SHA256).Hash |
What it can access
- Folders under your home folder by default. Protected folders such as
.ssh,.gnupgand.awsare always refused. - Only the folders you name with
--root(repeat it for several), e.g.python3 /tmp/akb.pyz install --root "$HOME/Electronics". - No changes to your design files with
--read-only. Exports still work. - Exports go only into an
agentura-outputfolder inside the project. Before any edit to a design file, the originals are copied to.agentura-backupsin the project (the newest 20 are kept). Files KiCad has open are never edited. - It answers only on your own computer, refuses requests coming from web pages, never runs a shell, and its log records which tool ran — never your file contents.
Live board editing
With KiCad 9 or newer, agents can also work in the board you have open: list and select parts, move footprints, edit their fields, refill zones and save.
- In KiCad, turn on Preferences → Plugins → Enable IPC API server.
- Install the bridge with
--with-ipcadded at the end of the install line (for example… /tmp/akb.pyz install --with-ipc). It sets up KiCad's Python API package for the bridge, which needs an internet connection once. - Keep KiCad running with the board open in the PCB Editor.
Live edits change the open board. Each agent edit is one step you can undo in KiCad until you save. Agents ask before editing.
Uninstall
| System | Command |
|---|---|
| macOS | "/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3" "$HOME/Library/Application Support/Agentura/kicad-bridge/agentura-kicad-bridge.pyz" uninstall |
| Linux | python3 "${XDG_DATA_HOME:-$HOME/.local/share}/agentura/kicad-bridge/agentura-kicad-bridge.pyz" uninstall |
| Windows | $py=Get-ChildItem 'C:\Program Files\KiCad\*\bin\python.exe' | Sort-Object { $_.Directory.Parent.Name -as [version] } -Descending | Select-Object -First 1; & $py.FullName "$env:LOCALAPPDATA\Agentura\kicad-bridge\agentura-kicad-bridge.pyz" uninstall |
Troubleshooting
Check the bridge with status — it prints its health and settings, and exits with 0 when everything is fine:
| System | Command |
|---|---|
| macOS | "/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3" "$HOME/Library/Application Support/Agentura/kicad-bridge/agentura-kicad-bridge.pyz" status |
| Linux | python3 "${XDG_DATA_HOME:-$HOME/.local/share}/agentura/kicad-bridge/agentura-kicad-bridge.pyz" status |
| Windows | $py=Get-ChildItem 'C:\Program Files\KiCad\*\bin\python.exe' | Sort-Object { $_.Directory.Parent.Name -as [version] } -Descending | Select-Object -First 1; & $py.FullName "$env:LOCALAPPDATA\Agentura\kicad-bridge\agentura-kicad-bridge.pyz" status |
| System | Settings and log folder |
|---|---|
| macOS | ~/Library/Application Support/Agentura/kicad-bridge/ |
| Linux | ~/.local/share/agentura/kicad-bridge/ |
| Windows | %LOCALAPPDATA%\Agentura\kicad-bridge\ |
| What you see | What to do |
|---|---|
| The agent says nothing answers on your computer | Run status. If the bridge is not running, run the install line again. Make sure AgenturaLocal is open and the KiCad connector is active. |
| Install says port 27190 is in use | Another program holds the port the bridge needs. Close it, then run the install line again. |
| KiCad not found | Install KiCad 8 or newer in its default location, then run the install line again. |
| A folder is refused | It is outside the folders the bridge may use: run the install line again with --root for that folder. |
| Edits are refused | Close the file in KiCad, or — if you installed with --read-only — run the install line again with --allow-write. |
| Live board tools fail | KiCad 9 or newer running, Preferences → Plugins → Enable IPC API server on, the board open, and the bridge installed with --with-ipc. |