Intellisense

One colouring for the whole platform: every word a text mentions (an agent, a model, a standard, a route, a number with its unit, a status) in its own colour, the same colour on every page, in light and in dark, and a link in that colour when it leads somewhere.

What you are looking at

One reusable component of the Sovereignty UI package. A fast matcher knows the platform's vocabulary (its agents, models, standards, laws, pages and the terms an administrator taught it) and pattern recognisers find the rest. The event ticker, the logs, the chat and the documentation all colour words this way. Colour is never the only signal: hover a word and the tooltip names its kind. E-mail addresses and numbers that look like a BSN are always masked and never become a link. This page uses the public vocabulary only.

Style:Loading the public vocabulary…

The colours

Each kind has one colour, picked to read on every theme's background in light and dark mode. A word with a destination is a link in the same colour: point at it or tab to it and it underlines; a link that leaves the site wears a small arrow. A status takes green, orange or red by its outcome.

Every kind of word, its colour, its icon, an example and a link example
KindColourExampleAs a link
AgentLibrarianLibrarian
RoleOverseerOverseer
PersonRobin Exampleno page of its own
Toolagent_flooragent_floor
ProductSpectreSpectre
CascadeDaily briefDaily brief
StandardAS4AS4
LawLAW-DATA-SOVEREIGNTYno page of its own
ProposalPROP-20260101-01no page of its own
GlossaryHSTSHSTS
Taught termDSOno page of its own
Modelgemma4:26bgemma4:26b
Lanereasoning laneno page of its own
Route/changelog/changelog
Page/features/features
Codeannotate()no page of its own
Filebackend/internal/lexicon/match.gono page of its own
Linkhttps://example.orghttps://example.org
Versionv1.173.0no page of its own
IdentifierROLE-LIBRARIANno page of its own
Number89no page of its own
Quantity45 msno page of its own
Amount€1.250,50no page of its own
Date14 November 2026no page of its own
Statusfailedno page of its own
E-mail (masked)s•••@•••.comnever a link
Masked number•••••••••never a link

The same words everywhere

A ticker line
  1. cascade.run10:30:00 AMcascade.run
    cascade runner
  2. model.call10:29:59 AMmodel.call
    Librarian: research on gemma4:26b (local, 812 tokens)
    model call · local model
A log row
  • 10:31:02errorPeppol delivery to the AS4 gateway failed after 3 attempts in 1.2 s; see /dashboard/robeeflow/logs
  • 10:31:05infoThe Librarian answered on gemma4:26b, release v1.173.0, done in 45 ms
A chat answer

Done. The estimate is €1.250,50 for 12 hours; the release is 1.169.0 (see /changelog). I masked s•••@•••.com and ••••••••• before saving, and the Academy glossary explains HSTS and RAG.

More examples

A platform sentence

The Librarian runs on gemma4:26b under LAW-DATA-SOVEREIGNTY; Spectre and Robeeflow speak AS4 and Peppol, and the Agent Floor shows what waits for a person.

A code snippet sentence

Call annotate() from @sovereignty/ui, or useLexicon() in a component; the Go twin lives in backend/internal/lexicon/match.go and answers POST /enaibleusovereignty/api/v1/intellisense/annotate.

A Studio event

Standards Studio: StUF and the ZGW APIs reached the second rung on 14 November 2026 at 10:30, in 45 ms per check, 87% agreement, version v1.17.0.

Playground

Annotated in your browser with the public vocabulary; nothing you type is sent anywhere.

The Academy says the Librarian follows LAW-DATA-SOVEREIGNTY; Peppol over AS4 since v1.169.0, 2026-11-14, 87% faster at €0,02.

  • LawLAW-DATA-SOVEREIGNTYfound by the id recogniser
  • Versionv1.169.0found by the version recogniser
  • Date2026-11-14found by the date recogniser
  • Quantity87%found by the quantity recogniser
  • Amount€0,02found by the money recogniser

Use it on any site

Install the Sovereignty UI package and its stylesheets, pass a vocabulary, and render. The core (@sovereignty/ui/intellisense) has no React and no browser in it, so a server or a script can annotate too; this platform's server does the same for its agents and exports.

tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { SmartText, buildLexicon, useLexicon } from '@sovereignty/ui'; import '@sovereignty/ui/components.css'; // the colour palette (--si-k-<kind>, light and dark) const lexicon = buildLexicon([ { id: 'std:as4', kind: 'standard', label: 'AS4', caseSensitive: true, href: '/docs/as4' }, { id: 'agent:librarian', kind: 'agent', label: 'Librarian', description: 'Research and knowledge.' }, ]); // "color" is the default: each word in its kind's colour, a link in the same colour <SmartText text="The Librarian sends AS4 v2.0 messages in 45 ms." lexicon={lexicon} renderLink={MyLink} /> // a chip per word, for lists and legends <SmartText text="AS4 and Peppol" lexicon={lexicon} variant="chip" /> // inside a link (a row that links as a whole): coloured words, no link inside a link <a href="/run/42"><SmartText text="The Librarian finished" lexicon={lexicon} insideLink /></a> // or load your own vocabulary; the package never fetches by itself: const { lexicon: live } = useLexicon(() => fetch('/api/terms').then((r) => r.json()), { cacheKey: 'terms' });