RD Cortex Console

Shared-memory control plane

Sign in with SSO
or
Use email & API token
RD Cortex
console
Read-only access — you can view every page and control, but only an admin can make changes. Ask an admin to grant you access.
Corpus

Memory at a glance

Loading metrics…
Namespaces

What each space holds

NamespaceDescriptionMemories
Loading…
What Cortex holds, over time i
Memories — Layer 1
Loading…
Facts — Layer 2
Loading…
By tool

Calls, health & latency per tool

ToolCalls Errorsp50p95
Loading…
By type

Memories per type

TypeMemoriesShare
Loading…
By user

Most active users

UserSearchAdd DeleteOther TotalLast seen
Loading…
Architecture

How Cortex works

Data model

How a memory is stored

A memory is the unit of storage — one verbatim item with its provenance. Every memory is filed on three independent axes: a namespace (where it lives), a type (what shape it is), and its topics (what it’s about). The axes are orthogonal — a memory carries exactly one namespace, exactly one type, and any number of topics.

The three axes

Namespace × Type × Topics

Namespace access

Where it lives — and who can read it. The security boundary: recall is scoped to the namespaces you can access, enforced at the database (row-level security).

  • Cardinality: exactly one, required on every memory_add.
  • Kinds: user: (private) · org: (company-wide) · team: (a team).
  • Closed by config — an admin provisions namespaces and grants access.
user:vladimir@…org:rdteam:rd-eng
Type shape

What shape the memory is. A closed, admin-configurable vocabulary the caller picks from — Cortex never classifies. Exposed on every search result and usable as a filter (matched by name only).

  • Cardinality: exactly one, required on every memory_add.
  • The set: the live vocabulary below, each with a description (an admin edits it on the Prompt tab).
  • Stored as metadata.type; a filter, never an access or ranking decision.
Topics subject

What the memory is about. An open, agent-coined organisation axis — free-form slugs, reused across memories. Topics organise and filter; they never grant access.

  • Cardinality: zero or many — a memory can carry several at once.
  • Open — reuse an existing slug (memory_list_topics) before coining one.
  • Powers “list every X” via a facet-fetch over a topic.
github-prspeopledeployments
Anatomy

Fields of a memory

FieldAxis / roleNotes
namespaceaccessWhere it lives; the security boundary. Required.
typeshapeOne of the closed vocabulary (in metadata.type). Required.
topics[]subjectOpen, multi-valued organisation axis.
contentpayloadThe verbatim text (Layer 1).
author · sourceprovenanceWho wrote it (bound to the caller) and where it came from.
created_at · valid_atbitemporalWhen recorded vs. when true — drives currency & supersession.
superseded_bylifecycleSet when the memory is hidden (soft-delete): by the hourly sweep, an editor's Hide now, or memory_delete. It names the newer memory, or the memory's own id after a plain memory_delete. Restore on the Superseded page clears a hide that names a newer memory; a plain delete can't be restored there.
memory_linkssupersessionLinks from this memory to newer ones that replace it, partly update it, or duplicate it, with the judge's confidence and reason (written by cognify). Search flags and demotes a linked memory and shows the newer one. The sweep hides it on a confident duplicate at the next run (one written by the backfill waits the grace), or on a confident replaces after the grace; with the grace set to never, only live duplicates are hidden; partly_updates never hides it. See Memory → Superseded.
metadataprovenanceJSON: type, plus who approved or edited a reviewed memory and which collector wrote it.
content_hashdedupExact-duplicate signal on write.
embeddingvector768-d, backfilled asynchronously for semantic recall.
memory_idsID indexSource-system IDs the text mentions (Linear keys, PRs, Notion pages…), extracted at write time; follow_entity walks them.
pendinglifecycleMemories from a Manual source wait in a separate approval queue and are not searchable until approved. See the Approval Flow tab.

Two layers. The memory above is Layer 1 — stored verbatim and recallable immediately. A background cognify worker distils it into Layer 2: facts (extracted statements) and a knowledge graph (entities + relations), which inherit the memory’s namespace and power multi-hop recall via follow_entity. The same worker then compares the memory with the earlier ones closest to it and writes supersession links when it replaces, updates or duplicates them. See the Architecture tab for the write and search paths.

Approval flow

From sources to AI agents

Scheduled collectors turn new activity in each source into memories. Every source has an approval mode: Auto stores memories as the collector writes them; Manual holds them in the approval queue, unsearchable, until a person with the Editor or admin role reviews, edits and approves them on the Approvals tab. An admin sets the mode per source on the Sources tab; Cortex checks it on every write, so a change applies to the next memory a collector writes.

Supersession

When a newer memory outdates an older one

After a memory is cognified, an external model compares it with the closest earlier memories in its namespace and records a link from each one it outdates. Search acts on a link at once: the older memory is flagged, ranked lower and shown next to the newer one. The hourly sweep then hides some of them, by rule. Editors and admins review every link on the Superseded page.

Recall

Query the memory

