agentee

命令行

所有命令

每个命令的帮助文本,与二进制文件打印的一致。除非命令接受路径或 -p,否则项目为当前目录。

项目

agentee new

编写起始电路板、符号、封装、原理图、PCB 布局或仿真

完整帮助
Write a starter board, symbol, footprint, schematic, layout or sim

Usage: agentee new [OPTIONS] <KIND> <NAME>

Arguments:
  <KIND>  [possible values: board, symbol, footprint, schematic, layout, sim]
  <NAME>  

Options:
  -d, --dir <DIR>        
      --kind <SIM_KIND>  The sim to start from: an FDTD run of a layout, or a logic or analog circuit sim of a schematic [default: fdtd] [possible values: fdtd, logic, circuit]
  -h, --help             Print help

agentee check

加载 PATH 下的所有电路板、符号和封装并报告问题

完整帮助
Load every board, symbol and footprint under PATH and report problems

Usage: agentee check [OPTIONS] [PATH]

Arguments:
  [PATH]  [default: .]

Options:
      --item <ITEM>  Only this item
      --info         Also print info notes
      --json         
  -h, --help         Print help

agentee list

列出项目中的条目

完整帮助
List the items in a project

Usage: agentee list [PATH]

Arguments:
  [PATH]  [default: .]

Options:
  -h, --help  Print help

agentee show

以 JSON 格式打印单个条目的解析模型

完整帮助
Print the resolved model of one item as JSON

