Skip to main content

senfd: the NVMe specifications, as data

Build and test Coverage PyPI Python versions Documentation License REUSE compliant, checked by pre-commit in CI Ruff Checked with mypy MCP server

senfd reads the ratified NVMe specification documents and makes a data model of them: every command with its dwords and fields, every data structure, register, feature, log page and table of values, each fact citing the document, section, figure and page it is from. It is a data model, not a language model: JSON validated by a schema, with nothing in it trained or generated, and the same documents give the same data model every time. From that one data model:

  • Precise answers, at once, with senfd-query and senfd-ask, the expert to ask, which completes names as you type and answers in milliseconds, citing the figure.

  • Language models that cannot make NVMe facts up: senfd-mcp gives a coding agent the data model as tools, and senfd-ask --llm has a small language model, free, on your own CPU, choose the lookup and write nothing of the answer.

  • Code generated from the figures, as a generator proposed to xNVMe writes its specification headers: structs, masks, opcodes, constructors and registers, citing their figures.

  • A linter of the documents: what does not read as data is listed, with its figure and page, for the authors to fix.

$ pipx install "senfd[ask,mcp]"
$ senfd ~/specs/*.docx --output ~/.cache/senfd
$ senfd-ask "Which bits of CDW12 of Write are PRINFO?"

Asked 30 questions of the 2026 revisions, senfd-ask answered all 30 right, in 4 ms each, and with Llama 3.1 8B on a CPU choosing the lookups, all 30 right in 2.7 s each, for free. Claude Opus 5.5 and Sonnet 5.5, asked from memory and told to answer, got 4.7 and 6.3 of them wrong, on average over three runs.

It runs on the eleven documents ratified in 2026, from Base 2.4 to the TCP transport, in about a minute. The documents are NVM Express’s; neither they nor anything made from them is part of senfd, whose tests and examples use synthetic documents of its own.

See the documentation for the commands, the benchmark against frontier language models, and the schema of the data model.

Metadata

Release files for senfd 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for senfd 0.8.0
File Size Uploaded Provenance Actions
senfd-0.8.0.tar.gz 98.9 kB Without provenance Details for senfd-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for senfd 0.8.0
File Interpreter ABI Platform Actions
senfd-0.8.0-py3-none-any.whl Python 3 none any Details for senfd-0.8.0-py3-none-any.whl

Total release size: 188.7 kB

Release files / senfd-0.8.0.tar.gz

Download URL senfd-0.8.0.tar.gz
Size 98.9 kB
Tags Source
SHA-256 checksum
How to use checksums
49ac0164676052f43722e63cbda74220061c73889baec27aaad026f8b5aa8905
BLAKE2b-256 checksum
How to use checksums
3d42a070d79a27ab342d84677361e685a938d50d6ec626cd30519edbf24e73f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / senfd-0.8.0-py3-none-any.whl

Download URL senfd-0.8.0-py3-none-any.whl
Size 89.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09c4be29a8760de8447b204bf19f4a2c2969c4e1916c366a5832d1477d4e74c7
BLAKE2b-256 checksum
How to use checksums
ba9dc7ddabbf7a31737dd479add6407fe4e775158c9564942bcf2684d747d60d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for senfd 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page