Run memory_search exactly as a calling agent would — scoped to the namespaces you can access. Recall-first: leave namespaces blank to search everything you can read.

i i found by i
Searches run here are not counted in Analytics (usage & search-quality metrics) — this is a diagnostic tool, so it doesn't inflate team-usage numbers. It also runs under your console login, not an MCP token.
Results appear here. This is read-only — it never changes stored memory.
Review

Approval queue

Memories from collector sources set to manual approval wait here. They are not searchable until approved. Open one to read and edit it, then Approve to store it as a memory, or Delete to drop it. A deleted item is remembered, so the collector does not queue it again. You see items for the namespaces you can read.

QueuedCollectorNamespaceTypeMemory
Loading…
Review

Superseded memories

When a new memory is written, Cortex checks whether it replaces older ones. A linked memory is still searchable but marked outdated and ranked below its replacement. The hourly sweep then hides confident duplicates at once and confident replacements after 14 days. A partly-updated, low-confidence or reversed link never hides a memory by itself; a later link (say, a newer memory that fully replaces it) still can. Unlink a wrong link, Hide now a correct one, or Restore a hidden memory; every action is recorded under History. You see the namespaces you can read. See the rules as a diagram →

Loading…
Access control

People

A user is one email. They sign in with SSO, a bearer token (the admin-console fallback when SSO is broken or disabled), or both; their role and teams apply to every sign-in method. They reach their own user: space, the company-wide org: space (shared with everyone by config), plus any team they're added to. Manage team membership on the Access matrix tab.

Add user
UserSign-inRole
Loading…
Access control

Service accounts

A service account is a bot or automation, such as a Slack bot, that calls Cortex with its own token instead of a person's sign-in. It reaches only the namespaces you list: no personal space, and the company-wide space only if you list it. Read-only hides the write tools. Tokens expire (90 days by default); regenerate to rotate. It can never use this console. People sign in with SSO on the People tab instead.

Service accountAccessModeToken expiresLast used
Loading…
Access control

Teams

A team is a shared team: namespace; membership is a grant pointing at it. Add or remove members on the Access matrix tab.

Add team team: first member
Loading…
Agent guidance

Guidance by namespace kind

Calling agents get this text for every namespace of the kind (connect instructions, memory_list_namespaces, the namespace-required error), followed by that namespace's own description. {name} and {owner} become the part after the colon, e.g. eng or the user's email.

KindGuidance
Loading…
Access control

Access matrix

Rows are principals, columns are shared namespaces. Click a cell to grant or revoke — the change applies immediately.

Loading…
granted no access
Access control

Authentication

How MCP clients authenticate to Cortex. Changes apply immediately, with no restart — an OAuth config is verified against the provider before it goes live, so a bad setting is rejected and the current mode stays up. Your /admin login is separate, so a change here can never lock you out of this console.

Mode

No authentication. Every request is treated as the local admin identity. For single-user or air-gapped dev only — never expose this on a shared network.

Long-lived bearer tokens, one per person. Issue and revoke them on the People tab — each token maps to a subject and reaches that subject's namespaces via the Access matrix.

Validate JWTs from a standard OIDC provider (Microsoft Entra, Okta, Auth0, Keycloak). Cortex is a resource server — it verifies tokens; the login/redirect flow lives in your provider and the MCP client.

⚠ Google / GCP OAuth is not supported (opaque access tokens, no dynamic client registration, no groups claim). Use Entra, Okta, Auth0, or Keycloak.

Admin console

SSO login

Browser "Sign in with Microsoft" for this console (authorization-code + PKCE). Separate from MCP auth above — it needs a confidential OIDC client with a secret. The username/password admin from docker .env always stays as a break-glass fallback.

Connect instructions

Base system prompt

The guidance Cortex sends every MCP client on connect — how calling agents should use the store. The server appends one line telling the agent to call memory_list_namespaces, which returns the caller's namespaces, their descriptions and the Rules; leave those out here. Claude Code shows at most 4,096 characters of these instructions and cuts the rest. Changes take effect on a client's next connect (/mcp reconnect).

Memory types

Type vocabulary

The shapes a memory can have — the valid values for the type field and the memory_search type filter. Each type has a lowercase-slug name and a one-line description; the description is surfaced to the calling agent (via memory_list_types and the connect instructions) so it picks the right shape without guessing from the name. type is REQUIRED on every memory_add and chosen by the calling agent — Cortex does not classify. Adding a type here makes it available immediately (a caller can use it with no code change). Removing one leaves existing memories with that label untouched (unfiltered search is unaffected); a filter on a removed value fails loudly.

+ Add type
Guardrails

Prompt-injection rules

Guidance returned to every caller who holds a matching namespace, in memory_list_namespaces (agents call it before their first write) and in the error for a write without a namespace. For what a namespace is for, use team descriptions and the guidance by namespace kind on the Teams tab. Scope * applies everywhere; an exact namespace (org:rd) matches only it; a kind:* scope (user:*, team:*, org:*) matches every namespace of that kind.

