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.25.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.25.0
File Size Uploaded Provenance Actions
senfd-0.25.0.tar.gz 351.9 kB Without provenance Details for senfd-0.25.0.tar.gz

Built distribution (wheel)

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

Total release size: 605.0 kB

Release files / senfd-0.25.0.tar.gz

Download URL senfd-0.25.0.tar.gz
Size 351.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e1aa4b0c8732301b95eaec5a2a4b1663bca70951b2115753d53dc17c3b69ae77
BLAKE2b-256 checksum
How to use checksums
d8a9853a718eed5dd97ef4bd8e5a874e22219a02108295e23cc714382c95e67d
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.25.0-py3-none-any.whl

Download URL senfd-0.25.0-py3-none-any.whl
Size 253.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c5df631a6b1b4a959e43838851f3ffe5663db7c81262109e11a107163d8886a
BLAKE2b-256 checksum
How to use checksums
77925401011bb33aa6a4634223f9c1186c009b0a13489fba5548e9c8e27f9b2c
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.25.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.25.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