Skip to content

Dataset

KiCad schematic and board file datasets for AI training

A KiCad dataset is a set of KiCad projects, each with its .kicad_pro project file, .kicad_sch schematic sheets, a .kicad_pcb board with footprints, tracks, vias and zones, its symbol and footprint libraries, net classes and custom design rules, and the fabrication outputs generated from the board. SourceX sources it to a buyer's spec from established businesses that run KiCad, with git commit history where the team kept it. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
KiCad projects with schematic sheets, board layouts, libraries, net classes, custom rules and fabrication files
Typical systems
KiCad with its Schematic Editor, PCB Editor and kicad-cli; projects kept in git; older projects in legacy .sch format
Typical history
Specified by the buyer; the design files hold no earlier versions, so depth depends on the team's git repository or KiCad's own backups
Modality
Plain-text S-expression design files and a JSON project file; Gerber and drill files; commit records
Delivery formats
Agreed per order; project folders as saved, plus a JSONL extract of symbols, nets, footprints, tracks and zones
Preparation
Company names, title block text and logo graphics removed or replaced; user paths and commit authors pseudonymized
Licensing
Rights reviewed per project for design ownership, client work and open hardware or library licenses; permitted use set in the license
Availability
Sourced to your spec by board type, layer count and history depth; supply is not guaranteed
CAD and design filesIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
project_idstringRe-keyed ID of one Project, the folder holding a .kicad_pro file, its root Schematic and its Board.
source_filesobjectPaths of the Project, Schematic and Board files, with the version token from each file header.
sheetsarrayEach Schematic sheet file in the hierarchy with its sheet pins and the names of its instances.
symbolsarraySymbol instances from the .kicad_sch files with lib_id, per-instance Reference, Value, Footprint and user fields.
footprintsarrayEach Footprint embedded in the Board with library link, position, pads, 3D model reference and the path to its symbol.
netsarrayEach Net by name with its pads, read from the Board and checked against the Schematic netlist.
net_classesarrayNet class definitions from the .kicad_pro file with clearance, track width, via size and assignment patterns.
design_rulesobjectBoard constraints from the Project file, the text of the Custom design rule (.kicad_dru) file and saved DRC exclusions.
tracks_and_viasarrayTrack segments with start, end, width and layer, and each Via with size, drill and layer pair, all with their Net.
zonesarrayEach Zone with Net, layers, clearance, pad connection style, outline and whether its saved fill matches a refill.
library_linksobjectProject sym-lib-table and fp-lib-table entries, the Symbol library (.kicad_sym) and Footprint (.kicad_mod) files delivered, and unresolved links.
fabrication_outputsarrayEach Fabrication output set, such as Gerber, drill and placement files, marked as kept from the order or regenerated.
commitsarrayGit commits that touched the Project, with time, pseudonymous author, message and files changed.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "project_id": "kpj_7c41e2",
  "source_files": {
    "project": "ctl-board/ctl-board.kicad_pro",
    "board": "ctl-board/ctl-board.kicad_pcb",
    "board_version_token": "20221018"
  },
  "sheets": [
    {"file": "motor-channel.kicad_sch", "instance_names": ["Channel A", "Channel B"]}
  ],
  "symbols": [
    {"uuid": "sym_19af", "lib_id": "Device:R", "references": {"/Channel A/": "R14", "/Channel B/": "R24"}, "value": "10k", "footprint": "Resistor_SMD:R_0603_1608Metric"}
  ],
  "footprints": [
    {"reference": "R14", "lib_link": "Resistor_SMD:R_0603_1608Metric", "at": [112.4, 68.2, 90], "symbol_path": "/sht_02b1/sym_19af", "pads": {"1": "/Channel A/ISENSE_P", "2": "GND"}, "model": "${KICAD7_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"}
  ],
  "nets": [
    {"name": "/Channel A/ISENSE_P", "net_class": "Sense", "pads": ["R14.1", "U3.5"]}
  ],
  "net_classes": [
    {"name": "Sense", "clearance_mm": 0.2, "patterns": ["*ISENSE*"]}
  ],
  "design_rules": {
    "custom_rules": ["(rule \"HV to logic\" (condition \"A.NetClass == 'HV' && B.NetClass != 'HV'\") (constraint clearance (min 1.5mm)))"],
    "drc_exclusions": 2
  },
  "tracks_and_vias": [
    {"kind": "segment", "start": [112.4, 67.4], "end": [118.0, 67.4], "width": 0.2, "layer": "F.Cu", "net": "/Channel A/ISENSE_P"},
    {"kind": "via", "at": [118.0, 67.4], "size": 0.6, "drill": 0.3, "layers": ["F.Cu", "B.Cu"], "net": "/Channel A/ISENSE_P"}
  ],
  "zones": [
    {"net": "GND", "layers": ["In1.Cu"], "pad_connection": "thermal_reliefs", "fill_matches_refill": true}
  ],
  "library_links": {
    "unresolved_libraries": ["Company_Parts"],
    "unresolved_models": 41
  },
  "fabrication_outputs": [
    {"kind": "gerber", "files": 9, "origin": "kept_as_sent", "matches_board": true}
  ],
  "commits": [
    {"id": "c_0e91", "t": "2023-05-02T14:11:00Z", "author": "user_03", "message": "Move sense resistors closer to U3, widen HV clearance", "files": ["ctl-board.kicad_pcb", "ctl-board.kicad_dru"]}
  ]
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train placement and routing models