PriorityScopeText
Loading…
Knowledge graph

ID Extraction

Most memories name a record in another system: a Linear issue, a GitHub PR, a SOC 2 control, a Notion page, a Slack thread, a meeting recording or an email thread. The rules on this page find those identifiers and store each one as a canonical key, such as linear:CLD-205 or gh:rationaldynamics/rd-cortex#147. Memories that share a key are linked by exact match, with no LLM involved.

When rules runOn every memory_add, right after the memory is stored. A change here applies to new memories at once. Reindex applies it to the memories already stored.
What uses the keysfollow_entity("CLD-205") first returns the memories that mention the key (hop 1). It then returns memories that share another key with those (hop 2), before the knowledge-graph walk. A memory listing more than 8 keys is never used as a bridge.
How to check a ruleEach row has a test string. Edit it, then click Test to see the keys the rule extracts. Testing stores nothing, and read-only users can test too.
How a rule works
Pattern
A Go regular expression (RE2 syntax, so no lookahead or backreferences). {linear_keys} stands for the known Linear team keys, which are learned from linear.app URLs. That is why CLD-205 matches and SHA-256 does not.
Key template
The text after kind: in the key. $0 is the whole match, $1 is group 1 and ${name} is a named group. A group made only of digits loses its leading zeros, so AUD-033 and AUD-33 become one key.
Near / Not near
Optional regexes checked in the Window characters before the match. Near must occur there. Not near must not occur between the last Near match and the id, or anywhere in the window if Near is empty. For example, a 24-character hex string counts as a Vanta id only after the word "Vanta".
Scan source
Also scans the memory's source field, usually the URL it came from. Without it, only the content is scanned.
Case
lower, upper, hex (lower case with dashes removed, for UUID-style ids), or dec (each group is a hex number, written in decimal: Gmail API thread id 1a16a6f70170c907 becomes thread-f:1879873474285062407, the form in Gmail links). Leave it empty to keep the matched text as it is.
Boundaries
A match directly preceded by '-', or followed by '-' or by '.' and a digit, is ignored, so X-CLD-5 and CLD-5.2 are not keys.
Built-in
The GitHub rule is written in code because it must work out each repo's owner, and resolves a bare "PR #N" only when exactly one repo is in context. You can switch it on or off and test it, but you can't edit its pattern.
KindRegexTest string Extraction results
Loading…
Collectors

Collector schedule

One daily start time for the whole collector. When enabled, every enabled source below runs once a day at this time (evaluated in the console display timezone), one after another. Disable to pause all scheduled collection.

Run daily at
Collectors

Collector sources

The data sources the collector runner ingests — a name, a target namespace, the MCP tools it may use, and a plain-language scope instruction. Edit them here; the runner reads them over HTTP with its token (no DB access). SINCE in the scope is replaced with the window start. Seed from the shipped file manifests with collect.py --seed.

Loading…
Integrations

MCP connections

Register an outbound MCP server a collector can reach — the client's own data sources, held in this Cortex instance instead of a Claude account. Test connects to it (Cortex as a pure Go MCP client, no Claude) and lists its tools. POC: API-token (bearer) only, stored unencrypted; OAuth is a later phase.

Loading…
Adoption

How the team uses Cortex

Loading usage…
Indexing & embedding

Write path

how memories become searchable
Loading…
Retrieval & ranking

Read path

how a search is answered
Loading…
Recall quality

Search quality vs. corpus size

i

Label-free quality signals from every search — no query text is stored. One point per day; dot size = that day's search count, so a tiny dot is a low-sample day whose average is noisy — don't read a trend from it. The dashed amber line (right axis) is corpus size, so a rising abstention/miss rate alongside it would flag recall drift as the store grows.

Loading…
Retriever attribution

Which retrievers find the results

i

For each ranked result, every retriever that found it. Only it is the share of top-3 results no other retriever found, so it shows what would be lost without that retriever.

RetrieverTop-1 Top-3Top-3, only it
Loading…
Share of top-3 results found, per day
Loading…
Knowledge graph

KG growth over time

i

Cumulative Layer-2 entities (nodes) and relations (edges) the worker has extracted. Flat stretches while memories keep growing can signal the extractor stalling or falling behind.

Loading…
Graph retriever

Graph expansion funnel

i
Loading…
Multi-hop lookups

follow_entity outcomes

i
Loading…
Currency

What fires stale hints

i
Loading…
Layer 2 · cognify

Cognify queue & latency

i

How fast Layer-2 extraction keeps up with writes, one point per minute: enqueued (memories written) vs cognified (facts + KG extracted), with the pending backlog on the right axis. A rising backlog or latency means the local extractor is falling behind.

Loading…
Loading…
By tool

Tool activity over time

Calls per day, by tool
Loading…
Mean latency per day (ms), by tool
Loading…
By user

User activity over time

Search calls per day, by user
Loading…
Add calls per day, by user
Loading…
By source

Memories collected over time

Memories written per day, by collector source — each collector self-registers in the import_runs ledger
Loading…