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 xNVMe’s specification headers are: 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.7.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.7.0
File Size Uploaded Provenance Actions
senfd-0.7.0.tar.gz 96.0 kB Without provenance Details for senfd-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 183.4 kB

Release files / senfd-0.7.0.tar.gz

Download URL senfd-0.7.0.tar.gz
Size 96.0 kB
Tags Source
SHA-256 checksum
How to use checksums
72005850e8910a74a75b0ff797038a32a98a9e6a58b52f1abec1e6884cda466c
BLAKE2b-256 checksum
How to use checksums
e189f42b2fc43e19b3c8535c26bc7c60d8fa1df86ce461aad7069aff7a5aca1e
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.7.0-py3-none-any.whl

Download URL senfd-0.7.0-py3-none-any.whl
Size 87.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb3205f92ce7f132ffcca22f0b29a63fb3c7b25ac5fdb1fe737d6d5bd36eb783
BLAKE2b-256 checksum
How to use checksums
d035b0f71377ae4b876f71daa902795de55851757d83ad69124684a207e3a465
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.7.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.7.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