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 bridge

Version 1.0.0 · one Python file · runs on the Python that ships with KiCad · checksum

What 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

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

KiCad not in /Applications/KiCad? Use any Python 3.8 or newer instead:

$ 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

It picks the newest KiCad under C:\Program Files\KiCad\<version>\ (10.0 before 9.0) and runs the bridge with that KiCad's python.exe. Use a normal PowerShell window; administrator rights are not needed.

Linux

$ curl -fsSLo /tmp/akb.pyz https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz && python3 /tmp/akb.pyz install

Needs python3 3.8 or newer and kicad-cli from your KiCad 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

SystemDownload and print the fingerprint
macOScurl -fsSLo /tmp/akb.pyz https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz && shasum -a 256 /tmp/akb.pyz
Linuxcurl -fsSLo /tmp/akb.pyz https://agentura.cc/downloads/kicad/agentura-kicad-bridge.pyz && sha256sum /tmp/akb.pyz
WindowsInvoke-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

If they match, install from the file you already have: on macOS and Linux run the part of the install line after &&; on Windows, run the install line without its Invoke-WebRequest …; step.

What it can access

The options you pass to install are remembered. To change them, run the install line again with the new options (use the same Python as in the install line for your system).

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.

  1. In KiCad, turn on Preferences → Plugins → Enable IPC API server.
  2. Install the bridge with --with-ipc added 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.
  3. 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

SystemCommand
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
Linuxpython3 "${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

This stops the bridge and removes it from startup. Add --purge to also delete its settings, log and installed copy.

Troubleshooting

Check the bridge with status — it prints its health and settings, and exits with 0 when everything is fine:

SystemCommand
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
Linuxpython3 "${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
SystemSettings and log folder
macOS~/Library/Application Support/Agentura/kicad-bridge/
Linux~/.local/share/agentura/kicad-bridge/
Windows%LOCALAPPDATA%\Agentura\kicad-bridge\

The log is bridge.log in that folder; the settings are config.json.

What you seeWhat to do
The agent says nothing answers on your computerRun 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 useAnother program holds the port the bridge needs. Close it, then run the install line again.
KiCad not foundInstall KiCad 8 or newer in its default location, then run the install line again.
A folder is refusedIt is outside the folders the bridge may use: run the install line again with --root for that folder.
Edits are refusedClose the file in KiCad, or — if you installed with --read-only — run the install line again with --allow-write.
Live board tools failKiCad 9 or newer running, Preferences → Plugins → Enable IPC API server on, the board open, and the bridge installed with --with-ipc.