Skip to content

15 Editions and Licensing

Mikhail Deynekin edited this page Nov 29, 2026 · 6 revisions

Editions and licensing

There is one build. What changes between Community, Pro and Enterprise is a signed licence file, not an installation.


One delivery, three licence levels

There are 23 capabilities in the product. Community accounts for 6 of them; a Pro licence opens 17, an Enterprise licence opens all 23. There is one distribution: the paid code travels in the same build, and the level is unlocked by a signed licence file, edition.license — no installation is performed when the level changes.

Level How it is enabled
Community do nothing: this is the default state, free, under BUSL-1.1
Pro a signed licence file of level pro
Enterprise a signed licence file of level enterprise

Where the licence comes from, how an invoice is issued and what the account shows: Pricing and Billing and Portal.

The Community build is published as a public release: https://github.com/paulmann/RAGRAF/releases. The paid modules and the activation kit are not part of that release.

The honesty rule: a capability appears in an answer only if the build contains all of its operations. A capability that is declared but not written is not passed off as working — it is named in the missing section of the ragraf edition response.


Capability matrix

Twenty-three capabilities, each with the operations it opens. Operation names are the facade names used in 04 · Operations Reference; a capability is gated as one unit, not per operation.

Capability Level Operations What it unlocks
audit Community index_status, catalog, drift_report, drift_ack, note, notes, task_set, task_stats, gate, calibrate, compact state and trust: revision, registry, drift journal, notes, task, gate
db-live Community db_schema, db_table, db_relations, db_sample, db_drift, db_cross live databases: structure, tables, relations, sample rows, drift, cross-check against the code
documents Community doc_search, doc_get, doc_status, doc_validate the document layer: document structure, chunk locator, chunking validator
graph Community callers, callees, impact, slice, repo_map, diff, entrypoints, dead_code, duplicates, edge_evidence the code graph: callers, callees, impact of an edit, slice, repository map, evidence of edges
schema Community schema, table_usage, policy_trace, write_check, routes, class_usage schema from migrations and rights: tables, reading and writing, access policy, routes, classes
search Community search, search_multi, symbol, references, code, live_read, freshness, route, neighbors, doc_search_levels search and reading: vector and lexical search, symbols, function bodies, documents
doc-graph Pro entity_neighbors, doc_relations, themes, global_overview the document graph: extraction of entities and relations from documents through an LLM, entity neighbours and document relations with locators
doc-ocr Pro doc_ocr text recognition on images and scans (local engine)
exclude-management Pro excludes management of the exclusion list: which directories are not counted as part of the corpus
preflight Pro preflight cost and boundaries before the start: distribution of files, share of generated code, migrations, expected parsing time with a margin of error, blind spots of dynamic behaviour with locators, readiness of the vectors and of Joern
memory-facts Pro fact_store, fact_recall, fact_replace, fact_forget, fact_history fact memory: a fact keyed by namespace, subject and predicate, with versions, a lifetime that hides instead of deleting, and the reason for forgetting kept in the notes journal
provenance Pro doc_asof, dependents, stale_cascade provenance of documents and conclusions: revisions with a validity interval, derivation edges and dependent facts
quality-loop Pro quality_suite, quality_diff, quality_prune, quality_pair, quality_trace the quality loop: a suite of index checks and analysis of discrepancies between runs
secret-broker Pro broker_issue, broker_rotate the secret broker: issuing access on request (a lease with a term, a custodian and a reason) and scheduled rotation of the value
shared-index Pro shared_index_status, shared_index_publish, shared_index_query the team's shared index: publishing a corpus for reading over the network, admitting clients and queries against the published index
skills-catalog Pro skill_catalog, skill_load, skill_reference the corpus skill catalog: which skills exist and what reading each costs, the body page by page with sha256 and next_offset, and a reference/<name>.md by name
attestation Enterprise attest_bundle attestation of the distribution: a signed set of evidence for an external audit
contract-drift Enterprise contract_drift checking intent against code by FQN: modules, contracts, the drift detector
contract-pin Enterprise contract_pin_status, contract_pin_approve, contract_diff, contract_pin_history, contract_pin_sample pinning the operation signature: the hash of the description (parameters with defaults and response keys) is confirmed by a human, and any divergence or client breakage shows up in the journal
offline-license Enterprise license_offline an offline licence for a closed contour
siem-export Enterprise siem_export, siem_test export of access logs and of the secret-vault audit events to an external SIEM (syslog or HTTP), with a delivery check
sso Enterprise sso_login, sso_map_roles single sign-on: OIDC authorization code + PKCE and mapping of external directory groups onto panel roles (SAML is not implemented — a refusal with a reason)
invariant-pin Pro invariant_pin, invariant_release, invariant_unpin, invariant_list, invariant_verify, invariant_mutation invariants as first-class facts: an append-only set with provenance, two-part removal, verification against the whole state and a rollback of the whole declared mutation

What differs at file level

The difference is not cosmetic: the closed part consists of separate modules that are absent from the public Community build. The closed distribution has eleven modules:

