Skip to main content

ietf-llm

Maintain a local, queryable corpus of an IETF effort's public record — a Working Group, an IRTF Research Group, a mailing list, or a set of drafts. It pulls together charter, drafts, RFCs, meeting agendas, minutes, slides, transcripts, attendance, mailing list archives, and GitHub issues and pull requests for use with LLM-based tools.

What it's for

A working group's history is spread across mailing list archives, Datatracker, GitHub, and meeting materials — too much to hold in your head, and too scattered to search well by hand. With the record gathered into one queryable corpus, an LLM can help you:

  • Get up to date with the state of discussions — what's open, what was recently decided, where a debate currently stands.
  • Summarise the arguments already made about an issue — every distinct position on a topic, who holds it, and how the chairs ruled.
  • Formulate a new proposal — surface the objections raised against similar ideas before, so you can anticipate them.
  • Fact-check assertions about what's happened so far — grounded in the actual list traffic and chair statements, not someone's recollection.

Tip: for an IRTF Research Group, pass its shortname (e.g. cfrg, hrpc, pearg) wherever the docs use <name> — it works the same as a WG.

Modes of operation

There are three supported workflows:

  1. Use it as an MCP server — register it with Claude, Codex, Cursor, Gemini, Zed, etc. and ask questions across any corpus you've gathered. Two ways to run it:
    • Local MCP — one server subprocess per client, on your own machine. <-- Best starting point
    • As a shared HTTP MCP server — one process serving many concurrent clients (hosted).
  2. Use it from the CLI — run semantic search over the cache directly with ietf-llm-search, no LLM client required.

See the workflow documentation linked above for installation and use instructions, or the full documentation listing.

All three read a corpus you first gather with ietf-llm <corpus>.

The RFC series is the exception: search_rfc_index, search_rfc_text, grep_corpus(corpus="rfcs", …) (exact phrases, across the 72-column wrap), get_rfc_info and get_rfc_section cover every published RFC and are not tied to a corpus. Their data arrives on its own — a gather pulls it as housekeeping — but a machine that only ever reads, such as a hosted MCP deployment, never runs a gather and so never gets it. Set that machine up in one step:

ietf-llm --init

That refreshes the RFC metadata mirror and the effort catalog, installs the full text of the series from the seed store (about 285 MB, which is what makes search_rfc_text and get_rfc_section work), and syncs the norms skills. It gathers nothing, and it is safe to re-run.

Heads up — gathering reaches the network by default. To make a first gather fast, ietf-llm pulls a prebuilt snapshot of covered corpora from the public seed store at seed-store.mnot.net (and list_corpora looks its catalog up there), then freshens only the delta — skipping most of the embedding and download cost. To turn this off: ietf-llm <corpus> --no-seed (it persists across gathers; re-enable with --seed), or set IETF_LLM_SEED_ENABLED=off (or IETF_LLM_SEED_URL=off) in your environment. With seeding off, gathers run fully cold and offline. It is best-effort either way — an unreachable or unlisted corpus just gathers from scratch.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ietf_llm-0.18.0.tar.gz (928.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ietf_llm-0.18.0-py3-none-any.whl (706.6 kB view details)

Uploaded Python 3

File details

Details for the file ietf_llm-0.18.0.tar.gz.

File metadata

  • Download URL: ietf_llm-0.18.0.tar.gz
  • Upload date:
  • Size: 928.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ietf_llm-0.18.0.tar.gz
Algorithm Hash digest
SHA256 562bc581f93d77897ef977f79910505813ec01eb67ad161fcf81c631b8e04c5d
MD5 4dc45d861454e44f83ea928c57ce812a
BLAKE2b-256 9cefdb8d48e414321f4c7019ed51dcc59597f0e7abeaf2d5c3455d154380b814

See more details on using hashes here.

Provenance

The following attestation bundles were made for ietf_llm-0.18.0.tar.gz:

Publisher: publish.yml on mnot/ietf-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ietf_llm-0.18.0-py3-none-any.whl.

File metadata

  • Download URL: ietf_llm-0.18.0-py3-none-any.whl
  • Upload date:
  • Size: 706.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ietf_llm-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15c383c46d04f0a190d78b525654cc89b4f0860c740dc50279d1b38bd1c25027
MD5 fe4b36fc2e1bc5489a32c8f560c78ff7
BLAKE2b-256 0969984f95ad11364308aacbaf29e6f0b24da16a6eb2ec059bb4fa6dccd798f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ietf_llm-0.18.0-py3-none-any.whl:

Publisher: publish.yml on mnot/ietf-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page