This page covers the visual interface of CALM Hub. For the technical reference see the overview and runtimes, the developer guide, and the MCP and API reference.
CALM Hub
CALM Hub is the central artifact store for the CALM ecosystem—similar in purpose to Maven Central, but built specifically for publishing, versioning, and distributing CALM architecture models and compliance assets.
In addition to acting as a repository, CALM Hub serves as an interactive visualization and navigation tool. It provides a visual representation of system architectures, patterns, and security controls, making it easier for architects, developers, and compliance auditors to navigate and communicate system designs.
Getting Started
Accessing and Starting the Hub
CALM Hub can be run in two different database/storage modes depending on your requirements:
- MongoDB Mode (Default): Uses MongoDB for data persistence. This is the production-ready default mode.
- Standalone Mode: Uses NitriteDB (an embedded NoSQL database) for local file-based storage. This mode does not require running an external MongoDB instance, making it ideal for local testing, demo scenarios, or quick setup.
Starting in MongoDB Mode (Default)
To run in MongoDB mode, you need a running MongoDB database:
- Start MongoDB:
cd calm-hub/local-devdocker-compose up
- Start the Hub:
cd calm-hub../mvnw quarkus:dev
Starting in Standalone Mode (NitriteDB)
To run the Hub in standalone mode without an external database dependency, run:
cd calm-hub
../mvnw quarkus:dev -Pstandalone
This sets the storage mode to standalone (NitriteDB), suppresses MongoDB health checks and turns off dev services, so it needs no Docker. Use the Maven profile (-Pstandalone): dev mode does not apply -Dquarkus.profile=standalone.
Accessing the UI & API Docs
Once running, you can access the Hub at:
- Visual Interface: http://localhost:8080/
- Swagger API Docs: http://localhost:8080/q/swagger-ui
Interface Layout
The CALM Hub dashboard is divided into three primary zones:
- Top Navbar: Displays the branding, navigation links (Hub explorer, standalone Visualizer), and a global search bar. Its results page shows the catalogue results, then the results of each extension search provider. With a chat provider, the answer of its assistant shows above them (see Chat).
- Explore Sidebar (Left): Allows hierarchical or flat navigation of Namespaces, Resource Types, and Compliance Control Domains.
- Main Content Area (Center/Right): Dynamically updates depending on the selected resource, rendering visual diagrams, JSON documents, or interactive schema forms.
Your operator can change the name, logo and colours, show the menu at the left of each page, hide namespaces or control domains from the menus, and choose the first page. See UI Customization.

Exploring Hub Artifacts
Namespaces Sidebar
Architectures and related documents in CALM Hub are organized under Namespaces (e.g. traderx, finos). The sidebar allows you to explore these assets using two viewing modes:
- Hierarchical View (Tree): Group and nest sub-namespaces based on dot-notation boundaries (e.g.
org.finos). - Flat View (List): Lists all namespaces alphabetically at the root level.
Toggle between these modes using the list and tree buttons at the top of the sidebar.
Artifact Resource Types
Under each namespace, you can browse and retrieve the following artifacts:
| Artifact Type | Purpose | Typical Content |
|---|---|---|
| Architectures | Deployed systems and architectures | Component relationships, protocols, and control mappings |
| Patterns | Standard blueprints or reusable architectures | Reusable design specifications (e.g., trading system layout) |
| Flows | System transactions or business processes | Sequential interactions between components over time |
| Standards | Architectural rules and policies | Structural validations (e.g., mandating encryption) |
| ADRs | Architectural Decision Records | Human-readable markdown files capturing system decisions |
| Interfaces | Declared communication endpoints | Exposed APIs, host-port pairs, or container images |
My Namespace
If the operator turns on personal namespaces, each user can have one private namespace for scratch work, for example users.jane-doe. The home page shows a My namespace card:
| Card | What it means |
|---|---|
| Name and Create | The namespace does not exist yet. Create makes it |
| Name, Open and Copy name | The namespace is yours. Copy name is for the $id of documents that you push with the CLI |
| A message to ask an admin | Another user holds the name, or your user name cannot be used |
No card shows when personal namespaces are off.

Only you can see your namespace until you give other users access. See Personal Namespaces for the rules. From the command line, use calm hub whoami and calm hub create my-namespace (see the CLI hub commands).
A new namespace contains My architecture, a starter architecture. It shows you, the CALM CLI, CALM Hub UI and the CALM Hub API, with flows for how you use them. Change it, or replace it with your own.