Module Capability
src/ragraf/quality.py, src/ragraf/quality_traces.py quality-loop
src/ragraf/facts.py memory-facts
src/ragraf/provenance.py, src/ragraf/docindex.py provenance
src/ragraf/excludes.py exclude-management
src/ragraf/docread/ocr.py doc-ocr
src/ragraf/docgraph/* doc-graph
src/ragraf/shared_index.py shared-index
src/ragraf/broker.py secret-broker
src/ragraf/skills_catalog.py skills-catalog
src/ragraf/contract_diff.py contract-pin
src/ragraf/preflight.py preflight

Plus the enterprise/ folder — the activation kit (a signed licence file, a public key, layout scripts). In the Community release those paths do not exist, so a gated operation has nothing behind it to call.


Why Pro is a licence level, not a separate package

Because two packages would diverge on the very first edit: the same operation would behave differently in the two builds, and "it works on my machine" would stop meaning anything. One code base, one test suite, different rights — and that is verifiable rather than promised:

python tools/ragraf.py edition

The answer names the level in effect and the list of capabilities unlocked from the signed file. Nothing is downloaded and nothing is replaced when the level changes.


The offline activation kit

File What it is Required
edition.license the licence file (JSON) with the level, the licensee and the term yes
edition.license.sig the Ed25519 signature over the licence file yes, without it the licence is rejected
edition.pub the public key the product uses to verify the signature yes
Activate-RAGRAF.bat activation by double click (Windows) yes
Activate-RAGRAF.ps1 the same for PowerShell 7.6+ optional
activate_ragraf.py the work itself: laying out the files and verifying yes (invoked by the wrapper)

The kit contains no secrets. A public key is public by definition; the private signing key stays with the rights holder and is never transferred to the user's machine. There is no licence server: verification runs locally and no network is needed for either activation or operation.


Activation steps

  1. Install the product — see 02 · Getting Started. Check that there is something to verify the signature with: pip install "PyNaCl>=1.6". Without it the licence reads as unverifiable.
  2. Put the kit inside the installation directory — next to src and tools.
  3. Run the activation:
cd <installation directory>
.\Activate-RAGRAF.bat                  # or: .\Activate-RAGRAF.ps1
.\Activate-RAGRAF.bat --status         # what is in effect right now
.\Activate-RAGRAF.bat --root D:\RAGRAF # point at the directory manually

The licence file can also be dragged onto Activate-RAGRAF.bat with the mouse — then the kit may sit anywhere.

  1. Verify:
ragraf edition             # the level, the capabilities, the licence state
ragraf edition --verbose   # what is unlocked, what is withheld and why

Expect enterprise (or pro) and a list of unlocked capabilities; missing is empty if everything declared in the build is present.


What exactly is verified

What How If it does not match
the signature of the licence file Ed25519 with the edition.pub public key forged or untrusted
the level the edition field in the signed file broken (a value outside the list)
the term the term field in the signed file expired
the licensee the licensee field: whose licence this is shown in ragraf edition, and it does not grant anything by itself
the installation fingerprint under strict binding — the host name and the path, as a hash a licence from another host does not fit

Important: the term, the level and the licensee are taken only from the signed file. Editing the file breaks the signature — and that shows up as the forged state, not as an unclear error.

Strict binding to an installation is optional. Without it the licence works on any installation that carries the trusted public key; the offline-license capability (Enterprise) covers perimeters with no network access and the holder's procedure for moving a licence between machines.


Licence states

State What it means What to do
valid the signature matches, the term is fine nothing
absent there is no licence file at the expected path check that edition.license and .sig are in catalog\
untrusted the signature is intact but there is no trusted key, or it is someone else's check catalog\edition.pub
forged the file was edited after signing or signed with another key copy both files from the kit again
expired the term has expired request a new licence file
unverifiable there is no PyNaCl — nothing to verify the signature with pip install "PyNaCl>=1.6"
broken the signed file does not parse or the level is outside the list copy the files from the kit again

The cause is always printed in the licence line of the ragraf edition answer — no guessing is needed.


Without a licence

The product runs at the Community level: search, the graph, the schema, live databases, local audit. Paid capabilities answer with an edition refusal — not an error and not a crash: "this capability is closed by the edition", together with a verification command. There is no degradation of the basic answers without a licence.

What is deliberately absent from the whole scheme:

  • no licence server and no online check — the network takes no part in activation or in operation;
  • no hidden telemetry — there are no calls home, local statistics stay local;
  • no keys in these pages — the private signing key is never published, and the licence file's own contents are not reproduced anywhere in this wiki.

Checking your build

ragraf edition            # level, capabilities, licence state
ragraf edition --verbose  # what is unlocked, what is held back and why

The equivalent through the script is python tools/ragraf.py edition, and the same subcommand is described with the rest of them in 05 · CLI Reference. A response with an empty missing means that everything declared in this build is present. A non-empty missing is an honest list of what is absent, with a reason — the build is telling you what it is, not what it was sold as.

Importance threshold (owner's decision, 2026-11-30): new work is shipped for Pro and Enterprise only. A Pro licence opens capabilities of importance up to 7/10 inclusive; Enterprise opens all. The threshold is data (importance_policy.pro_max in src/ragraf/edition_baseline.json): a capability above the threshold declared in pro refuses to load, and the refusal on Pro names the importance as the reason.

Clone this wiki locally