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 sate in the browser without installing senfd, run the wizard with uvx:

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

Or with pipx:

pipx run --no-cache --spec senfd sate-preview-wizard

The wizard lists the specifications it will download from nvmexpress.org. The wizard 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. The data model stays in ~/.cache/senfd, so the next run opens the page without making the data model again.

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.19.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.19.0
File Size Uploaded Provenance Actions
senfd-0.19.0.tar.gz 225.4 kB Without provenance Details for senfd-0.19.0.tar.gz

Built distribution (wheel)

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

Total release size: 398.0 kB

Release files / senfd-0.19.0.tar.gz

Download URL senfd-0.19.0.tar.gz
Size 225.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a7799fe49d3b7ef7f7d7bd419dffe3d1f4ca943e815097c53dcd31d4dcdb8233
BLAKE2b-256 checksum
How to use checksums
0ff996a1061e281ea2cdd03de0fd27783e1bca77f47667de6ac512b323861a54
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.19.0-py3-none-any.whl

Download URL senfd-0.19.0-py3-none-any.whl
Size 172.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cfd82586f4f9f377299b9dfb58d7413365074e2973621e22d36ea0b31cd2004c
BLAKE2b-256 checksum
How to use checksums
d14461e35cb77032587be45b530843598ddb5d5bc159d11b4c5e3fd3f9591498
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.19.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.19.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