Skip to Content
DocsCloud OSConstellation

Constellation

Constellation is the knowledge base your AI agents read from and write to. You organise knowledge into projects (with sub-projects as deep as you need), add documents of any kind — notes, Markdown, code, web pages, PDFs, Word files, ZIP archives, whole Git repositories — and Constellation splits them into chunks and indexes them on your node. Agents connect over MCP  with their own token and get exactly the projects and tools you allow.

Open it with g k, from the dock (Work group in Personal mode, next to the AI tools in Server and Cluster mode) or with Ctrl/⌘+K → Constellation. The page lives at /constellation.

Constellation replaces “Notes as MCP memory”. Notes stay your personal notes app, and the old Memory MCP (/mcp, memory_* tools) keeps working, but it is deprecated: connect new agents to Constellation. Moving your notes over takes a minute — see Import from Notes.

Everything stays on your node. Search runs in a built-in engine (no Elasticsearch, no external service). Optional semantic search uses a local embedding model through Ollama; it is off until an administrator turns it on (see Semantic search).

The screen

  • Sidebar — your project tree. Expand and collapse projects, drag a document onto a project to move it, drag a project onto another to make it a sub-project (or onto the top area to make it top-level). The ⋯ menu on a project has New sub-project, Rename, Colour, icon and kind, Move to top level and Delete project. The footer shows the size of the index and the state of semantic search; click it to open the semantic search settings.
  • Header — the project path as breadcrumbs, its name and description (click the description to edit it — agents see it too), and counters: documents, chunks, connected agents and MCP calls in the last 24 hours.
  • Tabs — Library, Connect, Access, Activity and Playground, described below.

Constellation remembers the last project and tab you had open. Esc closes the document preview, then any open dialog.

Concepts

Projects and sub-projects

A project is a node in a tree. Top-level projects can hold sub-projects, which can hold their own sub-projects, up to 8 levels deep. Each project has a name, an optional description, colour, icon and a kind label (shown above the title, for example “Codebase” or “Runbooks”).

Every project has a path built from its slug and its parents’ slugs, for example acme/backend. The path is what agents use to address a project.

When you create a project you can start from a template: Codebase (connect a repo, add ARCHITECTURE and conventions), Product docs (specs, PRDs, decisions), Runbooks (incident and maintenance procedures) or Empty.

Deleting a project deletes its sub-projects and moves all their documents to the Trash.

Documents and URIs

A document belongs to exactly one project. Each document has a URI agents can read directly:

kb://acme/backend/architecture # a whole document kb://acme/backend/architecture#3 # chunk 3 of it kb://acme/backend/context # the project's pinned context

Copy URI in the document preview copies it, so you can paste a precise reference into any agent prompt.

Pinned context

Pin a document (the pin icon in the Library, or Pin to context in the document view) to make it part of the project’s context. The context of a project is its pinned documents plus the pinned documents of every parent project. Agents get it at the start of a session through the kb_context tool and the kb://<project-path>/context resource. The Library shows how many documents are pinned and roughly how many tokens the context costs.

Good candidates: architecture overviews, coding conventions, glossaries, “how we deploy”.

Visible to agents

Every document has a Visible to agents switch. When it is off, the document is never returned to any agent — not by search, read, list or context. You still see and edit it in the UI. In the Library, such documents are marked private.

Versions

Every change to a document’s title or text keeps the previous version (the last 50 per document). Open Versions in the document view and click Restore on any of them; the current text is saved as a new version first, so you can always switch back.

Trash

Deleting a document — from the UI or by an agent — moves it to the Trash (Library → Trash). Agents can’t see trashed documents. You can Restore a document or Delete forever. The Trash is emptied automatically after 30 days.

Adding content

Use the buttons at the top of the Library, or drop files anywhere on the page.

SourceHowWhat happens
NoteNote buttonA new Markdown document opens in the editor.
FilesUpload or drag and dropMarkdown, plain text, code, PDF and DOCX files become one document each.
ZIP / Obsidian vaultUpload or drop a .zipEvery supported file inside becomes a document; folders become sub-projects of the current project.
Web pageLinkThe page is fetched and converted to text. With a crawl depth of 1 or 2, links on the same site are followed too, and each page becomes a child document.
Git repositoryRepoThe repository is cloned and every text file becomes a child document, titled with its path.
Confluence, Notion, GitHub, GitLabConnect a sourcePages, issues, wikis and discussions are synced on a schedule as Markdown documents; deletions upstream move them to the Trash. See Constellation sources and integrations.

Documents that are still being processed show indexing… in the Library; if something fails, the row shows the error in red.

