Share it with your team
Once your knowledge is in a Brain, the point is that everyone — and everyone’s agents — reads the same copy.
Invite people
Section titled “Invite people”From Settings → Members in app.nicia.ai, invite someone by email and pick their role. The form starts at Editor, who can change Brains; Runner and Viewer can read every Brain but change none, and the console offers them no control that writes. Accepting the invite creates their organization membership first, and the Brain access they need is granted against that membership — so the review inbox and connecting an agent both work the moment they accept, with nothing to re-authorize.
Show a colleague a Brain
Section titled “Show a colleague a Brain”There is no public or anonymous view of a Brain, and no link that opens one for someone outside your organization. A colleague needs an account in the organization: invite them as above, then send them the Brain’s console address,
https://app.nicia.ai/knowledge/brains/{id}where {id} is the id that GET /v1/brains/{handle} (or the PUT that
created it) returns in data.brain. The console address is built from that id,
not the handle: the handle is the address on the API and in every MCP URL. To give a colleague’s agent access instead, mint it a
Brain key: see Handing out keys.
What a member sees
Section titled “What a member sees”The Brain has four destinations:
- Home shows what needs review, recent changes and the knowledge the Brain holds.
- Knowledge contains Documents for source material and Records for all populated kinds.
- Review resolves changed grounds, unconfirmed knowledge and disagreements.
- Activity contains Changes, Reads, Imports and Branches.
Use Connect to connect an agent. The workspace menu holds Graph and Settings.
A console address can point inside the Brain. Add tab to open a view and page
to open one record by its id:
https://app.nicia.ai/knowledge/brains/{id}?page={record-id}https://app.nicia.ai/knowledge/brains/{id}?tab=documentshttps://app.nicia.ai/knowledge/brains/{id}?tab=reviewhttps://app.nicia.ai/knowledge/brains/{id}?tab=servedThe tab values are playbook (Handbook), documents, knowledge, sources,
graph, review, changes, served (Reads), automations, agents,
settings and feed. Retained aliases are wiki, pages and branches for
Knowledge; history, activity and versions for Changes; and triggers
for Automations. A value the console does not know opens the default view.
Link to one change
Section titled “Link to one change”Add change with a change’s id to open that change:
https://app.nicia.ai/knowledge/brains/{id}?change={change-id}The id is the one the API gives the change: the id a write, a snapshot or
GET /v1/brains/{handle}/changes returned. You rarely build this link yourself,
because every change on GET /changes and GET /changes/{changeId} carries it
as consoleUrl, and a staged record write carries it as
consoleLinks.proposal beside consoleLinks.accepted, the record’s own page.
The MCP save, import and delete tools answer the same links as url and
proposalUrl, and send them as resource links a client can show the person. The console opens the change wherever it is:
- Applied: Changes, with the change’s details open. A change that wrote several records opens on the first of them. A change that touched only the Brain’s schema or its source documents has no record entry, and Changes says so.
- Staged: Review, scrolled to the change’s card and outlined.
- Rejected or superseded: Review, with a note that the change has left the queue. A rejected change never reaches Changes.
- Not found: the tab you asked for (Changes when you named none), with a note that the change was not found. That is what a mistyped id or a change from another Brain shows.
Who can see a Brain created over the API
Section titled “Who can see a Brain created over the API”A Brain created with an organization key belongs to a project in that
organization: the project the key’s requests land in. That is the
organization’s default project, unless the request names another with an
x-project-id or x-project-slug header. Every member of the organization can
open the Brain in that project. A member whose console is set to a different
project does not see it in their Brain list, and its console address does not
open it, until they switch to the Brain’s project.
Connect all your Brains at once
Section titled “Connect all your Brains at once”If you have more than one Brain (a personal one and a family one, or a company one and your own), add the account URL to claude.ai, ChatGPT or any MCP client that speaks OAuth:
https://api.nicia.ai/mcp/brainsYou sign in once. The consent screen lists every Brain you can reach, grouped by organization and all checked; uncheck any you do not want this client to use. For each Brain you keep, you also choose whether search reads it by default: a Brain left out of the default set is still connected, and an agent reaches it by naming it. There are no account-level API keys: the account URL is OAuth only.
- Ids say which Brain they live in. Search results come back as
family/dentist-visit, the Brain’s handle then the record id. Pass that id tofetch,saveordeleteand the Brain is read from it. searchreads the default Brains unless you passbrainwith one handle, orbrain: "all"for every connected Brain. When it skips a Brain, itsnotesname the Brain and how to reach it. Each result says which Brain it came from.- The agent can see what it is connected to. Every
searchanswer lists the connected Brains (handle, name, organization, purpose, read or read and write, and whethersearchreads it by default), andfetchwith the idbrainsreturns the full list. - A new record names its
braininsave. It can be left out only when exactly one of the connected Brains can be written to, or when the record’sidor label already lives in one Brain. - A link cannot cross Brains. A link from a record in one Brain to a record in another is left off, and the answer says so.
- Change a connection without signing in again. Settings → Connected apps in app.nicia.ai lists every client you connected, with its Brains. Removing a Brain takes effect on the agent’s next call. Changing which Brains
searchreads by default does too. Adding a Brain takes effect when the client next refreshes its token, usually within the hour; a client that holds no refresh token picks it up when it signs in again. Revoke ends the connection, and the client has to sign in again. - Revoking one Brain’s connection removes only that Brain. Revoking the client’s key on that Brain’s key list still works, as for any key.
Connect Claude Code, Codex, Cursor, or any MCP client to one Brain
Section titled “Connect Claude Code, Codex, Cursor, or any MCP client to one Brain”Every Brain also has its own MCP endpoint, addressed by its handle. Use it with a key, in a pipeline, or for an agent that serves a single purpose:
https://api.nicia.ai/mcp/brains/{handle}There are two ways to sign in to it.
In a browser. Paste the URL into a client that speaks MCP OAuth and it opens
a browser to sign in as you. Nothing you paste is a secret. The access token the
client receives is scoped to this Brain, carries read and write, expires on its
own, and appears in the Brain’s key list under the name the client registered with (for
example Claude Code), where you can revoke it like any other key.
With a key. Open the Brain in app.nicia.ai and press Connect. The dialog mints a key scoped to exactly this Brain and shows the credential once. Copy it before you close the dialog — it is not shown again, and the fix for a lost one is to rotate the key, not to look it up. A headless or CI client cannot open a browser, so this is its path.
The key is a secret; the URL is not. Keep the key in your environment rather than in the config file, so the file stays safe to commit and to share with a teammate who has their own key.
Claude Code — add to .mcp.json:
{ "mcpServers": { "nicia-brain": { "type": "http", "url": "https://api.nicia.ai/mcp/brains/{handle}", "headers": { "Authorization": "Bearer ${NICIA_BRAIN_TOKEN}" } } }}Codex — add to ~/.codex/config.toml or .codex/config.toml:
[mcp_servers.nicia_brain]url = "https://api.nicia.ai/mcp/brains/{handle}"bearer_token_env_var = "NICIA_BRAIN_TOKEN"Cursor — add to ~/.cursor/mcp.json:
{ "mcpServers": { "nicia-brain": { "url": "https://api.nicia.ai/mcp/brains/{handle}", "headers": { "Authorization": "Bearer ${env:NICIA_BRAIN_TOKEN}" } } }}Any other MCP client — Streamable HTTP against that same URL, sending
Authorization: Bearer $NICIA_BRAIN_TOKEN. Prefer your client’s
environment-backed secret setting over a literal in a config file.
Then export the key and restart the client:
export NICIA_BRAIN_TOKEN="nbk_…"The URL names the Brain the way everything else on this site does, by its
handle. The key in the header decides which Brain it may reach, so a handle that
belongs to some other Brain answers the same 404 as one that does not exist.
To check the key before wiring a client to it, ask for the Brain it opens:
curl --fail-with-body "https://api.nicia.ai/v1/brains/{handle}" \ -H "Authorization: Bearer $NICIA_BRAIN_TOKEN"What an agent can do with it
Section titled “What an agent can do with it”A key is a credential scoped to exactly this Brain. The tools it sees follow
its capabilities: read shows search and fetch, and write on a key for
the main Brain adds save, import and delete. That is the whole surface an agent
needs: find what the Brain knows, read one thing in full, put something in,
and take something out.
| Tool | Does |
|---|---|
search |
Find records and documents by words, or pass only a kind to list its records. Add where (exact values of declared fields) to filter instead of rank. The answer also carries kinds: the fields and links each kind in the results takes. Each result is an id, a title, a url and a few lines of text, including anything unconfirmed or contested. Reads are receipted. |
fetch |
Read one record or document in full by id, with its fields, links and sources. kind:<name> reads what a kind’s records take. |
save |
Put up to 20 records in, each with a kind, a label, fields, links and sources. Answers per record: created, updated, unchanged, retired, waiting for review or not saved. |
import |
Bring existing notes in as documents (up to 8 per call, 200 KB each, 1 MB together): title, text (or the url of a public file, which Nicia fetches and converts in the background) and optionally path or id. The address is the id, else the path, else a slug of the title and a hash of the text, and it is the id fetch takes. Answers per note: created, updated (same address, new text), unchanged or not imported with the reason, and whether search finds it yet (ready or indexing; fetch reads it at once). It makes documents, not records: use save to record facts that cite them. An account connection names the brain when it may write several. |
delete |
Remove a record by id. To correct or retire a record, use save instead. On a reviewed Brain, or from an agent, it normally waits for a person: the answer is waiting for review. |
There is no tool that approves a change. An agent proposes; a person decides.
There is also no tool that writes an answer for you: search hands your
agent the Brain’s knowledge and your agent’s own model does the answering.
Every connection’s tool text names the Brain by its name and purpose (the answer to “What is this Brain for?”), so several connected Brains can be told apart. search and fetch also return structuredContent beside the JSON text block, in the shape ChatGPT’s deep research and company knowledge read.
How save behaves
Section titled “How save behaves”The agent does not need to read a schema, mint an id or carry a version token. The server does that.
- The same label updates the record. A record with no
idmatches the existing record of that kind with the same label (case does not matter), else the record at the id its label spells. Saving “Maya Okafor” twice updates one person,maya-okafor, rather than creating two, and the notes say it matched by name. A different person with the same name is saved with a newid. When two records already share the label,savedoes not guess: that record answersnot savedand the notes list the ids to choose from. A new record gets an id no other record holds (acme-companywhenacmeis taken). - Kinds, fields and links are added when they are new.
Person,vendorsandjobTitleare read asperson,vendorandjob_titlewhen the Brain declares those. A kind or field it does not declare is added to the schema, additively, as ordinary schema evolution. Existing declarations are never changed this way. A link name the Brain does not declare is not added:savekeeps it as a field of that name and says so.searchlists the links each kind takes, so an agent can read them before it writes. - One bad value never costs the whole save. A value is fitted to its
field’s declared type where the meaning is plain (
"Active"for the enum valueactive,"5"for a number). A value that cannot fit, or a link the schema does not allow from that kind or to a record that exists nowhere, is left off, and the answer’snotessay what the field or kind takes. - A record that
replacesanother retires it.links.replacesmarks the old decision or rulesupersededand the new oneactive, and the old one answersretired. - Sources are cited, not trusted. A source is a web address with a quote, a
document id with an optional quote, or a
titleandtextthat the server writes as a Brain document and cites. Its id is the title plus a short hash of the text, so two different “Meeting notes” are two documents and the same text saved again is the same one. A quote the source does not contain is not cited as found.
On a reviewed Brain the same call stages instead of landing: the answer says
waiting for review and nothing changes until somebody accepts it; the notes
name the change and link to Review. A record of a kind that has to be added
first is not saved until a person approves that kind: the notes name the
schema change, and the agent saves the record again once it is approved. A mistake
comes back as a tool result, not a protocol error, with a stable code,
whether the same request is retryable, a concrete nextAction, and
nextTool when another tool is the way out. An argument the tool cannot read
is INVALID_TOOL_ARGUMENTS with the issues. A model should never blindly
repeat either.
What stays on the HTTP API
Section titled “What stays on the HTTP API”The MCP surface does not carry the operator reads. Receipts and who was served a record, the event stream, review Proposals, document navigation, and an explicit schema evolution that changes an existing declaration are on the HTTP API with the same keys: see Receipts, Events and webhooks, Review and Custom schemas.
What an agent writes waits for you
Section titled “What an agent writes waits for you”Whether a connected agent’s write lands or waits is decided by the Brain, not
by the credential. On a reviewed Brain a save call is
still typed and validated, but it stages instead of landing — the change waits
in the queue, and nothing changes until somebody accepts it. The tool’s answer
says waiting for review for each record it staged.
Check the mode before you hand a key to an agent that writes. A new Brain is
open, whether it was created in the app or with
PUT /v1/brains/{handle} without "mode": "reviewed", and minting a key never
changes the mode of a Brain that already exists — so a key against an open Brain
writes into it unreviewed. The switch is one call:
curl -X PATCH "$API/v1/brains/team:acme" \ -H "authorization: Bearer $NICIA_KEY" \ -H "content-type: application/json" \ -d '{ "mode": "reviewed" }'curl "$API/v1/brains/team:acme/changes?status=staged" \ -H "authorization: Bearer $NICIA_KEY"Settle it — from the same call, or from the review inbox in app.nicia.ai, which shows the diff and the source side by side:
curl -X POST "$API/v1/brains/team:acme/changes/chg_44a1e0/lifecycle/approve" \ -H "authorization: Bearer $NICIA_KEY" \ -H "content-type: application/json" \ -d '{}'mode is the Brain’s own setting, so it governs every connected agent at once,
and no credential carries an override of its own. Keep a pipeline and agents working for the same knowledge owner in the same
Brain. Use its admission policy and have an authorized reviewer settle held
changes; a separate Brain is not a policy override. See Keep it
good and Review for the full model.
Everyone reads the same thing
Section titled “Everyone reads the same thing”The point of the shared copy is that a correction lands once. When Priya fixes the handbook, the next question anyone’s agent asks gets the corrected answer — no re-syncing, no stale local vault, no “which copy is right.”
- Keep it good — review, contributions, and letting agents help maintain it.
- Handing out keys — scoped keys for services and pipelines that don’t connect over MCP.