A board gives a netlist, a rule set and a finished layout in one parseable file, input and target for routing models.

Generate and review schematics as text

Sheets are text a language model can read and write, and ERC gives a pass or fail on its output.

Model design edits from commits

A diff between two commits is a small, located change to a symbol, track or rule, paired with the designer's message.

Predict rule violations

DRC on intermediate commits yields violations with coordinates, labels a model can learn to predict or repair.

Evaluate hardware design agents

Held-out projects test whether an agent can edit a board as text and leave it passing ERC and DRC.

Use-case guides: Robotics and embodied AI, Private evaluation sets, Coding agents

What makes this data valuable

Schematic and board agree

A netlist exported from the schematic matches the nets on the board's pads.

Project file present

The .kicad_pro and any .kicad_dru came with the board.

Whole hierarchy delivered

Every sheet file the root schematic references is in the folder.

Commit history with reasons

Git history covers the layout work, with messages that say why.

Checks run clean

ERC and DRC pass at the delivered commit, with few saved exclusions.

Fabricated revisions marked

Tags or order files show which commits were fabricated.

Provenance trail

KiCad dataset

This page covers kiCad schematic and board files.Illustrative

Every symbol, track and zone is a line of text

KiCad saves a schematic, a board and a library as S-expressions, nested parenthesized lists in plain text with coordinates in millimeters. A resistor on a sheet is a symbol block with its library ID, position, Reference, Value and Footprint. A routed trace is a run of segment entries, each with a start, an end, a width, a layer and a net. Any S-expression reader gets the whole tree with no program installed. The project file is the exception. It is JSON, and it holds the net classes, the rule constraints and the violations a designer chose to exclude, so a board delivered without its .kicad_pro has copper but no record of which nets were meant to be high voltage or impedance controlled.

The files link by identifiers a parser can follow. Every symbol on a sheet has a UUID, and the matching footprint on the board carries a path built from the sheet and symbol UUIDs. One sheet file can be placed several times, so reference designators are stored per instance. Connectivity is lopsided. The board states a net on every pad, track, via and zone. The schematic stores no netlist, only wires, junctions and labels whose endpoints coincide, so nets have to be computed from geometry or exported with KiCad.

The design files hold no history. A save overwrites the file, no element records who drew it, and the revision in the title block is typed by hand. History is whatever was kept around the files. For many teams that is a git repository, where a moved capacitor shows as one changed position line. KiCad's own project backups, zip archives or in recent releases a local history in a hidden .history folder, are snapshots taken automatically on save, not commits a designer described, so ask which of these a delivery holds. Two things blur git diffs. Refilling zones rewrites long blocks of filled polygon coordinates, and re-annotating a schematic changes references on every sheet.

