SchGen

Natural-language to editable KiCad schematic generation, trained and evaluated over an open dataset of real open-source hardware schematics.

Summary rewritten from the vendor site because the catalog version did not match it.

Eval / BenchmarkOpen sourceMaintainedECAD

What it does and how it connects

SchGen is a domain-specialized model and dataset framework for generating PCB schematics from natural-language descriptions. It introduces a semantic-grounded code representation for schematics and a dataset built from real-world open-source hardware designs, with an agentic sketch pipeline for dataset construction and a LoRA fine-tuning pipeline for GPT-oss models.

Generation runs from a dataset entry or from a direct user request, producing Python code in the schematic representation, which is then executed to create a KiCad project and schematic file. The dataset is built mainly from SparkFun resources under CC BY-SA 4.0 and includes KiCad schematics, semantic code representations, synthesized user requests, and chain-of-thought traces. The trained model is published on Hugging Face as microsoft/SchGen with the dataset as microsoft/SchGen_dataset.

The README is explicit that generated schematics may still contain incorrect connections, component selections, or layout inconsistencies, and that users should inspect the generated schematic in KiCad before proceeding to layout. The disclaimer states generated schematics and layouts should always be reviewed by experienced engineers before fabrication or deployment, and that SchGen does not guarantee electrical correctness or manufacturability.

  • PCBBench (schematic synthesis)

    PCBSchemaGen benchmarks and verifies SKiDL schematic code with a reference-free layered verifier, while SchGen fine-tunes a model to generate editable KiCad schematics.

  • PCB-Bench (digailab)

    PCB-Bench tests placement and routing knowledge with Q and A, while SchGen generates schematics from natural language.

  • OmniSch

    OmniSch tests visual reasoning over schematic diagrams and netlist-graph construction, while SchGen generates schematics from natural language.

  • kicad-mcp-pro

    kicad-mcp-pro is a profile-gated MCP server that drives KiCad workflows, while SchGen is a fine-tuned model that generates schematics.

  • ato-eda-mcp

    ato-eda-mcp compiles atopile text descriptions into routed KiCad boards through an MCP server, while SchGen generates schematics with a fine-tuned model.

Recurring errors it addresses

Error Index entries this tool is built to reduce or work around.

Sources

  1. 1READMEgithub.com
  2. 2Dataset on Hugging Facehuggingface.co
  3. 3Model on Hugging Facehuggingface.co

Not verified

  • Pricing: none stated on the repo
  • Real user voices (no real linked post read for this page)
  • The catalog's wire-connectivity and functional-correctness scoring claim (not confirmed in the README read)
  • A named individual builder beyond the microsoft organization

Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.