Skip to main content

senfd and sate

Build and test Coverage PyPI Documentation License REUSE status MCP server

senfd reads the NVMe specifications, the PDFs NVM Express publishes or the .docx its members hold, 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.

The .pdf and .docx documents go through senfd's stages, read, normalise, define and merge, into one data model

The data model is JSON validated by a schema, and the same documents give the same data model every time.

sate is an expert on the subject a data model describes. Here that is the data model senfd makes of the NVMe specifications, as above. Ask it about a command, a field, a register, a feature or a log page, in a session with completion or on the command line, and it answers instantly, citing the figure with a link to its page of the specification on nvmexpress.org, to check the answer against:

sate's session: a question put with completion, and answered with the figure it is from

What the data model is for

  • Precise answers, instantly. sate answers a question about a command, a field, a register, a feature or a log page in milliseconds; see the expert.
  • Language models that cannot make NVMe facts up. sate --llm answers questions put in your own words, a small language model on your own CPU choosing the lookup and writing nothing of the answer. sate-mcp gives a coding agent the lookups as tools, to check an opcode, a bit or an offset against its figure rather than recall it; see with a language model.
  • Code generated from the figures. An early prototype writes xNVMe's specification headers from the data model, every member citing its figure; see code from the figures.
  • A linter of the documents. What does not read as data is listed with its figure and page, for the authors to fix; see the linter.

The documentation has the rest: how to install senfd, or run it from its container image, make the data model from the specifications NVM Express publishes, lint the documents, ask the expert, and use it with a language model. The benchmark sets sate's answers beside those of language models answering from memory; prior art tells where senfd comes from, and the names what they mean.

Notices

Not endorsed by NVM Express. senfd is independent of NVM Express, Inc. NVM Express and NVMe are its trademarks.

Experimental. What senfd says can be wrong. Every answer cites the figure it is from; check it there before you rely on it.

The data model is under the specifications' terms. It is derived from the NVMe specifications, so the notice printed in each governs it. Members of NVM Express, Inc. may use it under their Participation Agreement and the Company's Intellectual Property Policy and Bylaws; to anyone else, the notice grants only the right to review, refer to or cite the specification. You must be a member of NVM Express, Inc. to make the data model or use it.

Nothing made from the specifications is distributed. senfd ships no specification and no data model, and its CI job, which reads the public PDFs, uploads nothing made from them. Make your own from the public PDFs, as the documentation shows.

Metadata

Release files for senfd 0.14.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.14.0
File Size Uploaded Provenance Actions
senfd-0.14.0.tar.gz 159.2 kB Without provenance Details for senfd-0.14.0.tar.gz

Built distribution (wheel)

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

Total release size: 291.8 kB

Release files / senfd-0.14.0.tar.gz

Download URL senfd-0.14.0.tar.gz
Size 159.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f984550df0527c006a9ece30ddae9ceea880757a0b3e8970f85f423e49c4ee14
BLAKE2b-256 checksum
How to use checksums
135673104d2ea26d6123efa329bd9eae1af74c52e2824381676757ea9736759d
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.14.0-py3-none-any.whl

Download URL senfd-0.14.0-py3-none-any.whl
Size 132.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1250aaeafa0a35216d1c9edaa64586fa8ce1161c4e945f6387f3dfe5a20c1390
BLAKE2b-256 checksum
How to use checksums
9ee2c0397c430ff2393bf22fd930add15ebe46cd55efbacc56d854da6ea1a935
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.14.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.14.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