Interactive Architecture Visualizer
When you select an Architecture or Pattern artifact, CALM Hub renders the model using an interactive canvas.

Canvas Features
- Interactive Elements: Hovering or clicking on a node or edge displays its name, type, and relationships.
- Pan & Zoom: Click and drag the canvas background to pan; use your scroll wheel or the floating bottom-left controls to zoom.
- Minimap: A floating overview panel in the bottom-right corner helps navigate larger diagrams.
- Component Search & Filtering: Filter nodes dynamically using the search bar and type dropdown at the top right of the canvas.
- Details Sidebar: Clicking any component opens a right-hand sidebar displaying its complete metadata, interfaces, and compliance controls. Its Decorators section lists the decorators whose
applies-tocontains the component. - Image Export: The export control (the image icon in the bottom-left diagram controls) saves the whole diagram as an SVG or PNG file, as it is drawn on screen, in the current theme. The image includes the decision overlay and the decorator overlay badges, but not the overlay legend. It is not available on mobile.
Tab Views
- Diagram Tab: The interactive visual representation of the model. Select the arrow on the Diagram tab to choose a lens. Type in the box to filter the list. The tab shows the name of the open lens.
- CALM: the CALM diagram.
- JSON: the raw, validated CALM JSON backing the diagram (
?lens=json). - Under Extensions, the lenses of the enabled extensions, with the extension name. For example, C4, from the C4 model extension, shows the architecture as a C4 model (see C4 lens). The operator installs extensions (see Install an extension).
- Decorators Tab: Lists all decorators of the architecture version, of every type. Each shows its type (or "(no type)"),
applies-to, its created and updated times when Hub returns them, anddata, with links, dates, lists, tables and collapsible nested values. The JSON view shows the decorator as a write takes it, without the Hub-owned times, so you can copy it into aPUT. Filter by type and by$schema. The filters are in the URL, for example?tab=decorators&type=deployment.
An unknown ?tab= value opens the Diagram tab. The old ?tab=deployments link opens the Decorators tab filtered to deployment, and the old ?tab=json link opens the JSON lens. An unknown ?lens= value opens the CALM lens.
C4 lens
The C4 lens of the Diagram tab shows the architecture as a C4 context, container, component or deployment diagram. The CALM C4 standard sets the C4 kind of each node. The lens comes from the C4 extension, so it shows only when the operator installs that extension. On a screen narrower than 1024 pixels, select the lens in the Lens group of the View menu.

- Level and scope: select a level in Level, then the system or container in scope in the list next to it. Click an element to open the next level down. The next level is a
composed-ofchild, or the detailed architecture of the node. The title of the diagram names the systems and containers above the scope. - Selection: click an element to select its CALM node, as on the CALM diagram. A node that you select stays selected when you change the lens, and the lens marks its element with a blue outline. Each lens fits its diagram to the view, so the zoom does not stay.
- Key: the key lists the kinds of element on the diagram. Click a kind to dim it or show it again.
- Notes: the C4 notes panel names the C4 mapping in use, and lists the conflicts with the standard and why an element shows at a different kind than its mapping. Hide closes it.
- Mapping: the lens uses the
c4-mappingdefault convention of the namespace, or of its nearest parent namespace. When no namespace sets one, it uses the default mapping of the standard. When the mapping, or a mapping that it extends, does not load or is not valid, the lens shows the error and no diagram. - Guessed elements: an element with a Guessed badge has a node type that the mapping does not name. Its kind comes from the structure of the architecture. Add the node type to the mapping to fix the kind.
- External elements: a grey element is outside the enterprise or owned by another team. Its badge gives the reason.
The lens, the level and the scope are in the URL, for example ?lens=c4&level=container&scope=trading-system. A link to another version keeps them. The lens draws the decorator overlays (see Overlays on an extension lens). The layout controls, the component search and the version compare use the CALM lens only.
Decorator Overlays
Some decorator types are drawn on the diagram as an overlay. Each node or relationship gets a badge with its status, and a status that needs attention also colours the element: red for an error, amber for a warning. CALM Hub has two built-in overlays, and an extension can add more (see decorator views):
| Overlay | Decorator type | Shows |
|---|---|---|
| Control evaluations | control-evaluation | The latest result of each control: see Control Evaluations |
| Deployments | deployment | The status of the latest deployment, by start-time: completed (OK), pending or in progress (Info), rolled back (Warning), failed (Error) |
The legend at the bottom of the diagram lists each overlay that has decorators on screen, with how many elements show each status. Clear an overlay's checkbox to hide it. On a screen narrower than 1024 pixels, the legend starts closed: tap Overlays to open it. View all opens the Decorators tab filtered to the type and the $schema of that overlay. While the CALM diagram, an extension lens, the Decorators tab or the details drawer is open, they refresh every 5 seconds.