There is no export step for a KiCad project. The delivery is the project folder, and what it lacks is whatever lived outside it. The board embeds a full copy of every footprint it places, so the layout opens and plots with no library present. That copy can differ from the library, because a designer may edit a footprint in place, and the link back is only a name of the form library:footprint. Current-format schematics likewise cache their symbols inside the sheet file. Older projects in the legacy .sch format depend on a separate cache library file, and without it symbols open as placeholders.

What does not travel is resolution. Library names resolve through sym-lib-table and fp-lib-table, and only the project-level tables sit in the folder, while the global tables live in the designer's own KiCad configuration. Unless the designer embedded the model files in the board, which recent releases allow, a footprint's 3D model is a path to a STEP or WRL file, written with a path variable or as an absolute path that can include a user name. On another machine those models can be missing, and a STEP export of the assembly can come out as a bare board.

Test a sample by running it, since kicad-cli does each of these steps from the command line. Export a netlist from the schematic and compare it with the nets on the board's pads, because updating the board from the schematic is a manual step and the two drift. Run ERC and DRC, including the schematic parity test, and read the exclusions in the project file beside the result. Regenerate the Gerber and drill files and compare them with the ones delivered, which shows whether those came from this commit or an earlier one.

What to check before licensing

  • Confirm each project is the supplier's private work, and search the repository for license files and upstream remotes that mark a fork of an open hardware design under a share-alike license.
  • For a consultancy, ask for the contract terms on design ownership per client project, and exclude projects the client owns or has not cleared.
  • List the symbol, footprint and 3D model libraries each project draws on, including KiCad's stock libraries and parts from component makers, and check each license.
  • Have the buyer and the data owner each check the KiCad project's license terms for the program, its libraries and its scripting interfaces as they apply to exported data and API use.
  • On the sample, export a netlist from each schematic with kicad-cli, compare it with the board's pad nets, then run ERC and DRC and read the saved exclusions.
  • Ask which commits were fabricated and assembled, and whether the delivered Gerber and drill files were generated from them.
  • Check de-identification in the title block, in text and logo graphics on silkscreen and copper layers, in absolute 3D model paths, and in git author names and emails.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Can KiCad files be parsed without KiCad?

Yes. Schematics, boards, symbol libraries and footprints are plain-text S-expressions, and the project file is JSON, so a general parser reads all of them. Two things still need KiCad. The schematic stores wires and labels, not a netlist, so connectivity has to be computed or exported, and ERC and DRC are KiCad's own checks.

Does a KiCad project include revision history?

Not in the design files. A save overwrites the schematic and the board, and no element records its author. History exists where the team kept the project in git, and sometimes as KiCad's automatic project backups, which are zip archives or, in recent releases, a local history in a hidden .history folder. Ask for the repository with its full commit log, not a copy of the latest folder.

Do I need the symbol and footprint libraries to use a board?

Not for the layout. A .kicad_pcb file embeds a copy of every footprint it places, so pads, courtyards and silkscreen are present with no library. You need the libraries to trace a part to its source, and the 3D model files to see the assembly, since models are usually referenced by file path and not embedded.

Will projects from older KiCad releases work?

Yes, with a conversion step. Older releases wrote schematics and symbol libraries in a different text format with .sch and .lib extensions. A newer KiCad opens old files and re-saves them in its current format, while an older one will not open newer files. Ask whether legacy projects are delivered as found, converted or both.

Are Gerber files alone useful for training?

Only for narrow tasks. A Gerber file is a drawing of one layer, and a set of them shows copper, mask, silkscreen and drill hits with no components, schematic or design rules, and with net names only where optional attributes were written. With the source project they show what was sent to a fabricator.

Is SourceX affiliated with the KiCad project?

KiCad is named to identify the system the records come from. That does not imply a partnership with or endorsement by the KiCad project. The records belong to the business that runs KiCad, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies