senfd and sate
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 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:
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.
sateanswers 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 --llmanswers 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-mcpgives 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.26.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| senfd-0.26.0.tar.gz | 351.1 kB | Without provenance | Details for senfd-0.26.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| senfd-0.26.0-py3-none-any.whl | Python 3 | none | any | Details for senfd-0.26.0-py3-none-any.whl |
Total release size: 604.4 kB
Release files / senfd-0.26.0.tar.gz
| Download URL | senfd-0.26.0.tar.gz |
|---|---|
| Size | 351.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9d9ae0ee01c65a895bf8a415f520929b854f09d3836a6d1875b197359dcf02a
|
|
BLAKE2b-256 checksum How to use checksums |
5b4f9c100b3af2aa3abf4777e3bc60abbc80c931f59a9aa69ee2f4bb0038dbea
|
| 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.26.0-py3-none-any.whl
| Download URL | senfd-0.26.0-py3-none-any.whl |
|---|---|
| Size | 253.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dcc3faa3da29e204621c46454e431b497a48ddc6ff996b298659fa823d16cbab
|
|
BLAKE2b-256 checksum How to use checksums |
88c2763e3a2286a1563209b164ca3198d9b78427e580466068b7eca7c9180995
|
| 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.26.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.