Overlays on an extension lens
An extension lens of an architecture, such as C4 or Layers, draws the same overlays:
- Badges: each element shows the badges of the CALM nodes or relationships that it stands for. An error also gives a node or a group a red outline, and a warning an amber one. A relationship shows the badge of an overlay only when one of its results is an error or a warning. The details of that badge also list its other results.
- Details: click a badge to see up to five results, each with its status and any label or time. The details give the number of the others. For the full list, select View all in the legend, or the View all link under the results.
- Legend: the legend is at the top left of the lens. It uses the choices that you make on the CALM diagram.
- Not shown: when no element of the lens stands for a decorated node or relationship, a notice above the legend says so, for example "Deployments · Built-in: 1 decorated element is not shown." The lens does not move the badge to another element. A
deployed-inorcomposed-ofrelationship counts as its container, as on the CALM diagram. To see the decorators, change the level or the view of the lens, or select View all.
The decision overlay and presentation mode are on the CALM lens only.
Control Evaluations
When a tool checks an architecture's controls, for example a policy engine that checks a change before it merges, it can record each result in CALM Hub as a control evaluation decorator. Each decorator says which control was evaluated, whether it was met, not-met or not-applicable, and, when not met, which checks failed. The format is the control evaluation decorator Standard. The decorator's target is the architecture version, in the form /api/calm/namespaces/{namespace}/architectures/{id}/versions/{major-minor-patch}, and its applies-to lists the nodes and relationships the result is about. Create it with POST /api/calm/namespaces/{namespace}/decorators.
The diagram shows the latest result for each node and relationship of the version on screen:
- Not met: The node gets a red border and a Not met badge. Hover over it to see its latest evaluations, not met first, and what each failed check requires. A relationship is drawn red, arrowheads included, with a Not met label.
- Met: The node gets a Met badge. Hover over it to see who approved the change, when an approver is recorded.
- Containers: A container (a node that other nodes are
deployed-inorcomposed-of) shows the same badge beside its label, and a solid red border when not met. Adeployed-inorcomposed-ofrelationship is drawn as its container rather than as a line, so its results show on the container. - Evaluations panel: The metadata panel below the diagram lists every evaluation of the version, newest first, with the elements it applies to and its findings.
The results refresh every 5 seconds, so a new decision appears without reloading the page.

Decision Overlay
The Show decisions control (the gavel icon in the bottom-left diagram controls) draws each element's latest decision on the diagram, so it can be read without hovering. This is useful when you present the diagram or share your screen.
- Below each evaluated node or container, a callout says Blocked, with each control that was not met, what it requires and the element it is about; Approved by someone, with the control and the short commit; or Met, with the reviewer when one is recorded.
- A relationship that was not met says what it requires beside its Not met label.
The overlay turns on and off with presentation mode (the presentation icon beside it), which makes the diagram text larger for a projector. You can also switch the overlay on or off by itself. The choice is kept for the browser session.

Timeline
The bottom of the visualizer features a collapsible Timeline Bar that represents the history and evolution of the selected architecture or pattern artifact.
How the Hub renders this bar depends on whether the artifact has an authored timeline document or only published versions — see Explicit vs. Implied Timelines for the underlying concept.
Collapsed Mode
By default, the timeline appears as a compact sparkline strip at the bottom of the screen.
- Version Dots: Each version is represented by a dot arranged chronologically (oldest first on the left). The currently active version is highlighted in blue.
- Navigation: Left-click any dot to switch the main canvas to that specific version.
- Date Markers: Release dates or milestone dates are rendered underneath each version dot when configured.

Expanded Mode
Click the chevron button on the right side of the sparkline to expand the timeline.
- Moment Cards: Displays larger card layouts for each version containing titles, release dates, and descriptions of what was introduced in that milestone.
- Baseline Indicator (NOW Badge): Authored timelines feature a NOW badge on the card matching the current production-deployed release.
- Change Log (What Changed): Renders a live-diff table below the cards detailing precisely what components, relationships, or controls were added, modified, or removed compared to the immediately preceding version.

