akcli is a zero-dependency Python CLI for AI-native schematic design on KiCad — a scriptable
design loop that you or any AI agent can drive end to end (bundled plugins/skills ship for Claude
Code, Codex, and OpenCode, but a shell is all it takes). Writing is the capability; verification is what makes it safe to use —
every edit is dry-run by default, net-diffed and connectivity-gated. Author a .kicad_sch from a JSON op-list,
run ERC / design-review / BOM / schematic ↔ PCB checks, simulate on ngspice, and source real
JLCPCB/LCSC parts. Existing Altium .SchDoc / .SchLib / .PcbDoc / .PcbLib designs import
read-only — an on-ramp into the KiCad flow, which is where all development happens.
Install
Zero runtime dependencies; needs Python ≥ 3.11 (for stdlib tomllib). The distribution is
akcli-kicad; the command is akcli:
pipx install akcli-kicad # or: pip install akcli-kicad
akcli --version
# or run straight from a clone, no install
git clone https://github.com/tipoLi5890/akcli
./akcli/bin/akcli --help # wrapper auto-selects a Python ≥ 3.11
Claude Code plugin (marketplace name akcli):
/plugin marketplace add tipoLi5890/akcli
/plugin install akcli@akcli
Codex plugin (same name akcli):
codex plugin marketplace add tipoLi5890/akcli # or `add ./` from a clone
codex plugin install akcli@akcli
Full details, per-agent setup, and troubleshooting in INSTALL.md.
Quickstart
Scaffold a real KiCad project with a worked example, then read, check, and draw into it — straight
from the shell:
akcli project new demo --example voltage-divider # .kicad_pro/.kicad_sch/.kicad_pcb/lib tables/ops.json
cd demo
akcli read demo.kicad_sch --summary # normalized JSON, context-budgeted
akcli check demo.kicad_sch # ERC-lite + power + BOM + connectivity + integrity
akcli draw demo.kicad_sch --ops ops.json # dry-run: shows changes + net diff
akcli draw demo.kicad_sch --ops ops.json --apply --strict-nets # atomic write + verify + backup
akcli project check # project-integrity findings (still 0)
akcli undo demo.kicad_sch # revert the last write
Every write is a dry run by default; --apply goes through an atomic snapshot → temp → verify →
replace pipeline with a pure-Python connectivity gate, and akcli undo reverts from a rotated backup
stack. Altium files are read-only offline.
What it does
One normalized model behind every command, so each check, diff, and report works on a KiCad
.kicad_sch — and just the same on an imported Altium .SchDoc: