Skip to main content

senfd and sate

Build and test Coverage PyPI Documentation License Dependabot REUSE status MCP server

senfd reads the NVMe specifications and makes a data model of them. senfd reads either the PDFs that NVM Express publishes or the .docx files that its members hold. The data model holds every command with its dwords and fields, and every data structure, register, feature, log page and table of values. Each fact in the data model cites the document, section, figure and page it comes 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. The same documents give the same data model every time.

sate answers questions from a data model. Here the data model is the one senfd makes of the NVMe specifications. You can ask sate about a command, a field, a register, a feature or a log page, in a session with completion or on the command line. sate answers in milliseconds and cites the figure, with a link to its page of the specification on nvmexpress.org, so you can check the answer:

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

To try senfd and sate, run the wizard with uvx:

uvx --from senfd@latest sate-preview-wizard

The wizard lists the specifications it will download from nvmexpress.org, and asks before it makes the data model, because only members of NVM Express may make and use the data model. The wizard then opens sate's web page in the browser, which answers questions and shows the data model as a map. The data model stays in ~/.cache/senfd, so the next run opens the page at once.

What the data model is for

  • Answers from the figures. 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 take NVMe facts from the data model. sate --llm answers questions written in your own words. A small language model on your own CPU chooses the lookup, and writes no part of the answer. sate-mcp gives a coding agent the lookups as tools, so that the agent checks an opcode, a bit or an offset against its figure rather than recalling it; see with a language model.
  • Code generated from the figures. An early prototype writes xNVMe's specification headers from the data model, and every member cites its figure; see code from the figures.
  • A lint of the documents. senfd lists what does not read as data, with its figure and page, for the authors to fix; see the linter.

The documentation covers the rest. It describes how to install senfd or run it from its container image, how to make the data model from the specifications that NVM Express publishes, how to lint the documents, how to ask the expert, and how to use sate with a language model. The benchmark compares sate's answers with those of language models. Prior art describes the tools senfd follows, and the names page explains what the names 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.23.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.23.0
File Size Uploaded Provenance Actions
senfd-0.23.0.tar.gz 321.0 kB Without provenance Details for senfd-0.23.0.tar.gz

Built distribution (wheel)

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

Total release size: 553.3 kB

Release files / senfd-0.23.0.tar.gz

Download URL senfd-0.23.0.tar.gz
Size 321.0 kB
Tags Source
SHA-256 checksum
How to use checksums
019721e1785e40f8171b74d6b48ad6fb3f2aeaaafaf83cfc5ff5fbfcebf1dfa9
BLAKE2b-256 checksum
How to use checksums
67d999e919be872673295af1ba3e3bf2328a4ccb6a70a53e0d3ac451da3193b5
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.23.0-py3-none-any.whl

Download URL senfd-0.23.0-py3-none-any.whl
Size 232.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff77faf62470d9bbeb51befedf0b506516433feb789c3b2391b5fe0fff89ebd3
BLAKE2b-256 checksum
How to use checksums
e0a577b26899b97e6431b06218aed85f8eecfa8dfa7ce1d98de64f2f0661fab7
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.23.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.23.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