Usage: agentee show [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
  -h, --help               Print help

agentee render

将条目渲染为 PNG,效果与查看器绘制一致

完整帮助
Render an item to PNG as the viewer draws it

Usage: agentee render [OPTIONS] --out <OUT> <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
  -o, --out <OUT>          
      --width <WIDTH>      [default: 1400]
      --height <HEIGHT>    [default: 900]
      --scale <SCALE>      Pixels per point [default: 1]
      --unit <UNIT>        [default: 1]
      --canvas-only        Only the drawing, no side panels
      --hidden-pins        
      --show <SHOW>        Layers to turn on, comma separated (F.Fab,F.Mask,In1.Cu)
      --hide <HIDE>        Layers to turn off, comma separated. Hiding a copper layer with no copper in --show shows every other copper layer
      --region <REGION>    Zoom to x0,y0,x1,y1 in mm
      --focus <FOCUS>      Zoom to these parts, nets or pins (U1,SPI_*,U1.3) and fade the rest
      --context <CONTEXT>  What happens to everything outside --focus: dim, hide or show [default: dim]
      --rulers             Label mm coordinates along the edges
  -h, --help               Print help

agentee view

打开查看器,文件更改时自动重新加载

完整帮助
Open the viewer, it reloads when files change

Usage: agentee view [OPTIONS] [PATH]

Arguments:
  [PATH]  [default: .]

Options:
      --select <SELECT>  
      --3d               Open layouts in the 3D view
  -h, --help             Print help

agentee docs

打印文件格式参考

完整帮助
Print the file format reference

Usage: agentee docs

Options:
  -h, --help  Print help

编辑

agentee edit

使用命令编辑原理图、PCB 布局或电路板,无需手写 TOML

完整帮助
Edit a schematic, layout or board with commands instead of writing TOML by hand

Every edit takes the item name and a command. `agentee edit sch help` lists them with their arguments. A list of commands also works: `agentee edit sch NAME -` reads them from stdin, one per line, and `agentee edit sch NAME FILE` from a file, one load, one check at the end. NAME can be left out when the project has one item of that kind. It rewrites the TOML, keeps the comments and layout of the file, and prints the check report of the files it touched.

Pin references are REF.PIN, by number (U1.3) or by a unique pin name (U1.VCC). The pin numbers that came back are in the JSON facts.

Usage: agentee edit [OPTIONS] <TARGET> <NAME> [ARGS]...

Arguments:
  <TARGET>
          schematic, layout or board
          
          [possible values: sch, pcb, board]

  <NAME>
          Item name, or `-` for stdin or a script file when the project has one item of the kind

  [ARGS]...
          Arguments of the command

Options:
      --list
          List the item's parts and nets, or its tracks, vias and zones

      --json
          

  -h, --help
          Print help (see a summary with '-h')
agentee edit sch help
agentee edit sch ITEM COMMAND [args]   (sch = sch:NAME, pcb = pcb:NAME)
agentee edit sch ITEM -   commands on stdin, one per line
agentee edit sch ITEM FILE   commands from a file
ITEM can be left out of the last two when the project has one schematic

  add REF SYMBOL [VALUE] [--footprint FP] [--at X,Y] [--rotation 90] [--mirror] [--unit 2] [--dnp] [--field key=value]
  remove REF ...  or  remove net NAME ...
  move REF X,Y [--rotation 90] [--mirror] [--unit 2]
  set REF [VALUE] [--value V] [--footprint FP] [--unit 2] [--dnp] [--clear dnp,footprint] [--field k=v]
  net NAME [REF.PIN ...] [--class Power] [--style power|label] [--sheet NAME]
  connect REF.PIN ... NET
  disconnect REF.PIN ...
  nc REF.PIN ...
  unnc REF.PIN ...
  note TEXT ...
agentee edit pcb help
agentee edit pcb ITEM COMMAND [args]   (sch = sch:NAME, pcb = pcb:NAME)
agentee edit pcb ITEM -   commands on stdin, one per line
agentee edit pcb ITEM FILE   commands from a file
ITEM can be left out of the last two when the project has one layout

  place REF [X,Y] [--rotation 90] [--bottom] [--locked]
  unplace REF ...
  track NET LAYER X,Y X,Y ... [--width 0.2mm]
  untrack NET [X,Y X,Y] | X,Y X,Y
  via NET X,Y [--via std] [--count 1] [--pitch 1.2,0]
  unvia NET X,Y | NET ...
  zone NET [--layers F.Cu,In1.Cu] [--outline X,Y ...] [--priority 1] [--clearance 0.25] [--min-width 0.15mm] [--min-island-area 2.0] [--pad-connection solid|relief|none] [--relief-gap 0.3mm] [--spoke-width 0.3mm] [--relief-tht-only]
  unzone NET ...
  cutout --point X,Y X,Y X,Y ... [--layers F.Cu,In1.Cu]
  uncutout X,Y ...
  keepout --point X,Y X,Y X,Y ... [--layers F.Cu,In1.Cu] [--nets SW,GND]
  unkeepout X,Y ...
  pair NET+ NET- [--max-skew 1mm]
  text STRING [--layer F.SilkS] [--at X,Y] [--size 1.0] [--rotation 90] [--locked]
  label REF [--text TEXT] [--at X,Y] [--rotation 90] [--size 0.8mm] [--hide | --show] [--clear text,at,rotation,size,hide]
  fanout REF [--via bga] [--skip-rings 2] [--always GND] [--skip A1] [--nets GND,3V3] [--exclude C2?]
  stitch NET [--via std] [--pitch 2.5mm] [--fence RF_*] [--offset 0.5mm] [--margin 0.6mm] [--outline X,Y ...]
  watermark [--at X,Y] [--layer B.SilkS] [--rotation 90] [--hide]
  title TEXT [--at X,Y] [--layer F.SilkS] [--rotation 90] [--size 1.5mm] | title --clear
  test [--nets 3V3,*RST*] [--exclude LED_*] [--side B] [--through-holes] [--no-vias] [--min-test-pad 1.0mm]
  board NAME
  schematic NAME
agentee edit board help
agentee edit board ITEM COMMAND [args]   (sch = sch:NAME, pcb = pcb:NAME)
agentee edit board ITEM -   commands on stdin, one per line
agentee edit board ITEM FILE   commands from a file
ITEM can be left out of the last two when the project has one board

  class NAME [--track-width 0.2mm] [--clearance 0.2mm] [--voltage 48VDC|230VAC] [--own-voltage 15VDC] [--via std] [--current 1A] [--max-temp-rise 10C] [--impedance 50ohm] [--impedance-tolerance 10%] [--solver field] [--diff-gap 0.15mm] [--coplanar-gap 0.2mm] [--layers F.Cu] [--max-skew 1mm] [--max-uncoupled 1mm] [--neckdown 1mm] [--width LAYER=WIDTH ...] [--description TEXT]
  unclass NAME ...
  via NAME [--drill 0.3mm] [--diameter 0.6mm] [--type through|blind|buried|microvia] [--from F.Cu] [--to B.Cu] [--fill filled_capped] [--drill-kind laser] [--stacked] [--skip] [--cost 2.0] [--backdrill-from L] [--backdrill-to L] [--backdrill-diameter 0.4mm]
  unvia NAME ...
  outline [--size W,H] [--corner-radius 1mm] [--origin X,Y] [--point X,Y ...]
  cutout [--size W,H] [--origin X,Y] [--point X,Y ...]
  stackup [--preset NAME] [--finish ENIG] [--mask-color green] [--silk-color white] [--roughness 1um] [--layer kind:name:thickness ...]

元件

agentee import

从已安装的 KiCad 库导入

完整帮助
Import from the installed KiCad libraries

Usage: agentee import [OPTIONS] <KIND> <SPEC>

Arguments:
  <KIND>
          Possible values:
          - symbol
          - footprint
          - board:     A whole .kicad_pcb: board, layout, a netlist schematic, footprints and pin symbols

  <SPEC>
          Library:Name, a .kicad_sym path with :Name, or a .kicad_mod path

Options:
  -d, --dir <DIR>
          

      --with-footprint
          With a symbol, also import its default footprint

      --footprint <FOOTPRINT>
          With a symbol, import this footprint (Library:Name) and link it

      --footprint-dir <FOOTPRINT_DIR>
          Where footprints go when importing with a symbol
          
          [default: footprints]

      --force
          

  -h, --help
          Print help (see a summary with '-h')

agentee models

下载项目封装指定的 KiCad 3D 模型 (VRML),用于 3D 视图

完整帮助
Download the KiCad 3D models (VRML) the project's footprints name, for the 3D view

Usage: agentee models [PATH]

Arguments:
  [PATH]  [default: .]

Options:
  -h, --help  Print help

元件库

agentee library

器件库:用户选择的器件及其符号、封装、模型、数据手册和库存,位于 ~/.config/agentee/library 和 .agentee/library

完整帮助
The parts library: the user's chosen parts with their symbols, footprints, models, datasheets and stock, in ~/.config/agentee/library and .agentee/library

Usage: agentee library <COMMAND>

Commands:
  list     Library parts, by role and words, with their last checked stock and price
  find     Library parts that match, then current parts in stock at the distributors to add when none fits
  show     One library part: its files, where they came from, datasheet and stock
  add      Add a part: its symbol, footprint and 3D model copied in, its datasheet fetched and pinned, its stock and price checked
  use      Copy a library part's symbol, footprint and model into a project and print the edit that places it
  refresh  Check stock and price of every library part, or one, at the distributors
  verify   Check each part's symbol against its footprint and pinned datasheet, its model against its footprint, and its files against their recorded hashes
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

agentee library list

库中器件,按角色和单词分类,附带上次检查的库存和价格

完整帮助
Library parts, by role and words, with their last checked stock and price

Usage: agentee library list [OPTIONS] [WORDS]...

Arguments:
  [WORDS]...  Words that must all match the name, role, tags, part number, value, rating, footprint or notes

Options:
      --role <ROLE>        
  -p, --project <PROJECT>  [default: .]
      --json               
  -h, --help               Print help

agentee library find

匹配的库中器件,然后是在没有匹配项时可添加的分销商中有库存的在售器件

完整帮助
Library parts that match, then current parts in stock at the distributors to add when none fits

Usage: agentee library find [OPTIONS] [WORDS]...

Arguments:
  [WORDS]...  Words to search for, e.g. 3.3V buck 1A SOT-23-6

Options:
      --role <ROLE>                
      --need <NEED>                Only parts with at least this many in stock [default: 1]
      --distributor <DISTRIBUTOR>  Distributors to ask, comma separated (mouser, farnell, digikey), default every one with a key
      --limit <LIMIT>              [default: 15]
      --search                     Search the distributors even when the library has a match
  -p, --project <PROJECT>          [default: .]
      --config <CONFIG>            
      --json                       
  -h, --help                       Print help

agentee library show

单个库中器件:其文件、来源、数据手册和库存

完整帮助
One library part: its files, where they came from, datasheet and stock

Usage: agentee library show [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
  -h, --help               Print help

agentee library add

添加器件:复制其符号、封装和 3D 模型,获取并固定其数据手册,检查其库存和价格

完整帮助
Add a part: its symbol, footprint and 3D model copied in, its datasheet fetched and pinned, its stock and price checked

Usage: agentee library add [OPTIONS] --role <ROLE> --symbol <SYMBOL> <MPN>

Arguments:
  <MPN>  

Options:
      --role <ROLE>                  What it is for: connector, regulator, resistor, capacitor, led, diode, crystal ...
      --symbol <SYMBOL>              A .sym.toml file, a project symbol or a KiCad Library:Name
      --footprint <FOOTPRINT>        A .fp.toml file, a project footprint or a KiCad Library:Name; default the symbol's footprint
      --model <MODEL>                A STEP or VRML file or URL, or a vendor ZIP or folder with a .kicad_mod and its model; default the footprint's model
      --datasheet <DATASHEET>        A datasheet URL or PDF; default the symbol's URL, then the distributors'
      --name <NAME>                  Library name, default the part number
      --manufacturer <MANUFACTURER>  
      --value <VALUE>                
      --rating <RATING>              e.g. "2 A, 100 V"
      --pins <PINS>                  Pin count, default the symbol's
      --tags <TAGS>                  
      --notes <NOTES>                
      --preferred                    The first choice for its role
      --generic                      Any value on this footprint is this part, for resistor and capacitor series
      --local                        Into the project's .agentee/library instead of ~/.config/agentee/library
  -p, --project <PROJECT>            [default: .]
      --no-distributors              Do not ask the distributors for stock or a datasheet
      --force                        
  -h, --help                         Print help

agentee library use

将库元件的符号、封装和模型复制到项目中,并打印放置该元件的编辑内容

完整帮助
Copy a library part's symbol, footprint and model into a project and print the edit that places it

Usage: agentee library use [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --force              
  -h, --help               Print help

agentee library refresh

在分销商处查询所有库元件或单个元件的库存和价格

完整帮助
Check stock and price of every library part, or one, at the distributors

Usage: agentee library refresh [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
  -p, --project <PROJECT>  [default: .]
      --config <CONFIG>    
  -h, --help               Print help

agentee library verify

检查每个元件的符号与封装及带引脚的数据手册是否匹配,模型与封装是否匹配,以及文件与记录的哈希值是否一致

完整帮助
Check each part's symbol against its footprint and pinned datasheet, its model against its footprint, and its files against their recorded hashes

Usage: agentee library verify [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
  -p, --project <PROJECT>  [default: .]
      --json               
  -h, --help               Print help

数据手册

agentee datasheet

获取、缓存和读取器件数据手册,由 ~/.cache/agentee/datasheets 中的所有项目共享

完整帮助
Fetch, cache and read part datasheets, shared by every project in ~/.cache/agentee/datasheets

Usage: agentee datasheet <COMMAND>

Commands:
  fetch  Fetch the datasheet of a part (reference, symbol or part number), or of every part of a layout or schematic, and list the parts with none reachable
  text   Text of a cached datasheet with page numbers, or the passages matching --find
  add    Add a local PDF to the cache, for parts behind a login or supplied by the user
  list   Every cached datasheet
  purge  Remove every cached datasheet that no library part pins
  help   Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

agentee datasheet fetch

获取器件(参考、符号或料号)的数据手册,或布局或原理图中所有器件的数据手册,并列出无法访问数据手册的器件

完整帮助
Fetch the datasheet of a part (reference, symbol or part number), or of every part of a layout or schematic, and list the parts with none reachable

Usage: agentee datasheet fetch [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --url <URL>          Fetch from this URL instead
      --refresh            Fetch again even when a copy is cached
      --no-distributors    Do not ask the distributors for a datasheet URL
      --config <CONFIG>    Distributor key file instead of ~/.config/agentee/distributors.toml
      --json               
  -h, --help               Print help

agentee datasheet text

带页码的缓存数据手册文本,或匹配 --find 的段落

完整帮助
Text of a cached datasheet with page numbers, or the passages matching --find

Usage: agentee datasheet text [OPTIONS] <NAME>

Arguments:
  <NAME>  Reference, symbol, part number or library part

Options:
  -p, --project <PROJECT>  [default: .]
      --find <FIND>        Only the passages holding this word (case sensitive when it has capitals)
      --pages <PAGES>      Page or page range, e.g. 3 or 3-5
      --context <CONTEXT>  Lines of context around each match [default: 2]
      --offline            Never fetch; fail when the datasheet is not cached
      --json               
  -h, --help               Print help

agentee datasheet add

将本地 PDF 添加到缓存,用于需要登录或用户提供的器件

完整帮助
Add a local PDF to the cache, for parts behind a login or supplied by the user

Usage: agentee datasheet add [OPTIONS] <MPN> <FILE>

Arguments:
  <MPN>   
  <FILE>  

Options:
      --manufacturer <MANUFACTURER>  
      --url <URL>                    Where it came from
  -h, --help                         Print help

agentee datasheet list

所有缓存的数据手册

完整帮助
Every cached datasheet

Usage: agentee datasheet list

Options:
  -h, --help  Print help

agentee datasheet purge

删除所有未被库中器件固定的缓存数据手册

完整帮助
Remove every cached datasheet that no library part pins

Usage: agentee datasheet purge

Options:
  -h, --help  Print help

电路板与走线

agentee stackups

列出电路板 `stackup.preset` 可指定的板厂叠层预设,或打印其中一个

完整帮助
List the fab stackup presets a board's `stackup.preset` can name, or print one

Usage: agentee stackups [OPTIONS] [NAME]

Arguments:
  [NAME]  Print this preset's layers as JSON

Options:
      --fab <FAB>              jlcpcb, pcbway or generic
      --layers <LAYERS>        Copper layer count
      --thickness <THICKNESS>  Finished thickness in mm, matched within 10%
      --search <SEARCH>        Substring of the name or description, like 1080 or 2oz
      --json                   
  -h, --help                   Print help

agentee calc

走线计算器

完整帮助
Trace calculators

Usage: agentee calc <COMMAND>

Commands:
  trace-width  Minimum track width for a current (IPC-2221)
  serpentine   Meander points that add length to a straight segment
  field        Solve the trace cross-section on the GPU (2D field solver)
  impedance    Impedance on a board layer, or the width for a target
  help         Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

agentee calc trace-width

给定电流的最小走线宽度 (IPC-2221)

完整帮助
Minimum track width for a current (IPC-2221)

Usage: agentee calc trace-width [OPTIONS] --current <CURRENT>

Options:
      --current <CURRENT>  
      --copper <COPPER>    [default: 1oz]
      --rise <RISE>        [default: 10C]
      --internal           
  -h, --help               Print help

agentee calc impedance

电路板层上的阻抗,或目标阻抗对应的宽度

完整帮助
Impedance on a board layer, or the width for a target

Usage: agentee calc impedance [OPTIONS]

Options:
  -p, --project <PROJECT>            [default: .]
      --board <BOARD>                
      --layer <LAYER>                
      --width <WIDTH>                
      --gap <GAP>                    
      --coplanar-gap <COPLANAR_GAP>  Gap to the ground pour either side (grounded coplanar, outer layers)
      --target <TARGET>              
      --h <H>                        Dielectric height for a bare microstrip, instead of a board
      --er <ER>                      
      --t <T>                        
  -h, --help                         Print help

agentee calc field

在 GPU 上求解走线横截面 (2D 场求解器)

完整帮助
Solve the trace cross-section on the GPU (2D field solver)

Usage: agentee calc field [OPTIONS]

Options:
  -p, --project <PROJECT>            [default: .]
      --board <BOARD>                
      --layer <LAYER>                [default: F.Cu]
      --width <WIDTH>                
      --netclass <NETCLASS>          Take width and gaps from this net class
      --gap <GAP>                    
      --coplanar-gap <COPLANAR_GAP>  
      --no-mask                      Leave off the solder mask the stackup puts over outer layers
      --fine                         
      --sweep <SWEEP>                Loss sweep START,STOP,POINTS (log spaced), e.g. 10MHz,20GHz,21
  -h, --help                         Print help

agentee calc serpentine

为直线段增加长度的蛇形走线点

完整帮助
Meander points that add length to a straight segment

Usage: agentee calc serpentine [OPTIONS] --from <FROM> --to <TO> --add <ADD>

Options:
      --from <FROM>            Segment start x,y in mm
      --to <TO>                Segment end x,y in mm
      --add <ADD>              Length to add, e.g. 2.5mm
      --amplitude <AMPLITUDE>  Largest bump height [default: 0.6mm]
      --pitch <PITCH>          Distance between the legs of a bump [default: 0.4mm]
  -h, --help                   Print help

PCB 布局

agentee place

将原理图器件放置到电路板上:连接器置于边缘,孔和基准点置于角落,大型芯片居中,无源器件按网表聚类,然后进行合法化并优化

完整帮助
Place the schematic's parts on the board: connectors on edges, holes and fiducials in corners, large chips central, passives clustered by the netlist, then legalised and refined

Usage: agentee place [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --parts <PARTS>      Parts to place, globs allowed, comma separated; default every part
      --keep-placed        Leave every part that already has a placement where it is
      --side <SIDE>        Sides to place on: F, B or both [default: F]
      --seed <SEED>        Seed for the refinement, the same seed gives the same placement [default: 1]
      --dry-run            Report without writing the file
  -h, --help               Print help

agentee route

在网格上路由 PCB 布局的网络,并将走线和过孔追加到其文件

完整帮助
Route nets of a layout on a grid and append the tracks and vias to its file

Usage: agentee route [OPTIONS] --nets <NETS> <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>      [default: .]
      --nets <NETS>            Nets to route, globs allowed, comma separated or repeated
      --layers <LAYERS>        Copper layers to route on, default every layer
      --grid <GRID>            Grid cell in mm [default: 0.05]
      --via <VIA>              Vias from the board to use, comma separated or repeated, default the net class vias
      --via-cost <VIA_COST>    Cost of a via in mm of track [default: 3]
      --bend-cost <BEND_COST>  Cost of a 45 degree bend in mm of track, three times that for 90 [default: 0.1]
      --pairs                  Route differential pairs as coupled pairs where they fit
      --via-in-pad             Allow vias fully inside SMD pads (filled and capped), default keep them off every pad
      --reroute                Remove the existing tracks and vias of these nets first and route them again
      --dry-run                Report without writing the file
  -h, --help                   Print help

agentee tie

将平面网络(带有铺铜区的网络)的每个 SMD 焊盘通过短截线和焊盘旁的过孔连接到其平面,并追加到布局文件

完整帮助
Tie every SMD pad of a plane net (a net with a zone) to its plane with a stub and a via beside the pad, and append them to the layout file

Usage: agentee tie [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --nets <NETS>        Plane nets to tie, globs allowed, default every net with a zone
      --dry-run            Report without writing the file
  -h, --help               Print help

agentee tune

对超过偏斜限制的短网络以及未达到目标的匹配组成员进行蛇形走线,并将新点写入走线

完整帮助
Meander the short net of every pair over its skew limit and every match group member short of its target, and write the new points into the tracks

Usage: agentee tune [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>      [default: .]
      --nets <NETS>            Nets to tune, globs allowed, comma separated [default: *]
      --amplitude <AMPLITUDE>  Largest bump height in mm, default tries 1.2 mm down to 0.2 mm
      --pitch <PITCH>          Bump pitch in mm, default three track widths
      --dry-run                Report without writing the file
  -h, --help                   Print help

agentee neck

收窄进入比走线更窄的焊盘或在附近破坏间距的走线末端:末端变为网络类收窄长度内的独立较窄走线

完整帮助
Neck down track ends that enter a pad narrower than the track or break clearance near it: the end becomes a separate narrower track within the class neckdown length

Usage: agentee neck [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --nets <NETS>        Nets to neck down, globs allowed, comma separated [default: *]
      --taper              Step the width down in a short chain of segments instead of one neck
      --dry-run            Report without writing the file
  -h, --help               Print help

agentee fill

填充 PCB 布局的铺铜区并将铜存储到其文件,以便加载时跳过填充

完整帮助
Fill the zones of a layout and store the copper in its file, so loads skip the fill

Usage: agentee fill [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
  -h, --help               Print help

agentee silk

将每个未通过的丝印位号移动到检查建议的空位,重复直到稳定,并在要求时隐藏无处可去的位号

完整帮助
Move every failing silk reference to the clear spot check suggests, again until they settle, and hide the ones with nowhere to go when asked

Usage: agentee silk [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --hide               Hide references that have no clear spot
      --dry-run            List the fixes without writing the file
  -h, --help               Print help

agentee testpoints

为每个没有探针访问的网络添加测试焊盘:原理图中的 TestPoint 器件、探针侧靠近网络铜皮的封装,以及路由到该处的走线(和过孔)

完整帮助
Add a test pad to each net that has no probe access: a TestPoint part in the schematic, a footprint on the probe side near the net's copper, and a routed track (and via) to it

Usage: agentee testpoints [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --nets <NETS>        Nets to give a test pad, globs allowed, comma separated; default the [test] nets
      --side <SIDE>        Probe side, F or B; default the [test] side (B)
      --pitch <PITCH>      Grid the pads sit on and the least spacing between them, mm [default: 2.54]
      --dry-run            List the spots without writing any file
  -h, --help               Print help

agentee pinswap

重新分配芯片可互换的 I/O(同一组,成对保持成对,时钟引脚保持在时钟引脚上)以解开飞线

完整帮助
Reassign a chip's swappable I/O (same bank, pairs as pairs, clock pins kept on clock pins) to untangle the ratsnest

Usage: agentee pinswap [OPTIONS] --part <PART> <NAME>

Arguments:
  <NAME>  

Options:
      --part <PART>        
  -p, --project <PROJECT>  [default: .]
      --seed <SEED>        [default: 1]
      --write              Rewrite the schematic pin references
  -h, --help               Print help

agentee layout

对 PCB 布局运行布局引擎:按顺序执行配置的各个阶段,然后输出每项得分

完整帮助
Run the layout engine on a layout: the configured stages in order, then the score per term

Usage: agentee layout [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --from <FROM>        Start at this stage, keeping the results of the stages before it
      --to <TO>            Stop after this stage
      --only <ONLY>        Run one stage only
      --dry-run            Report without writing the plan into the layout file
      --search [<SEARCH>]  Beam search over the stages: this many children a stage (default 16, or `[engine.search] tries`), placement seeds unless `[engine.search] knobs` names others
      --keep <KEEP>        With --search, how many nodes survive each stage (default 4)
      --json               
  -h, --help               Print help

agentee fit

找到布局能放下的最小矩形电路板:在内存中尝试多种长宽比的轮廓(缩放当前布局,沿边缘滑动边缘元件,规范化其余部分,估算布线需求),然后用全局布线器检查最小尺寸

完整帮助
Find the smallest rectangular board the layout fits on: tries outlines of several aspect ratios in memory (the current placement scaled, edge parts slid along their edge, the rest legalised, routing demand estimated), then checks the smallest with the global router

Usage: agentee fit [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>    [default: .]
      --strategy <STRATEGY>  tight, balanced or spread: the gap between parts and the routing room to keep [default: balanced]
      --aspect <ASPECT>      Width over height to try, repeatable; default the current one and 13 from 0.42 to 2.38
      --width <WIDTH>        Hold the width at this many mm
      --height <HEIGHT>      Hold the height at this many mm
      --verify <VERIFY>      How many of the smallest sizes to check with the global router, 0 to skip [default: 3]
      --write                Write the size into the board's [outline] and the placement into the layout
      --json                 
  -h, --help                 Print help

agentee drc

PCB 布局的设计规则检查:其规则诊断,或使用 --list 列出所有规则

完整帮助
Design rule checks of a layout: its rule diagnostics, or every rule with --list

Usage: agentee drc [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --list               Print every rule with its id, category, severity and whether it applies here
      --json               
  -h, --help               Print help

仿真

agentee sim

运行仿真(*.sim.toml):FDTD、直流、热、级联、信道、PDN、逻辑或电路

完整帮助
Run a simulation (*.sim.toml): FDTD, dc, thermal, cascade, channel, pdn, logic or circuit

Usage: agentee sim [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --dry-run            Only mesh it and print the grid, time step and step count
  -h, --help               Print help

agentee sparam

分析仿真结果:TDR、混合模式、串扰、无源性和互易性

完整帮助
Analyse a sim result: TDR, mixed mode, crosstalk, passivity and reciprocity

Usage: agentee sparam [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
      --tdr <TDR>          Port for a TDR (name or number)
      --rise <RISE>        10-90% rise time, default 1.3 / the top frequency
      --pair <PAIR>        Mixed mode: IN+,IN-,OUT+,OUT-
      --xtalk <XTALK>      Crosstalk from one port to another: FROM,TO
  -h, --help               Print help

输出

agentee fab

为 PCB 布局编写板厂数据包:Gerber、钻孔、BOM、贴装坐标、备注

完整帮助
Write the fab package for a layout: Gerbers, drill, BOM, placement, notes

Usage: agentee fab [OPTIONS] --out <OUT> <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
  -o, --out <OUT>          
  -h, --help               Print help

agentee export

将电路板及 PCB 布局的所有器件模型写为单个 STEP 装配体,用于外壳 CAD

完整帮助
Write the board and every part model of a layout as one STEP assembly, for enclosure CAD

Usage: agentee export [OPTIONS] --out <OUT> <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>  [default: .]
  -o, --out <OUT>          Output file, .step or .stp
  -h, --help               Print help

agentee parts

从 Mouser、Farnell 和 DigiKey 获取布局或原理图 BOM 的库存、价格及更便宜的等效元件,密钥位于 ~/.config/agentee/distributors.toml

完整帮助
Stock, price and cheaper equivalents for a layout's or schematic's BOM from Mouser, Farnell and DigiKey, with keys in ~/.config/agentee/distributors.toml

Usage: agentee parts [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>              [default: .]
      --boards <BOARDS>                Boards to buy for [default: 1]
      --distributor <DISTRIBUTOR>      Distributors to ask, comma separated (mouser, farnell, digikey), default every one with a key
      --farnell-store <FARNELL_STORE>  Farnell store, e.g. uk.farnell.com, ie.farnell.com, de.farnell.com, www.newark.com
      --refs <REFS>                    Only these references, comma separated
      --order <ORDER>                  Write order sheets to this directory instead: NAME-order.csv and one NAME-<distributor>.csv per distributor, each with the lines to buy there first, then the lines bought at another, then what it lacks
      --spares                         With --order, add the hand assembly allowance: 0402/0603 resistors and capacitors to the next 10 above need + 5, one spare per D, Q, U and F line, or the part's `spares` field
      --no-alternatives                Price what is on the BOM without searching for cheaper equivalents
      --config <CONFIG>                Key file instead of ~/.config/agentee/distributors.toml
      --json                           
  -h, --help                           Print help

agentee bom

BOM 成本表:每行在 Mouser、Farnell 和 DigiKey 上按 1、10 和 100 块电路板(或 --boards)计价,包含总计和每块电路板的成本

完整帮助
BOM cost table: each line priced at Mouser, Farnell and DigiKey for 1, 10 and 100 boards (or --boards), with totals and the cost per board

Usage: agentee bom [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
  -p, --project <PROJECT>              [default: .]
      --boards <BOARDS>                Board counts to price, comma separated [default: 1 10 100]
      --distributor <DISTRIBUTOR>      Distributors to ask, comma separated (mouser, farnell, digikey), default every one with a key
      --farnell-store <FARNELL_STORE>  Farnell store, e.g. uk.farnell.com, ie.farnell.com, de.farnell.com, www.newark.com
      --refs <REFS>                    Only these references, comma separated
      --config <CONFIG>                Key file instead of ~/.config/agentee/distributors.toml
      --json                           
  -h, --help                           Print help

智能体

agentee mcp

通过 stdio 以 MCP 方式提供项目

完整帮助
Serve the project over MCP on stdio

Usage: agentee mcp [PATH]

Arguments:
  [PATH]  [default: .]

Options:
  -h, --help  Print help

同样的操作通过 MCP 提供给智能体。参见MCP 工具。