Basics
Workflow
The order a design is built in, from importing parts to writing the fab package.
agentee search symbol lm358thenagentee import symbol Amplifier_Operational:LM358 --with-footprintwhen KiCad has the part. Imports land insymbols/andfootprints/.- Otherwise
agentee new symbol NAME/agentee new footprint NAMEand edit the starter file. agentee new board NAME, pick a stackup preset and fab, add net classes.- Quick-start placement: once the schematic checks,
agentee place NAMEputs every part on the board (connectors on edges, big chips central, decoupling caps at their pins). Look at it withagentee render pcb:NAME, move andlocked = truethe parts that matter, runagentee place NAME --keep-placedor with another--seedfor the rest, thenagentee silk NAME. agentee checkuntil there are no errors,agentee render NAME -o out.pngto look.agentee viewkeeps a live window open for a human, who can also move parts, route tracks and place vias there and save them into the layout.agentee fab NAME -o fab/writes the manufacturing package once the layout has no errors.
Rendering part of a design
agentee render (MCP render_item) draws what the viewer draws. Without the side panels (--canvas-only) the PNG is cropped to the drawing, and --width and --height cap its size.
| flag | does |
|---|---|
--region x0,y0,x1,y1 | zoom to that rectangle, in mm in the item's own coordinates |
--focus A,B,... | schematics and layouts: zoom to these references, net names or REF.PIN, * matching any run of characters. A net brings in the parts it touches, a pin its net |
--context dim|hide|show | what happens to everything outside --focus (default dim) |
--rulers | label mm coordinates along the top and left edges |
--show / --hide | layers to turn on or off, e.g. --hide F.Cu --show In1.Cu; --hide F.Cu alone shows every other copper layer |
A name that matches nothing is an error. --region with --focus keeps the filter and uses the region for the zoom.