The data pipeline for hardware agents
From an electronic component PDF to data an AI agent can use
Submit a datasheet PDF. DatasheetVend maps the document, runs the extraction modules you choose, calculates land patterns with simplified IPC-7351B equations, and delivers machine-readable files to your agents and EDA tools: JSON, CSV, Markdown, C headers, CMSIS‑SVD and KiCad. Every result is a draft for engineer review.
- 5 free passes
- Two modules each, PDFs to 25 MB
- Source pages
- Attached where recorded
- Simplified IPC-7351B
- A printed land pattern wins
- KiCad files
- .kicad_sym, .kicad_mod, C header
Why a pipeline
A datasheet PDF is not an input an agent can verify.
A model reading a PDF on its own answers fluently and cannot tell you which value to trust. The failures are specific, and each one is handled in code.
Tables that cross pages
What goes wrong. A pin table continues on the next page without its header, and rows are dropped, doubled or misread.
What the engine does. Page regions are linked in code. A join the engine is unsure about becomes a review flag, not a silent merge.
The wrong package for the part
What goes wrong. A family datasheet describes several packages. A model can return the 100-pin table for a 144-pin part.
What the engine does. The part number resolves the target package, and a candidate with the wrong pin count is rejected.
Geometry that exists only as a drawing
What goes wrong. Ball maps and pad rings are line art with no text, so a model describes a plausible package instead of the real one.
What the engine does. The drawing's vector layer is read directly, and the printed numbers are matched to the shapes they label.
The 6-Step Ingestion Pipeline
From a raw PDF to reviewable engineering deliverables.
Six stages take a document from upload to stored outputs. A model reads the PDF in stage 3. Code maps the pages, resolves the package, calculates geometry, and audits the result around it.
Stage 01: Source Capture
PDF & Document Ingestion
Accepts a datasheet or reference-manual PDF, uploaded in the app or fetched from a public https link through the API. A job record is queued, and the document's SHA-256 hash is stored on it when the page map is built. The source PDF is kept for 24 hours after upload, then deleted automatically by an hourly cleanup. On paid plans you can choose to keep a file for 30 days.
Hash stored with the page map; PDF deleted 24 hours after upload
Output Previews
One datasheet. Many engineering outputs.
Select an output below to see an excerpt, its key fields, and where its source evidence sits. Excerpts are abridged from a real run on the ATmega328P datasheet unless marked illustrative.
Pinout Intelligence
JSON Pin ArrayReads each package pin's number, name, type, and the functions the datasheet lists for it. When the part number resolves a package, a pin table with the wrong pin count is rejected. Each pin carries a classification with a confidence score and a source page where one was recorded.
// Abridged from a real pinout canonical.json (ATmega328P, TQFP-32).
{
"number": "17",
"name": "PB5",
"type": "BIDIRECTIONAL",
"functions": ["SCK", "PCINT5"],
"interface_tags": ["SPI"],
"description": "Port B, Bit 5",
"classification": {
"primary_functional_class": "gpio",
"eda_electrical_type": "bidirectional",
"confidence_score": 0.84,
"evidence": [
{ "source_page": 3, "source_text_snippet": "PB5 (SCK/PCINT5)" }
]
}
}What it covers
Component data by module, each delivered as its own contract.
Request the modules a task needs. Each module returns its own canonical and audit JSON, with source pages where the module records them. Coverage varies by module and by document.
- Pinout
- Pin number, name, type and functions, with review flags.
- Footprint
- Package dimensions and land patterns, with KiCad footprints.
- Absolute maximum ratings
- Stress limits and ESD ratings.
- Thermal
- Temperature limits, package metrics and thermal resistance.
- Timing
- Bus clocks and delays.
- Register map
- Registers and bitfields, as JSON, a C header and SVD.
- Logic levels
- Input and output voltage thresholds.
- Pin cautions
- Pin-level warnings and restrictions the datasheet states.
- Peripheral matrix
- Which peripherals a part offers.
Checks that run in code
The model reads the page. Code checks the result.
The model extracts the raw facts from the document. Everything after that is deterministic code, and several checks use an independent tool.
Package resolution
The part number resolves the target package. A table with the wrong pin count is rejected, not merged.
Land patterns
Calculated with simplified IPC-7351B equations. A land pattern printed in the datasheet wins over the calculation.
KiCad command line
Generated footprints are run through the KiCad command-line tool.
C header compile
Each generated registers.h is compiled with clang, with warnings as errors.
SVD check
Delivered device.svd files are checked with Arm's svdconv in strict mode.
Source pages
Values are compared with the text of their source page where the module records one. What cannot be confirmed stays flagged.
Checks reduce risk and do not replace review. Every result is a draft for engineer sign-off. How each check works and where it stops
The Run Package
The run package is the hand-off.
A finished run downloads from the dashboard as one zip, named like <file>_run_package.zip. It holds each module's stored data as JSON, every canonical and audit output, each module's engineer and machine files, plus KiCad files, a C header, a README and a manifest. Through the REST API, each module's JSON and delivery pack are fetched one route at a time.
- pinout.json, footprint.json, …Module JSON
- kicad/ & cad_intelligence_pack/KiCad Files
- registers.hC Header, Review First
- manifest.json & package_health.jsonWhat Is Included
# Submit a public https link to a PDF (needs a developer API key)
curl -X POST https://datasheetvend.com/api/v1/extract \
-H "Authorization: Bearer dsv_..." \
-H "Content-Type: application/json" \
-d '{"fileUrl": "https://example.com/stm32h743zi.pdf", "modules": ["pinout"]}'
# The 202 reply holds job_id, status_url and module_urls.
# Poll status_url until the job is COMPLETED, then fetch a module:
curl https://datasheetvend.com/api/v1/jobs/<job_id>/pinout \
-H "Authorization: Bearer dsv_..."
# Fetch the pinout delivery packs (engineer and machine files):
curl https://datasheetvend.com/api/v1/jobs/<job_id>/pinout/pack \
-H "Authorization: Bearer dsv_..."Connect an agent
Four ways in, none of them through the browser.
Agents call the same engine the app uses and read the same files.
REST API
POST /api/v1/extract with a link to a public PDF, poll the job, then read each module's JSON and delivery pack. Needs a developer API key.
API docsMCP server
A tool server at /api/mcp over streamable HTTP. Discovery is free. Extraction tools need an API key or a machine payment.
For agentsOpenAPI and schemas
The full contract is published at /api/v1/openapi, with JSON schemas for the module outputs at /api/v1/schemas.
OpenAPI documentPay per request
An agent with no account can pay as it goes. The gateway answers 402 with a Stripe machine-payment challenge. $3.00 per module.
How the handshake worksWho it is for
Three readers of the same output.
For AI agent developers
Submit a PDF link through the API or MCP, poll the job record, and read versioned JSON contracts that carry status and warning fields. Treat each result as a draft and check its review flags.
For engineers working with agents
Check each pin, rating and timing value your agent relies on against its source page where one was recorded, and review the generated footprint before it goes near a board.
For PLM & operations
Turn supplier datasheets into JSON component records, each with audit JSON and warnings that mark what needs review. When a page map is built, the job record keeps the source file's SHA-256 hash.
Bring your next datasheet into the pipeline.
A new account gets five free passes. Each pass runs up to two modules, pinout and footprint included, on a PDF up to 25 MB. Inspect the contracts and audit JSON a run produces. KiCad files and the C header run on module credits.