Supported file types

  • Markdown: .md, .markdown, .mdx, .mdown, .mkd
  • Text: .txt, .log, .csv, .tsv, .rst, .adoc, .org, .tex
  • Code and config: Go, Python, JavaScript/TypeScript, Java, Kotlin, Rust, C/C++, C#, Ruby, PHP, Swift, shell, SQL, GraphQL, Protobuf, JSON, YAML, TOML, INI, XML, CSS/SCSS, Vue, Svelte, Terraform/HCL, Nix, Dockerfile and many more
  • Documents: PDF (text layer) and DOCX
  • Archives: ZIP

When you add a link, pick a Crawl depth (only this page, 1 level or 2 levels — links on the same site only) and a Refresh schedule: never (manual), every hour, every 6 hours, every day or every week. Refreshing fetches the page again and re-indexes it if it changed. You can also click Refresh in the document view at any time.

Constellation only fetches public http(s) addresses; addresses on your local network, loopback and link-local ranges are refused.

Git repositories

Connect a repository asks for:

  • Git URL — an https:// URL. Don’t put credentials in the URL.
  • Branch — leave empty for the default branch.
  • Include / Exclude — glob patterns, separated by commas or new lines (for example docs/**, **/*.go and **/testdata/**).
  • Access token (private repos) — a personal access token used to clone. It is stored on this node only.
  • Refresh — how often to sync (every hour by default). Each sync takes a fresh shallow clone of the branch and updates the child documents.

These paths are always skipped, on top of your own excludes: .git, node_modules, vendor, dist, build, target, .next, __pycache__, .venv, coverage, minified *.min.js / *.min.css, source maps, *.lock, package-lock.json and go.sum. Binary files are skipped too.

Repo and crawled-page child documents are read-only in the editor (read-only · synced from the source); change the source and refresh instead.

The document view and editor

Click a document to open a quick preview on the right: title, tags, text, the Visible to agents and Pin to context switches, facts (chunks, reads in the last 7 days, last update), versions, how agents see it as chunks, Test in playground, Copy URI and Move to Trash. Click Open full editor for the full document view at /constellation/doc/<id>, which has a full-screen mode and a full-width option.

The editor saves automatically and re-indexes the document as you go (the status shows saving… → re-indexed). Press Ctrl/⌘+S to save right away.

Modes

  • Visual — a rich block editor.
  • Source — the raw Markdown in a code editor.
  • Split — source and a live preview side by side.

Documents are stored as Markdown, so switching modes never loses formatting.

Blocks and formatting

Type / to open the block menu:

  • Text, headings 1–3, bulleted, numbered and to-do lists, quotes and dividers
  • Tables (3 × 3 with a header row; add and remove rows and columns from the table menu)
  • Code blocks with syntax highlighting and a language picker
  • Callouts — Note, Tip, Warning, Danger (stored as > [!NOTE]-style blocks)
  • Mermaid diagrams — flowcharts, sequences, graphs, rendered live
  • Math — LaTeX blocks and inline math, rendered with KaTeX
  • Images — upload from your device, embed by URL, or just paste an image (images up to 20 MB: PNG, JPEG, GIF, WebP, BMP, ICO, AVIF)
  • Link to document — a [[wikilink]] to another document

Select text for the formatting toolbar (bold, italic, strikethrough, inline code, highlight, link). Markdown shortcuts work as you type: #, ##, ### at the start of a line, -, 1., [ ], > and ```.

Type [[ to link another document; links to documents that don’t exist are marked.

More

  • Outline — the document’s headings, click to jump.
  • Find and replace — Ctrl/⌘+F and Ctrl/⌘+H.
  • Vim keys, Focus and Typewriter modes.
  • Word, character and approximate token counts.
  • Tags: + tag under the title.

Editor shortcuts

KeysAction
Ctrl/⌘+SSave now
Ctrl/⌘+FFind
Ctrl/⌘+HFind and replace
Ctrl/⌘+Z / Ctrl/⌘+Shift+ZUndo / redo
Ctrl/⌘+B / Ctrl/⌘+IBold / italic
Ctrl/⌘+EInline code
Ctrl/⌘+KLink / unlink
/Block menu
[[Link another document
Ctrl/⌘+/Show shortcuts
EscExit full screen, then close panels

Search and the Playground

Constellation’s search engine is built in and runs on your node:

  • Keyword search (BM25) that understands English and Russian word forms, splits camelCase, snake_case, kebab-case and file paths, and ranks matches in titles and headings higher.
  • Semantic search (optional, off by default) with local embeddings — Ollama with nomic-embed-text. New documents are searchable by keyword immediately; embeddings are added in the background.
  • Hybrid (the default) combines both rankings. While semantic search is off, or Ollama or the model is missing, hybrid and semantic queries quietly run as keyword search.

Documents are split into chunks of roughly 350 tokens; Markdown is split by headings and never inside a code block, and code is split at function and declaration boundaries.

Semantic search finds passages by meaning rather than by matching words: every chunk is turned into a vector by a local model, and queries are compared by similarity. It needs Ollama on the node and costs CPU — computing vectors for a big import (Notes, a Git repository) keeps the processor busy for a while — so it is off by default. Keyword search always works.

To turn it on (administrators only):

  1. Install and start Ollama on the AI page (Settings → Components → local AI).
  2. Open the Playground tab (or click the semantic search line in the sidebar footer) and switch on Use semantic search. The switch applies to every user of the node.
  3. If the panel says Model not installed, click Download model (~274 MB). Constellation checks again when the download finishes.

The panel shows the state — Off, Ollama not responding, Model not installed or On — and the progress as “N of M chunks embedded”. Constellation checks Ollama about once a minute; Check again forces a check after you start Ollama. While semantic search is not ready, no text is sent to Ollama and searches don’t wait for it.

To keep the server responsive, vectors are computed in batches with a pause after each one, Ollama is asked to use at most half of the CPU cores (set CONSTELLATION_EMBED_THREADS on the node to change it), and editing a document only re-embeds the chunks you actually changed. A chunk the model keeps rejecting is skipped (counted as skipped) instead of blocking the rest. Turning semantic search off stops the work immediately; vectors already computed are kept in the database for when you turn it back on, but are not used for ranking while it is off.

Calculation speed

While semantic search is on, administrators also see Calculation speed, which sets how hard the node drives Ollama. It applies to the whole node and takes effect on the next batch, without a restart:

SpeedBatchPause after a batchWhat it costs
Gentle (default)8 chunkstwice as long as the batch took, at least 0.5 sOllama works about a third of the time; the server stays responsive, but a big import can take many hours
Normal16 chunksas long as the batch took, at least 0.25 sOllama works about half the time; faster, with a noticeable CPU load
Fast32 chunks0.1 sLoads the server’s CPU almost fully

Switch to Fast for the duration of a big import (a Notes import, a large repository, a bulk upload) and back to Gentle once the progress bar is full.

The Playground tab shows exactly what an agent gets from kb_search. Type a question, pick hybrid, keyword or semantic, and see the ranked chunks with their scores and highlights — or switch to As the agent sees it for the raw response. Use it to check whether the right document comes up before you blame the agent. Test in playground in a document’s preview pre-fills a query about that document. The third view, Context for agent, shows what kb_ask returns for the same question — see Context for agents.

Possibly outdated documents

A runbook that says “renewal is done by RenewCertificate” is only right until someone changes that function. Constellation notices when the code a document talks about changes in a connected repository and marks the document Possibly outdated — for you and for agents, which otherwise trust old descriptions of code.

What counts as a reference. When a document is saved (written in the editor, by an agent, uploaded or imported), Constellation looks for:

  • File paths, optionally with lines: internal/api/router.go, internal/api/router.go:120-140, src/store.ts#L10-L20. A bare file name like router.go only counts inside backticks or with a line number.
  • Symbols in backticks: RenewCertificate, renew_certificate, acme.Renew (package or module + name), UserStore.load or Store::open (type + member). Ordinary words in backticks (config, main, Config) are ignored.
  • GitHub and GitLab file links: https://github.com/acme/app/blob/main/internal/x.go#L5-L9, https://gitlab.com/group/app/-/blob/main/src/a.py#L3-8.

Text inside fenced code blocks is not scanned: snippets there are examples, not claims about a file. Repository files, crawled pages and code documents themselves are not scanned either.

How a reference is matched. Each reference is looked up in the repositories you connected — in any of your projects, preferring a repository in the same project, then one in the same top-level project. Symbols are found by their definition in Go, TypeScript/JavaScript, Python, Rust, Java/Kotlin and C# files. When a name is defined in several places (two NewClient functions, two router.go files) Constellation doesn’t guess; qualify it (a.NewClient, a/router.go). References that match nothing — standard-library calls like fmt.Println, someone else’s code — are simply not tracked and never make a document outdated.

What is checked. For a line range Constellation remembers those lines; for a symbol, its whole definition (the function, method, class or type body); for a bare file path, only that the file exists. Changes to indentation, blank lines and comment-only lines don’t count, and lines that merely moved down because code was added above them are still recognised. Every repository sync checks the references into that repository right away, and a full check runs every 6 hours.

When a document is flagged. If referenced code changed, or the file, symbol or lines are gone, the document view shows a banner — This document may be out of date — listing each reason with the commit it was written against and the current commit, Show change for a short excerpt of the change, and Open code to jump to the code as it is now. The library shows a Possibly outdated badge on the document and a Possibly outdated filter chip whenever the project has such documents; search results in the Playground carry the badge too.

Clearing it. Either edit the document — saving it tells Constellation you’ve brought it up to date, so it re-reads the code as it is now — or click Still accurate if nothing needs to change. Both re-baseline the references at the current commit; a reference whose target is gone stops being tracked.

What agents see. kb_read, kb_search and kb_list_documents mark such documents for agents with a one-line warning, plus stale: true and stale_reason in the JSON part, so the agent checks the code before relying on the text:

> ⚠ possibly outdated: `RenewCertificate` (pkg/acme/renew.go) changed since 1a2b3c4, now 9f8e7d6 — verify against the source

Documents that reference no code get no age-based warning: “not edited for a long time” alone says nothing about whether a description is still right.

Connecting agents

The Connect tab gives you a ready-to-paste command or config for your client.

  1. Pick the MCP client: Claude Code, Codex CLI, Cursor, Claude Desktop, VS Code, Gemini CLI, Windsurf or Any client.
  2. Choose Access (Read only or Read & write), Reach (This project — the current project and its sub-projects — or All projects), and whether the token goes into an Env variable or Inline.
  3. Optionally adjust Tools this token can call and Manage projects.
  4. Click Create token for …. The command now contains the real secret. The secret is shown only once — copy it now.
  5. Run or paste it, restart the client if it needs it, and ask something like “Search acme-backend for how nodes authenticate”. The call shows up in Activity.

The endpoint is https://<your-node>/mcp/kb for all projects, or https://<your-node>/mcp/kb/<project-path> for one project and its sub-projects. The server name is quazzar-<project-path> (for example quazzar-acme-backend) or quazzar-kb for all projects. The node serves it over HTTPS through Caddy, and it works from outside your network through the Public Tunnel.

Constellation is also a module of Agent access — the unified endpoint https://<your-node>/mcp/os. There, one qos_… token gives an agent your knowledge base together with your files, tickets and docs. It serves the same kb_* tools; you pick the levels (read, write, delete, manage projects), an optional project scope and a default project in Settings → Agent access. The Connect tab links there. Use /mcp/kb when the agent only needs the knowledge base, /mcp/os when it should work across the OS.

The examples below use the project acme/backend on https://quazzar.example.com. The Connect tab fills in your own address, path and token.

Claude Code

export QUAZZAR_KB_TOKEN=qkb_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX claude mcp add --transport http quazzar-acme-backend https://quazzar.example.com/mcp/kb/acme/backend \ --header "Authorization: Bearer $QUAZZAR_KB_TOKEN" # check: claude mcp list

With Inline, the export line is dropped and the header carries the token itself. No restart needed.

Codex CLI

With an env variable, add the server with one command:

export QUAZZAR_KB_TOKEN=qkb_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX codex mcp add quazzar_acme_backend --url https://quazzar.example.com/mcp/kb/acme/backend --bearer-token-env-var QUAZZAR_KB_TOKEN # keep QUAZZAR_KB_TOKEN exported in your shell profile

…or put the same thing in ~/.codex/config.toml:

[mcp_servers.quazzar_acme_backend] url = "https://quazzar.example.com/mcp/kb/acme/backend" bearer_token_env_var = "QUAZZAR_KB_TOKEN"

With Inline, there is only the config file form, with the token in a header:

[mcp_servers.quazzar_acme_backend] url = "https://quazzar.example.com/mcp/kb/acme/backend" http_headers = { Authorization = "Bearer qkb_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }

Codex server names use underscores. No restart needed — new sessions pick it up.

Cursor

Click Add to Cursor to install it through a deep link, or add it to .cursor/mcp.json:

{ "mcpServers": { "quazzar-acme-backend": { "url": "https://quazzar.example.com/mcp/kb/acme/backend", "headers": { "Authorization": "Bearer ${env:QUAZZAR_KB_TOKEN}" } } } }

With Inline, the header is "Bearer qkb_…". Reload Cursor afterwards.

Claude Desktop

Claude Desktop talks to remote servers through mcp-remote (needs Node.js). Add this to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

{ "mcpServers": { "quazzar-acme-backend": { "command": "npx", "args": [ "-y", "mcp-remote", "https://quazzar.example.com/mcp/kb/acme/backend", "--header", "Authorization:Bearer ${QUAZZAR_KB_TOKEN}" ], "env": { "QUAZZAR_KB_TOKEN": "qkb_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" } } } }

With Inline, the token goes straight into the header and there is no env block. Restart Claude Desktop.

VS Code

Click Open in VS Code, or run:

code --add-mcp '{"name":"quazzar-acme-backend","type":"http","url":"https://quazzar.example.com/mcp/kb/acme/backend","headers":{"Authorization":"Bearer ${env:QUAZZAR_KB_TOKEN}"}}'

Reload the window afterwards.

Gemini CLI

export QUAZZAR_KB_TOKEN=qkb_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX gemini mcp add --transport http quazzar-acme-backend https://quazzar.example.com/mcp/kb/acme/backend \ -H "Authorization: Bearer $QUAZZAR_KB_TOKEN"

No restart needed.

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{ "mcpServers": { "quazzar-acme-backend": { "serverUrl": "https://quazzar.example.com/mcp/kb/acme/backend", "headers": { "Authorization": "Bearer ${env:QUAZZAR_KB_TOKEN}" } } } }

Reload Windsurf afterwards.

Any other client

Any client that speaks MCP over Streamable HTTP needs two things:

URL https://quazzar.example.com/mcp/kb/acme/backend Header Authorization: Bearer qkb_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

A client that only supports stdio can be wrapped: npx -y mcp-remote <URL> --header "Authorization:Bearer <token>". The server also supports the legacy SSE transport for older clients.

Tokens and permissions

Every agent gets its own token (qkb_ followed by 32 characters). Tokens are stored hashed on the node; the secret is shown only once, when you create it. Separate tokens let you see which agent did what and revoke one without touching the others.

Each token has:

  • Access — Read only or Read & write. Write tools are never available to a read-only token.
  • Projects (reach) — one or more projects, or all projects. A token for a project also reaches all of its sub-projects, including ones created later. An agent connected to /mcp/kb/<project-path> works inside that project by default and can’t reach anything outside it, even if its token could.
  • Tools — a per-tool switch list. Tools you switch off are neither listed nor callable.
  • Manage projects — lets the agent create, rename, move and delete projects.
ToolWhat it doesRead onlyRead & writeAlso needs
kb_searchHybrid keyword + semantic search, ranked chunks✓✓
kb_askContext for a task in one call, packed into a token budget (details)✓✓
kb_readRead a document or a chunk range (chunks: "3-5") by URI; a document read also lists its links and backlinks✓✓
kb_list_documentsList documents in a project✓✓
kb_list_projectsList the project tree with paths✓✓
kb_contextPinned context of a project and its parents✓✓
kb_list_templatesList document templates (details)✓✓
kb_writeCreate or replace a document✓
kb_appendAppend to a document, creating it if missing (agent journals)✓
kb_log_sessionLog a work session: summary, decisions, files, outcome (details)✓
kb_updateRetitle, tag or pin a document✓
kb_moveMove a document to another project✓
kb_deleteMove a document to the Trash✓
kb_create_projectCreate a project✓Manage projects
kb_update_projectRename or move a project✓Manage projects
kb_delete_projectDelete a project✓Manage projects and kb_delete allowed

New tokens get every read tool plus kb_write, kb_append, kb_log_session, kb_update and kb_move; switch on kb_delete and the project tools when you want an agent to have them. Agent writes are attributed to the token (by an agent in the document view) and every change keeps a version, so you can undo an agent’s edit from Versions.

The Access tab

Access lists every token: name, client, scope, projects, when it was last used and a 7-day call chart. From here you can:

  • Edit a token’s name, scope, tools, projects and the Manage projects switch.
  • Revoke a token. The agent loses access immediately; other tokens keep working.
  • Create a New token without going through Connect.

A Built-in row marks the token Quazzar uses for Molly.

Sharing projects

A project belongs to the person who created it, but you can share it with other users of the same node. Open the project and click Share in the header (or Share… in the project’s menu in the sidebar), find people by name or e-mail, pick a role and click Add.

RoleCan do
Can view (viewer)Read documents and their versions, search, Playground and kb_ask, links, graph, export
Can edit (editor)Everything a viewer can, plus create, edit, move and delete documents, upload files, restore from the Trash, add sub-projects (and rename or delete the sub-projects inside the shared project)
OwnerEverything, including renaming, moving or deleting the shared project itself and deciding who it is shared with
  • Sharing covers the whole sub-tree. Sharing a project shares all of its sub-projects, including ones added later. A sub-project can be shared with more people (or give someone a higher role), but never less: everyone who can see a project can see everything inside it. The Share dialog lists the people a sub-project inherits from its parents and where that access is managed.
  • Shared with me. Projects others shared with you appear in the sidebar under Shared with me, grouped by owner. An eye badge marks the ones you can only view; in those the library, the inspector and the editor are read-only. Your own shared projects carry a people badge.
  • Paths of shared projects start with @<owner>/, e.g. kb://@alice/acme/backend/notes, so they never clash with your own projects. The owner keeps seeing kb://acme/backend/notes.
  • Who wrote what. Documents show who created them and who changed them last, and every entry in Versions shows its author.
  • Agents get the smaller of two permissions. Your agent tokens (qkb_, and qos_ tokens with the Constellation module) reach the projects shared with you too — “all projects” includes them, or you can pick one in the token’s project list. A token can never do more than your role allows: a read & write token on a project you can only view stays read-only there, and a token limited to one project stays in it.
  • Removing someone takes effect immediately, in the UI, in search and for their agents, and their tokens drop the projects they no longer reach. Members can also leave a shared project from the Share dialog. Deleting a shared project ends all of its sharing.
  • Moves stay within one owner’s projects. Documents and sub-projects can move between projects of the same owner (for editors, between projects they can edit). Moving a document from a shared project into one of the owner’s private projects hides it from the members at once. To take something into your own knowledge base, export it or copy its text.
  • Trash. Documents deleted from a shared project are in the Trash of the owner and of every editor; viewers don’t see them.
  • What stays personal: templates, search gaps, connectors and Activity. A connector writes into a shared project only while its creator can edit it.
  • Notifications. The person you share a project with gets a notification. Node administrators can manage the members of any project (they still can’t read it unless they add themselves).
  • There is no ownership transfer yet: to hand a project over, share it as editor and let the new owner export and re-import it.

Activity

The Activity tab is a live log of every MCP call against the project: time, client and token, tool, the argument (for example the search query or URI), the result summary, whether it succeeded and how long it took. It refreshes every few seconds and can be filtered by token. Call history is kept for 30 days.

Session memory

At the end of a meaningful piece of work — a feature, a fix, an investigation — an agent calls kb_log_session with a summary, the decisions it made and why, the files it touched and the outcome. Constellation stores that as a session document, so the next session (of the same agent or another one) can find what was done with kb_search or kb_ask instead of starting from zero. The server’s instructions ask agents to do this, and to look for earlier sessions before starting related work.

  • The title is the date plus the first sentence of the summary, for example 2026-10-20 — Replaced the polling loop with a websocket. The body has Outcome, Summary, Decisions and Files sections and names the token that logged it.
  • Every session is tagged session (plus any tags the agent passes), is visible to agents and keeps versions like any other document.
  • Where it goes: when the agent names a project, there. Otherwise into a Sessions sub-project of the endpoint’s project (/mcp/kb/<project-path>) or of the token’s default project, created the first time it is needed. A token that reaches exactly one project uses that project’s Sessions sub-project; an all-projects token without a default uses a top-level Sessions project. A token that reaches several projects and has no default must pass project. Searching a project includes its sub-projects by default, so sessions stay findable without crowding the project’s own documents.
  • In the Library, sessions have their own icon and a session badge, and the Sessions chip shows only them.

Logging a session needs a Read & write token; creating the Sessions sub-project does not need Manage projects.

Context for agents

kb_ask gives an agent the background for a task in one call instead of a kb_search followed by several kb_read calls. It searches (the project and its sub-projects by default), then packs the best chunks into a token budget (4,000 by default, 200 to 16,000):

  1. Chunks are taken best first as long as they fit; one that doesn’t fit is skipped, and a smaller one further down can still go in.
  2. Near-identical chunks — the same README in two repositories, a page crawled twice — are included once.
  3. Neighbouring chunks of the same document are merged into one block, without the overlap between them.
  4. Documents are ordered by their best match, and blocks inside a document by position.

The result is compact Markdown: one section per block with its kb:// citation (for example <!-- kb://acme/backend/auth#3 · chunks 3-5 -->), followed by a numbered Sources list. When nothing relevant exists, it says so — and the query is recorded as a gap.

In the Playground, the Context for agent view shows exactly what kb_ask returns: move the Token budget slider and watch the token counter, copy the Markdown, or open a source. The same context is available over REST as POST /api/constellation/ask.

Document templates

Start new documents from a structure instead of a blank page. Built-in templates:

TemplateidFor
Architecture decision recordadrOne decision: context, decision, alternatives, consequences
RunbookrunbookHealth checks, procedures, rollback, escalation
PostmortempostmortemBlameless incident review with a timeline and action items
Service overviewservice-overviewWhat a service does, its architecture, interfaces and how to operate it
Meeting notesmeeting-notesAttendees, agenda, decisions, action items
How-to guidehow-toStep-by-step instructions with prerequisites and verification
  • In the Library, click From template, pick Blank note, a built-in template or one of Your templates, type a title and check the Preview before you click Create document.
  • Save any document as a template with the template button in its preview panel. Its title, text and tags are copied; write {{title}} and {{date}} in the text to have them filled in when a document is created from it. Delete your own templates from the template picker.
  • Agents list templates with kb_list_templates and pass template (an id such as adr, or a template name) to kb_write. Without a body, the document starts from the template; the template’s tags are added either way.

Your templates are kept separately from documents: they never show up in search, in a project’s context or to agents as knowledge.

Gaps

The Gaps section at the top of the Activity tab shows what agents asked for and found nothing — the knowledge that is missing. Every search through kb_search, kb_ask or the Playground that returns no results, or only weak matches, is recorded with the query, the project, who asked (token name, or you) and when.

  • Searches that differ only in word forms and order (deploying the ingress, ingress deploy) are grouped, with how many times they were asked and when last.
  • A match counts as weak when the best chunk covers less than about a third of what the query asks for — typically only its common words, while the distinctive term appears nowhere — and, with semantic search on, its meaning is not close either.
  • Agents only (on by default) hides your own Playground searches.
  • Create document opens the new-document picker with the query as the title; once the document is created, the gap is dismissed. Dismiss hides a gap until someone asks for it again.
  • A search made without a project (an all-projects token) shows up under every project. Gaps are kept for 90 days.

Import from Notes

If your agents used Notes through the old Memory MCP, copy those notes into Constellation. Your notes stay in Notes; Constellation gets copies.

  1. Open Library → Import from Notes (or, in Notes, use the Move to Constellation banner or bulk action).
  2. Pick the notes: search, filter by Folder or Namespace, or Select all. Notes that were already imported are marked imported.
  3. Choose Where they go:
    • One project — everything goes into the project you pick (or a new top-level Notes project).
    • Project per namespace — each MCP namespace becomes a project (inside the project you pick, or at the top level). Notes without a namespace go to the target project.
    • Namespace → folder — as above, and each note’s folder path becomes nested sub-projects.
  4. Optionally add Extra tags for every imported document (for example imported, notes).
  5. Click Import. The result shows how many notes were imported and skipped and how many projects were created.

Imported documents keep the note’s title, text, tags and creation date and are marked imported from Notes. Running the import again is safe: notes that were already imported are skipped.

Notes that were Private in Notes (the private tier or a #private tag) are imported with Visible to agents turned off. Everything else is visible to agents; turn the toggle off on any document you want to keep to yourself.

Documents link to each other with [[Title]] wiki links (type [[ in the editor to pick a document), kb://project/path/doc URIs, Markdown links to .md files ([the API](../api/routes.md), as in an imported ZIP or Obsidian vault) and links to a document page (/constellation/doc/<id>). Constellation keeps an index of every link and updates it each time a document is saved or imported.

  • Linked from — at the bottom of the full document view and in the preview: every document that links to this one, with its project and the line that holds the link. Click one to open it.
  • Links to — the documents this one links to. A link that doesn’t match any document is shown in red as a broken link; it fixes itself as soon as a document with that title (or file name) is created, renamed or restored from the Trash.
  • Links are stored by document, not by name: renaming or moving a document keeps every link to it working, and clicking an old [[Old title]] link still opens it.
  • When a title exists in several projects, a wiki link goes to the one closest to the linking document (the same project first, then its neighbours).

Agents see links too: kb_read lists a document’s outgoing links and backlinks with their URIs. Documents hidden from agents, or in projects the token can’t reach, never appear in those lists.

Graph

Library → Graph (the icon next to the list icon above the documents) draws the knowledge base as a star map: every document is a star coloured by its project and sized by its number of links, and the links between documents are the lines of the constellation.

  • This project / Whole knowledge base — what to map. With This project, the Include sub-projects switch of the Library applies.
  • Find a document dims everything that doesn’t match; the type chips and the tag filter hide what doesn’t match.
  • Highlight orphans rings documents that have no links in or out in amber and dims the rest; Only orphans shows just those — good candidates to link up or clean out.
  • Hover a star to see its title, project and links (its neighbours light up); click it to open the document. Scroll to zoom, drag to pan, Fit frames everything. A small red dot marks a document with broken links.

The graph is drawn on a canvas and stays smooth with a few thousand documents; for very large knowledge bases it shows the 5,000 most recently updated documents.

Quick capture

Save to Constellation keeps a piece of text from anywhere in Cloud OS as a Markdown document:

  • press Ctrl/⌘+Shift+X on any page — with text selected, the selection is captured;
  • or open the command palette (Ctrl/⌘+K) → Save to Constellation;
  • or select text in the Terminal window or in a log viewer (Logs page, an app’s logs) and click the Save to Constellation chip that appears next to the selection.

The dialog is prefilled with the selection (terminal and log text is kept as a code block), a title from its first line, where it came from (the window or page and its URL) and the tag capture. Pick the project — Constellation remembers the last one — add an optional note and tags, and press Save (or Ctrl/⌘+Enter). The document ends with a “Captured from …” line linking back to the page, and its source is shown in the Library.

Export

Export… in a project’s ⋯ menu, in the Library toolbar, or Export knowledge base… at the bottom of the sidebar downloads a ZIP:

  • one .md file per document with YAML front matter — title, type, tags, created, updated, source, uri (and pinned, visible_to_agents: false when they apply);
  • a folder per sub-project (switch off Include sub-projects to export only the project’s own documents);
  • the images used by the documents in _assets/, with the documents pointing at them.

Pick the format:

  • Markdown — files named by slug, folders mirror the kb:// paths, links stay as written.
  • Obsidian vault — files and folders named after document titles and projects, and every link that points to an exported document is rewritten to [[Title]], so Obsidian’s graph and backlinks work right away.

Uploading the ZIP back (Library → Upload) re-creates the same documents — the front matter restores the title, tags, type, pin, agent visibility and creation date, and links between the imported documents point at each other. Images in _assets/ are not uploaded back; they stay in the ZIP for use in other tools.

Limits

WhatLimit
Project depth8 levels
Document text (written in the editor or by an agent, or extracted from a file)5 MB
Uploaded file50 MB
ZIP archive2,000 files, 20 MB per file, 200 MB unpacked
PDFtext layer only (no OCR), up to 5,000 pages
Image in a document20 MB
Web page10 MB per page, 30 s timeout
Crawldepth 0–2, same site only, at most 50 pages
Git repository5,000 files, 1 MB per file, https only
Versionslast 50 per document
Search resultsup to 100 per query (10 by default)
Trash, call log30 days

Troubleshooting

The agent says it is unauthorized (401)

The token is wrong, revoked or expired. Check it in Access. With Env variable, make sure QUAZZAR_KB_TOKEN is exported in the shell (or profile) the client starts from — Codex and Claude Code read it at launch. Create a new token from Connect if you lost the secret; secrets can’t be shown again.

The agent can’t find a project or a document

  • The token’s reach doesn’t include that project. Edit the token’s projects in Access, or connect the agent to /mcp/kb instead of a single project path.
  • The document has Visible to agents turned off, or it is in the Trash.
  • The document is still indexing…, or indexing failed (the Library row shows the error).

Try the same query in the Playground — it returns exactly what the agent gets.

A write tool is missing

The token is Read only, or that tool is switched off in the token’s tool list. Project tools also need Manage projects. Edit the token in Access; the agent sees the change on its next tool list.

”Options changed since this token was created”

You changed the access, reach or tools in Connect after creating the token. The shown command no longer matches the token; create a new one to apply the options, or edit the existing token in Access.

Semantic search is off

The sidebar footer tells you why:

  • semantic search off · keyword search only — it has not been turned on. An administrator can switch it on in the Playground tab (Semantic search).
  • semantic search · Ollama not responding — Ollama is not installed, stopped or busy. Start it on the AI page, then click Check again.
  • semantic search · model not installed — click Download model (~274 MB) in the semantic search panel, or pull nomic-embed-text on the AI page.

Existing chunks are embedded in the background once it is ready. Keyword search works the whole time.

The server is slow while Constellation is embedding

Embedding a large backlog is CPU work, even throttled. First check Calculation speed in the semantic search panel: set it back to Gentle if it was left on Fast or Normal. Beyond that, lower CONSTELLATION_EMBED_THREADS (for example to 1) and restart the node, or turn semantic search off until the backlog matters.

A web page or repository fails to index

  • The address is on a private network or loopback — Constellation only fetches public addresses.
  • The repository URL isn’t https, or it includes credentials. Put a token in Access token instead.
  • A private repository needs an access token with read access.
  • The page or files are over the limits.

A PDF has no text

Scanned PDFs without a text layer show “no extractable text”. Constellation does not run OCR; convert the PDF with an OCR tool first.