Version Comparison (Compare Mode)
To visually compare how an architecture evolved between any two milestones in its history:
- Right-click the starting version's dot on the sparkline to open the context menu and select Compare from.
- Navigate or right-click the ending version's dot and select Compare to.
- CALM Hub enters Compare Mode, displaying:
- Side-by-Side Diagram Diffs: Shows the baseline version and the comparison version canvases next to each other.
- Color-Coded Canvas Changes: Added items are highlighted in green on the comparison canvas, modified items in blue, and deleted items in red.
- Change Matrix Table: Displays the total changes count split by Node Changes and Relationship Changes, with detailed lists of exact additions and modifications.

Compliance and Controls Deep-Dive
Selecting a control from a Control Domain (e.g. security or ai-governance) displays detailed policy configurations.

Views
- Readable Tab: Parses complex JSON Schema rules into human-readable tables detailing parameter constraints, encryption requirements (e.g. approved TLS versions), and rotation periods.
- Raw JSON Tab: Inspects the raw control requirement schema.
- Configurations & Versions: Toggles between different policy revisions and environment-specific overrides.
Extensions
An operator can install extensions (see Extensions, and the extension tutorial). The UI groups what they add:
- Home page: a card for each extension with a landing card or a top-level page, with its name, provider and a link to each page. A card can also show up to three figures or one line of text. A card without a page has no link.
- Side menu: pages grouped under their extension name, in the same order as the cards.
- Architecture and pattern pages: the Details & extensions handle on the right edge opens the inspector beside the diagram. Its view menu lists Details first, then resource and node views grouped by extension, with a filter when there are more than five extension entries. Select one view at a time; its extension's actions stay with it. Actions run only here, with the architecture's or pattern's context. An action or view that needs a selected node shows a hint until a node is selected. Views retain their state without fetching while hidden. The diagram and its selection stay when the inspector opens and closes. On a narrow screen, the inspector fills the screen, and Back to diagram or Escape closes it. A link opens an extension with
?extension=<extension id>. The old?tab=extensionslink opens the inspector on the first extension. Closing the inspector or selecting another node keeps the open extension and its chosen view. - Diagram overlays: each extension has a colour marker on its badges and legend rows. Click a node's badge to see what it means.
A link in an extension can open an exact architecture version, with a node selected, or an extension screen for an architecture. The page that it opens shows Back to <page>, which returns to the list or architecture that you came from, with its filters, page and selected node. Back, Forward and a refresh keep this link; a copied link does not have it. If the link names a node that is not in the version, or an extension that is not enabled, the page says so and shows the rest. See Extension navigation.
Chat
An extension can add a chat with an assistant. The operator chooses one chat provider for the CALM Hub. With no chat provider, the UI shows no chat.
- Chat page: the side menu, the home page card of the extension and the Details view of the inspector link to the chat page,
/chat, with the name that the extension gives its chat. The operator can also make it the start page. Type a question and select Send. Stop ends a reply and keeps its text. Retry sends the question again after a reply that stopped or failed. The links under a reply are its sources. A link to a CALM Hub page shows Back to the chat on that page. - Share an architecture: when you open the chat from the Details view of an architecture or a pattern, tick Share to send that version, and the selected node, with your messages. The box starts clear. Without it, the provider gets only your messages.
- Search page: when you submit a search, CALM Hub also sends the query, and nothing else, to the chat provider. The search box names the provider while you type, and sends nothing to the chat provider until you submit. Assistant answer shows above the results, which do not wait for it. You can ask a follow-up there. A new search starts a new conversation.
- Search links: a search URL asks the assistant only in a tab that has started no conversation since it loaded and has no draft, such as a new tab or a reloaded page. In another tab, CALM Hub sends nothing, also after New conversation, and the conversation and the draft stay. When the search page does not show the answer for its query, select Ask <provider> to send the query.
- Your data: the conversation stays in the browser tab until you select New conversation, submit a search, or reload the page. CALM Hub does not store it. The provider can have charges, and can keep the messages under its own retention policy.
Access Control
CALM Hub uses a hierarchical entitlement model to control who can read, write, and administer namespaces. See CALM Hub Entitlements for the full model, worked examples, and API usage.
For extension routes and JSON blocks, see the extension blocks reference.