Service Catalog
The Cognipeer UI is driven by two declarative JSON files. Together they define which third-party services the provider picker can offer, and which Cognipeer modules show up in the dashboard navigation. Editing them is the easiest way to extend the surface without touching React or routes.
| File | Purpose |
|---|---|
src/config/service-catalog.json | Third-party services Cognipeer can integrate with (LLM providers, vector stores, file backends). Drives the provider picker, brand swatches, and search. |
src/config/platform-services.json | First-party Cognipeer modules (Models, Prompts, Knowledge Engine, Cluster, …). Drives the left menu, the home page, the command palette and the breadcrumbs. |
Both files are schema-validated (service-catalog.schema.json and platform-services.schema.json sit next to them). Validation runs as part of the build — invalid entries fail the type-check, not at runtime.
The platform-services.json entries are what the left menu lists: every service the person can open, under Build, Data and Operate, with NEW badges. Entries marked settings are listed under Settings instead, grouped as Workspace, Identity & access, Governance and Platform. The same entries feed the "Your services" block on the home page and the search in the Command Palette.

service-catalog.json
Each entry describes one external service Cognipeer knows how to talk to:
{
"id": "anthropic",
"driver": "openai-compatible",
"name": "Anthropic",
"tagline": "Claude 4 family via OpenAI-compatible endpoint",
"description": "Claude Opus, Sonnet and Haiku connected through the OpenAI-compatible adapter.",
"domains": ["model"],
"color": "#cc7d4f",
"tags": ["popular", "tools", "long-context"],
"aliases": ["claude", "haiku", "sonnet", "opus"]
}| Field | Meaning |
|---|---|
id | Catalog id — what UI code references. |
driver | The backend driver this service maps to. Multiple catalog entries can share a driver (e.g. Anthropic, Groq, DeepSeek all use openai-compatible). |
domains | One or more of model, embedding, vector, file, datasource. Used by the provider picker to filter cards by what the user is creating. |
color | Brand hex for the swatch. |
glyph | Optional mark of one to three characters shown in the swatch (for example S3). Without it the swatch shows the first letter of the name. |
tags | Free-form filter chips: popular, enterprise, managed, self-hosted, open-source, tools, default, dev, edge. |
aliases | Extra search keywords — typing "claude" finds the Anthropic entry. |
Lookups go through src/lib/services/serviceCatalog.ts:
findServiceById(id)— direct lookup.findServiceByDriver(driver, domain?)— canonical entry for a backend driver, optionally filtered by domain.resolveServiceCatalogEntry({ driver, domain, serviceId, key, label })— best-match resolver used when persisting providers (triesserviceIdfirst, then key/label normalization, then falls back to driver).filterServiceCatalog({ domain, query, tag })— drives the picker grid.
To add a new third-party service: add the entry, pick the right driver (or add a new one under src/lib/providers/contracts/ first), and the picker will surface it on next build.
File storage entries
File backends are catalogued the same way. Five entries cover the file drivers, and the aliases are what make a search for a product name land on the right card:
| Catalog entry | Driver | Found by |
|---|---|---|
| Amazon S3 | aws-s3-files | s3 |
| S3-compatible storage | s3-compatible-files | minio, ceph, rgw, seaweedfs, garage, r2, cloudflare-r2, wasabi, storagegrid, s3-compatible, object-storage |
| Azure Blob Storage | azure-blob-files | blob, azure-blob, azure blob storage, azure storage, azurite, adls, data lake |
| MongoDB GridFS | mongodb-gridfs-files | gridfs, mongo-files, mongodb-files |
| Local filesystem | local-filesystem | disk, local, builtin |
The S3-compatible entry, abridged:
{
"id": "s3-compatible-files",
"driver": "s3-compatible-files",
"name": "S3-compatible storage",
"glyph": "S3C",
"tagline": "MinIO, Ceph, SeaweedFS, Garage, R2, Wasabi and other S3 APIs",
"domains": ["file"],
"tags": ["self-hosted"],
"aliases": ["minio", "ceph", "rgw", "seaweedfs", "garage", "r2", "cloudflare-r2", "wasabi", "storagegrid"]
}Several products share one driver, as the model providers do: Cloudflare R2, Wasabi and MinIO are all stores with an S3 API at their own endpoint, so they are one card. See Files for what each driver asks for.
platform-services.json
Each entry describes a Cognipeer module:
{
"id": "reranker",
"href": "/dashboard/reranker",
"icon": "IconArrowsSort",
"category": "data",
"navLabelKey": "reranker",
"navDescriptionKey": "rerankerDescription",
"tags": ["rerank", "retrieval", "ranking"],
"docsPath": "/console/guide/models/reranker",
"searchKeywords": ["rerank", "cohere", "jina", "voyage", "cross-encoder"],
"badge": "new"
}| Field | Meaning |
|---|---|
id | Service id. Must match a permission service key (or be services-home). |
href | Destination path, starting with /dashboard. |
category | build, data, operate, admin — the group the service is listed under in the left menu (Build, Data, Operate) and on the home page. Order comes from categories.order. admin entries are Settings pages and carry settings: true. |
navLabelKey / navDescriptionKey | i18n keys resolved via src/lib/i18n/messages/{en,tr}.ts. |
docsPath | Required. The service's page on the docs site, for example /console/guide/models/model-hub. It is what the Documentation button opens while the service is active. A trailing slash is a section index; an #anchor opens a section. Every path is checked against the docs pages. |
icon | Tabler icon name. |
searchKeywords | Tokens the command palette will match against (multi-language). |
settings | Optional. Lists the entry under Settings in the left menu instead of under a service category. |
permission | Optional. The permission service that gates the entry when it differs from id (the Usage page is gated by license). |
requiresEnterprise | Optional. Gated to the Enterprise license tier. In the community build the entry is an upgrade placeholder. |
requiresOnPrem | Optional. Offered only on on-prem deployments (for example Cluster and LDAP). |
requiresPlanUsage | Optional. Offered only when plan limits are active on the deployment (hosted deployments), for example Usage. |
defaultPinned | Optional. No longer pins anything: with the single menu, Favorites start empty and each person pins their own. |
popular | Optional. Marks the service as popular. |
badge | Optional. "new" shows a "New" pill. |
tenantAdminOnly | Optional. Hidden for non-admins. |
showInServicesHome | Optional. Set to false to keep an entry out of the home page's service list (used for the services-home entry itself). |
The left menu, TopbarV2, breadcrumbs, the home page, and the Command Palette all read from this file. Adding a new entry is enough to make a new dashboard route discoverable.
How they interact
When the user opens the provider picker, the UI calls filterServiceCatalog({ domain: 'model' }) and renders a card per catalog entry. When the user clicks one, the form posts to the providers API with the catalog id; the backend resolves the canonical entry via resolveServiceCatalogEntry and stores the resulting driver on the provider record.
When the dashboard mounts, the left menu reads platform-services.json, resolves labels through i18n, filters out tenant-admin-only entries for non-admins, and builds the left menu and the command-palette index. There is no separate database registration for first-party services — JSON is the source of truth.

