Every tool, in its own words.
Each tool as your AI reads it, word for word from the brain, with what it takes. The words tell the AI what to do next when it gets something wrong.
35 tools come with every sign-in.
They read open spaces, the system, your specialists, your rooms, and what you see in the cockpit, and carry proposals. In a sealed space they find nothing.
- list_spaces
-
THE SPACES YOU READ: your brain is all of them. Each with its name, id, kind (personal, your person's own, or team, the account's), whether it is sealed, your role, and its label: how far its pages' text may travel (public, internal, confidential, restricted; the system's identity says what each asks). With more than one, pass a name or id as `space` to every other tool; search_brain without it looks in all of them. A sealed space is read only on the computers of everyone it is shared with: no tool here reads or writes it.
takes nothing
- search_brain
-
START HERE to find anything. Send a few words the page holds, or a question in plain words, in any language. One search finds a page by its words and by its meaning, and returns the best first: each hit with its path, the space it is in, its space's label, the paragraph where the words land, and updated_at. No page that holds every word is dropped; limit cuts the list. Without `space` it searches every space you hold. path_prefix narrows to one folder (e.g. operations/quit-smoking/). Then call read_node on a path, with the hit's space.
takes query, limit, path_prefix, space
- read_node
-
READ THE BRAIN. Returns one node as plain markdown, addressed by its path (e.g. operations/quit-smoking/brief.md), followed by one JSON line of metadata: version (what write_node's expected_version wants), updated_at, content_hash (compare against your copy to check staleness), and label: how far its text may travel, its space's raised by its own label: line. Pass section (a heading, e.g. "## Day log") to get just that block instead of the whole page. Pass version to read an older version — only versions node_history lists exist; recording began 2026-09-07. An older version is read only where you recover it: you manage the space, a recovery grant names your person, or the space is their personal space.
takes path, section, version, space
- list_nodes
-
BROWSE a space. Lists open-area pages under a path prefix (e.g. operations/) with version, updated_at, content_hash and size — no content. Also the cheap staleness check: compare content_hash against your copy and re-read only the pages that changed. Empty prefix lists everything, by path, up to limit (default 200): a note says when the list was cut.
takes path_prefix, limit, space
- node_history
-
THE UNDO MAP. Lists recorded versions of one page, newest first: version, writer (the client), person (the user behind it, or null), written_at, content_hash, size. Read an old body with read_node(path, version). Recording began 2026-09-07 and nothing is backfilled, so a page at version 14 may list only 14 — the missing versions predate history and are gone, not broken. It lists only the versions you recover: every one where you manage the space; else where a recovery grant names your person, or the space is their personal space. For a reader or an editor with neither, the list is empty. Name a specialist instead of a space for a page of it: every reader of a specialist reads its history, and read_specialist reads an old version.
takes path, limit, space, specialist
- inbox
-
YOUR PERSON'S INBOX: the items of inbox.md in every space only they read, their Personal and any space shared with no one else, as one list, each with its space, in the order written. `sealed` names each sealed space whose inbox is theirs to empty, `alone` when only they read it: no tool reads it, so on a computer that holds its key, read its inbox.md there and add its items. `managed` names each other space they manage whose inbox holds items, with the count: say its name and count, and they choose to open it. At wake, say the count, name the managed spaces with their counts, and nothing more. Emptying is item by item with your person: an item becomes a page somewhere real, or it is deleted.
takes nothing
- recent_changes
-
WHAT CHANGED IN A SPACE, newest first: each page made, edited, moved, or removed, with who and when, as the cockpit's Changes feed shows it. A manager of the space sees every change; anyone else only where a recovery grant names their person, or in their personal space. A sealed space's changes name no page. Pass `before` (an `at` from the last answer) for the changes before it.
takes space, limit, before
- space_activity
-
HOW A SPACE IS WRITTEN, over the last `days` (1 to 90, default 30): its pages, open and sealed, the pages changed each day, and each writer, a person, a computer, a person's AI, or an agent, with how many writes and the last one. The figures of the cockpit's Home. The writers count only the changes recent_changes shows you: every one for a manager of the space.
takes space, days
- page_links
-
A PAGE'S LINKS: the pages it links to, and the pages that link to it, as the cockpit's Links panel shows them. Read it before you move, rename, or remove a page.
takes path, space
- list_templates
-
THE TEMPLATES A NEW SPACE STARTS FROM: each with its name, title, what it is for, and the kinds of space it suits. Pass a name as create_space's template.
takes nothing
- activity
-
HOW MUCH EACH PERSON OF THE ACCOUNT USES INSTIBRAIN, AND WHAT THEY ADD TO WHAT OTHERS READ, by the day of `tz`, your person's time zone; unset, this computer's zone, else UTC; as the cockpit's Activity page shows it. For one person, by name or address, or for the whole account and every person of it, invited ones too, by name. Each person has what the Activity List shows: `group` (worked: their hooks sent a session or a prompt; reads: their AI read or the desktop button opened, and the hooks sent nothing; nothing; invited: not in yet, with `invited_at`), `figures` (the List's columns: sessions and prompts in ~/instibrain, Claude Code's and Codex's; hours, the hours with a prompt; pages, written; reads, of their AIs; sessions_elsewhere and prompts_elsewhere, in any other folder; curator, the curator's daily runs on their computers), `not_known`, `read` (the distinct pages they and their AIs opened, from the read trail, and each burst), and `opened` (what the desktop button opened sessions on). NOT KNOWN IS NO ZERO: `not_known` names each figure their computers could not send, with why: hooks_silent (their AI read or the button opened while the hooks sent no session and no prompt, so sessions, prompts, and hours are not known), no_computer (none linked), declined (a computer declined counting work elsewhere), invited. A figure named there answers null in `figures`, and `active_hours` is null where hours is named, never 0. A figure not named there is a true count. Each day listed has its own `figures` and `not_known`; a day left out has no count and every figure 0, unless the person's `not_known` names it. No usage counts before `usage_since`. THE CURATOR IS NOT THE PERSON: its runs, prompts, reads, pages, and proposals count in the curator_ counters alone, in no sum and no other figure; from sync client 0.0.92, and before it they count as the person's. Each day and the range also list `counts`, by counter, `usage` (sessions, prompts, codex_sessions, codex_prompts, reads, app_calls and own_pages added up), `contributions` (the five contribution counters added up), and `active_hours`. Counts only: no page, no prompt. Each person has `last_session_at`, when their newest session started, and `last_seen_at`, the newest time of any count of theirs but the curator's or any session start, both over all time; the one person named also has `starts`, each session start of the range. `before` is the totals of as many days before the range. Under each person, their linked computers: name, installed sync client version, last sync, last daily update, `behind` when that version is older than `release`, the current one, `old_version` with `old_version_at` when a window or a watch on it still ran an older version in the last 24 hours (it costs no count: each hook runs the installed client), `setup`, its latest setup report, and `limits`, its newest Claude limits reading of the last 7 days, as the page's chip. The top `limits` lists each computer's highest Claude 5-hour, 7-day and Fable use in percent over the range, how many times a limit reached 100, and `plan`, the Claude plan or seat tier the percents are of (null before client 0.0.92): 92% of pro and 51% of max_20x are not alike. A count starts with the computer's installed client: sessions and prompts 0.0.74, limits 0.0.82, work elsewhere 0.0.89, Codex, the curator apart, and the plan 0.0.92; on an older client it does not exist, and the person is not idle for that. The counters: sessions: Claude Code sessions started or resumed in ~/instibrain on the person's computers, and Codex sessions the desktop button opened on a client before 0.0.92. prompts: Prompts the person sent in those sessions. reads: Read, search, and list calls of the AI on the person's computers, through instibrain's MCP; a list of rooms is none. app_calls: Calls of an AI the person connected with a login, such as the Claude app, through instibrain's MCP. own_pages: Pages changed in a space only the person reads, such as their Personal space: one a page a day. opened_fresh: Sessions the desktop button opened as a new session. opened_resumed: Sessions the desktop button opened by resuming an earlier one. opened_specialist: Sessions the desktop button opened as a specialist. opened_operation: Sessions the desktop button opened on an operation. sessions_elsewhere: Claude Code sessions started or resumed in any other folder of the person's computers; never the folder's name. prompts_elsewhere: Prompts the person sent in those sessions; never what they say. codex_sessions: Codex sessions started or resumed in ~/instibrain on the person's computers, as Codex's hooks report them, and the ones the desktop button opened. codex_prompts: Prompts the person sent in those Codex sessions. codex_sessions_elsewhere: Codex sessions started or resumed in any other folder of the person's computers; never the folder's name. codex_prompts_elsewhere: Prompts the person sent in those Codex sessions; never what they say. pages_changed: Pages changed in a space the person shares with someone else, or of a specialist: one a page a day. pages_created: Pages made in such a space or specialist, counted apart from changed. proposals_sent: Proposals the person's AI left in a space. proposals_closed: Proposals the person closed, done or declined. inbox_sent: Items the person's AI put in another person's inbox. curator_sessions: Runs of the curator's daily job on the person's computers: each a session of the agent folder, not the person's. curator_prompts: Prompts the curator's runs sent: one a run. curator_reads: Read, search, and list calls the curator's runs made through instibrain's MCP. curator_pages: Pages the curator's runs made or changed, in any space: one a page a day. curator_proposals: Proposals the curator's runs left in a space. curator_closed: Proposals the curator's runs closed.
takes person, from, to, tz
- read_system
-
READ THE SYSTEM, what defines instibrain, the same for everyone: the identity (identity.md, read it first), the map, the staff (staff/), and the tools (tools/index.md, one folder per tool). It is no space and is read-only. Give `path` for one page as markdown; leave it out for the list of pages.
takes path
- space_map
-
THE FOLDER MAP. One call shows a space's folders with how many pages each holds, each folder's index file and the one sentence it states as the folder's purpose, and the skeleton files marked ★. Call it before you add a page or a folder, so the page lands where its kind already lives; it replaces walking the tree with list_nodes, and it is how you find the folder that already exists before you make a second one under another name. path narrows to one folder; depth (default 2) is how many folder levels it shows. It lists folders, not pages: list_nodes lists the pages of one folder.
takes path, depth, space
- read_skeleton
-
THE SPACE'S OWN RULES, ALL AT ONCE. Returns every skeleton file of a space in one response, each with its role: the index, the rules page, and each top folder's index file. Read it before you change how the space is organised, or when the owner asks how it works. It is large: to work on one task, read the space's index and the one index file of the folder you work in with read_node instead. Lists the skeleton files the space lacks.
takes space
- check_structure
-
AUDIT THE STRUCTURE; it changes nothing. Compares a space with its template and its own index files: skeleton files that are missing, folders without an index file, index files without a purpose sentence, pages outside any known folder, links in the skeleton and index files that point nowhere, and pages no page links to. On every page outside operations/ and inbox.md, a heading that names decisions, a log, and a customer's id. It names each operation with no emoji. Each finding says how to fix it. Report the findings to your person. An editor or a manager fixes one directly when the task calls for it or their person agrees.
takes space
- list_neighbours
-
PAGES NEAR EACH OTHER IN MEANING. The pairs of a space's pages whose vectors sit nearest, the nearest first, each {a, b, cosine}: two pages that may speak of one thing, and so may disagree. since, a time, takes the pages written since it, each against the whole space; without it, the 200 newest. It reads no page text and changes nothing. The curator's daily run reads it to find pages that disagree, and the person's own AI judges each pair on their computer.
takes since, limit, space
- propose
-
ASK FOR A CHANGE YOU DO NOT MAKE. Leave a proposal: a change your person cannot make or chooses not to: a correction to a page of a space they only read, a change to a skeleton file (★ in space_map) only a manager changes, such as the rules page, or one they want a second opinion on. Anyone may leave one, a manager too. An editor or a manager makes every other change directly, a new page or folder included, with their person's yes. A proposal carries the change itself, complete: the full text of a new page, or the exact text to replace and its replacement. It never points at a page the space's readers cannot open, so any editor or manager applies it without its author. Send path, and either content, the full text of a new page, or old_string and new_string, the exact text to replace in that page, found once, and its replacement, as patch_node takes them, or remove true to remove the page, with index_path and index_line, the line of an index page that points at it, which goes with it; without them it is refused. A removal is refused while a fact of the page stands on no other page: move each line to its home first, word for word. A question, question true with path alone, carries no change: two pages state facts that cannot both hold, the body says which and what each says, and a person reads the live source and corrects one; the curator's daily run leaves one for each pair it finds. The title says what, the body why. A proposal belongs to the space: every editor and manager of the space sees it, and whoever makes the change closes it; only a manager closes one for a page only a manager changes, the rules page say. Any of them applies it with resolve_proposal, outcome apply. It shows in the cockpit's Waiting for you and under the space's Inbox, where a person can only reject it. Your person sees whether it was done or declined, and by whom. The brain keeps it as plain text, read by your person and by the space's editors and managers. One left within the hour after you read a confidential or restricted page of another space, into a space that lets its text go wider, is held: only a manager of the space sees it, and lands it once they read its text, in the cockpit or through resolve_proposal.
takes title, body, path, content, old_string, new_string, remove, index_path, index_line, question, space
- list_proposals
-
THE SPACE'S PROPOSALS. A proposal belongs to the space: every editor and manager of the space sees it, and whoever makes the change closes it; only a manager closes one for a page only a manager changes, the rules page say. In a space your person edits or manages, every open one; in a space they only read, their own. Their own shows once answered too, with who marked it done or declined. Each names who proposed it, the page, why, the change it carries (`change`: content, or old_string and new_string; null on a question, which carries none, and on one left before proposals carried theirs), `may_close`: whether your person may close it, and `run`: "curator" for one the curator's daily run left, which no person asked for. `noes` names each no a person said to a proposal of the run: the run proposes that title no more until an editor or a manager lifts it with lift_no. Discuss one with your person; with their yes, resolve_proposal with outcome apply makes the change and closes it. A held write (`held`, shown to a manager) lands in two calls: resolve_proposal shows its text first. `looked_in` names each space read and what it shows there. Without `space`, every space you hold.
takes space
- resolve_proposal
-
CLOSE A PROPOSAL. With your person's yes, outcome apply makes the change the proposal carries, through the same save checks as any write, and closes it done; nothing is written when a check refuses, and it stays open. Done says the change was made another way; declined, that your person said no; a no to a proposal of the curator's daily run outlives it, and the run proposes it no more. An editor or a manager of the space closes any open one; only a manager closes one for a page only a manager changes, or a held write. Another's keeps the answer, so its person sees who marked it done or declined, and their AI removes it with the same call. Your person's own is removed: declined withdraws it. A held write (`held` in list_proposals), one your person's AI left included, lands in two calls: apply without a ticket lands nothing and answers a preview, with its text whole, and a ticket. Show your person that text as it stands, and only after their yes call again with the ticket. The page's history then names the version as a held write your person's AI landed.
takes id, outcome, ticket
- lift_no
-
LIFT A NO. When a person declines a proposal of the curator's daily run, the brain keeps their no, and the run proposes that title no more, from any computer. list_proposals names each one under `noes`. With your person's yes, lift one: the run may propose it again. An editor or a manager of the space lifts any; only a manager lifts one for a page only a manager changes. A person proposes the same change by hand whatever stands.
takes id
- list_specialists
-
THE SPECIALISTS YOUR PERSON READS, each a persona and a method, shared as a space is. Each with its name, its emoji, what it does, your person's role, its hub, the page to read first, and its knowledge folder. Adopt one with read_specialist; it reads only your person's spaces.
takes nothing
- read_specialist
-
READ A SPECIALIST to work as it: its hub first, then the pages it names. Give `path` for one page as markdown; leave it out for the hub and the list of pages. Give `version` with `path` for an older version, as node_history lists them. Its facts are its knowledge folder, knowledge/<its folder>/, in each space your person reads: read it there with list_nodes and read_node before you work.
takes specialist, path, version
- list_operations
-
THE OPERATIONS OF EVERY SPACE YOUR PERSON READS, by name: each task with an end goal, its folder operations/<name>/ while it runs and operations/planning/<name>/ while it is planned. Each with its name, its emoji (null for none), the people it is assigned to, its space, planned or running, its brief, its page count, and when a page of it last changed, as the cockpit's Operations page shows them. A sealed space's operations are on its computers only. To open one, read every page of its folder with list_nodes and read_node, the brief first.
takes nothing
- list_rooms
-
YOUR ROOMS: each with who is in it, who is working now, and how many messages wait unread for you. In a window, unread counts a message to the window, or in the room of the operation it opened on; a message to your person, a group, or a space counts in one window alone: the window of the specialist your person named in their profile, else the window that spoke last, else the newest, among the windows open in the last two minutes. Your own messages are never unread; another window of your person's are, as yours are to it. At wake, report the rooms with unread messages beside the inbox count. A room's members hear it: people, groups, agents, and named windows of a person; every answer lists them. A room grants nothing: a member reads no space and no specialist through it.
takes nothing
- read_room
-
READ A ROOM: the messages after your cursor, oldest first, up to 100; the cursor moves past them, so the next read brings only what is new. Each window and each login keeps its own cursor. since, a message's id or an ISO time, reads from there and moves nothing. Each message names its sender and its window. `changed` holds each earlier message its sender edited or deleted since: if you acted on what it said, act on what it says now. A message is gone after 30 days: what matters goes to a page. A room's members hear it: people, groups, agents, and named windows of a person; every answer lists them. A room grants nothing: a member reads no space and no specialist through it.
takes room, since
- list_reviews
-
THE RESTORED PAGES THAT WAIT FOR YOUR PERSON in a space: pages brought back in the cockpit, each held for them alone until it is published as the page's next version. publish_review publishes one, drop_review drops it.
takes space
- list_agents
-
THE AGENTS: members of the team that are not people, such as a support bot. A manager shares a space or a specialist with one as with a person. Each is listed with what is shared with it where your person reads too, and where it runs. An owner or an admin makes one in the cockpit.
takes nothing
- space_settings
-
A SPACE'S SETTINGS, as the cockpit's Settings sheet shows them: its label, how far its pages' text may travel, and for a manager the label set, which counts once the space is open and shared, and `seal` when they labelled an open space restricted: why to seal it; whether it has a logo; for a sealed space's manager, whether a computer laid it out and how many computers hold its key or wait for it; for its content owner, what it holds (pay, assessments, health) and who else recovers its history: its managers recover all of it by the role, and are not listed.
takes space
- list_groups
-
THE ACCOUNT'S GROUPS, each with its people. Everyone holds every person of the account. A grant can name a group, so its people reach what it reaches.
takes nothing
- list_people
-
THE ACCOUNT'S PEOPLE, and the invites that wait: each with name, address, role (owner, admin, or member), and whether they joined.
takes nothing
- profile
-
YOUR PERSON'S PROFILE in this account, as the cockpit's Settings shows it: their name, email, role, the account's name and id, whether a picture is set, their time zone (`zone`, an IANA name, or null until they set one in Settings), and `answers`: the specialist whose window answers a message sent to them, or null for the window that spoke last.
takes nothing
- list_sessions
-
YOUR PERSON'S BROWSER SESSIONS, in every account they are in, as the cockpit's Settings lists them: when each began and was last seen, its address, and its browser. Signing out the others asks for the password, in the cockpit.
takes nothing
- list_computers
-
YOUR PERSON'S COMPUTERS, the ones they linked with the sync client, each with the spaces it syncs, when it was linked and last used, its machine id, and the fingerprint of each folder's key, as the cockpit's Devices page shows them. A live one also has its installed sync client's version, its last daily update, `behind` when that version is older than `release`, the current one: a new Claude session on it updates it, and `old_version` with `old_version_at` when a window or a watch on it still ran an older version in the last 24 hours: it takes the installed one when it starts again. `limits` is its Claude limits as its status line last read them in the last 7 days: the hour, and the 5-hour, weekly and Fable weekly use in percent, null for one not read. `revoked` adds the unlinked ones, each with when. Nobody else's computers show.
takes revoked
- list_sent_items
-
THE ITEMS YOUR PERSON SENT TO TEAMMATES' INBOXES in the last 30 days, newest first, each with its id, to whom, when, and its text as sent or as last edited. It says nothing of their inbox: whether an item still waits there shows only when edit_inbox_item or delete_inbox_item tries it.
takes nothing
25 tools write, behind their own scope.
Only when you ticked writing. Each call still needs editor on the space; a skeleton file needs manager.
- set_specialist
-
SET A SPECIALIST'S EMOJI, ITS NAME, OR ITS ONE LINE on what it does, as the cockpit's Specialists page does; an editor or manager of it. `emoji` is one emoji of Emoji 12.0 or older, so every computer draws it, shown before its name in every list and window; "" takes it away. `name` renames it: everyone it is shared with sees the new name, and each computer files it under it. `description` is the one line an AI chooses it by; the guard's save rules apply to it. Name the specialist as list_specialists gives it.
takes specialist, name, description, emoji
- write_specialist_page
-
WRITE A PAGE OF A SPECIALIST: its persona or its method, never a fact, which belongs in knowledge/<its folder>/ of a space. Only an editor or manager of the specialist writes; the guard's save rules apply. Send the full text, with the version read_specialist gave, or 0 for a new page.
takes specialist, path, content, expected_version
- delete_specialist_page
-
REMOVE A PAGE OF A SPECIALIST; it asks your person first. Its versions stay in node_history, so restore_specialist_page brings it back. Pass expected_version to refuse the removal if the page changed since you read it. Only an editor or manager of the specialist removes one. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes specialist, path, expected_version, ticket
- restore_specialist_page
-
BRING A PAGE OF A SPECIALIST BACK TO AN OLDER VERSION, a removed one included: that version's text becomes its next version, under the guard's save rules. node_history with the specialist lists the versions. Only an editor or manager of the specialist restores. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes specialist, path, version, ticket
- set_operation
-
SET AN OPERATION'S EMOJI OR WHO IT IS ASSIGNED TO, as the cockpit's Operations page does; an editor of its space. `emoji` is one emoji of Emoji 12.0 or older, so every computer draws it, shown before its name in every list and window; "" takes it away. `assignees` is the whole new list: each person by name, address, or id, every one a reader of the space; [] assigns nobody. Name the operation by its folder's name, as list_operations gives it.
takes space, operation, emoji, assignees
- write_node
-
WRITE TO THE BRAIN. Save markdown at a path (e.g. operations/quit-smoking/log.md), creating it or replacing it. A tool's script goes in its folder, tools/<name>/ (e.g. tools/sheets/Code.gs), and runs only at a version a manager approves in tools/<name>/approval.json. Prefer append_node for adding to the end and patch_node for editing one spot — never resend a whole page to change a line. Pass expected_version (from read_node's metadata) to refuse the write if the page changed since you read it; 0 means the page must not exist yet. Every version is kept in node_history. An editor or a manager writes a new page directly, with their person's yes, and gives it its line in the space's index or its folder's index file in the same turn; no proposal first. A skeleton file (★ in space_map) changes only by a manager of its folder, except the space's index and each folder's index file, which an editor keeps; anyone else is refused, with the names of who can.
takes path, content, expected_version, space
- delete_node
-
REMOVE A PAGE. The page stops being readable and stops appearing in list_nodes or search_brain; every version it had stays in node_history, so a person who recovers the space reads it with an explicit version, and the removal is reversible. Use it when a page is superseded or was triaged into another page — a brain keeps what is true, not everything it was ever told. Pass expected_version to refuse the removal if the page changed since you read it. A skeleton file is removed only by a manager.
takes path, expected_version, space
- move_node
-
RENAME OR MOVE ONE PAGE, keeping its identity and its history — the page arrives at the new path as the same node, not as a copy, and every page in the space that links to it is pointed at the new path, except pages you cannot write and skeleton files (★) you may not change, which come back in `left`: tell your person. A [[name]] link follows only while the file name stays. Refused when something already holds the destination, including a page removed earlier: a path belongs to one node forever. A page moves inside one space only. Pass expected_version to refuse the move if the page changed since you read it. To move a whole folder use move_folder.
takes from, to, expected_version, space
- append_node
-
ADD TO THE END of a page — the tool for a log line. Send only the new part; the server adds it after a newline, so you never resend the page. Creates the page if it does not exist. Returns the new version and the page's total size in bytes.
takes path, content, space
- patch_node
-
EDIT ONE SPOT in a page without resending it. Replaces old_string with new_string; old_string must match the page exactly once — include enough surrounding lines to make it unique. Refuses without writing when it matches zero times (your copy is stale: read the page again) or more than once. A skeleton file (★ in space_map) changes only by a manager of its folder, except the space's index and each folder's index file, which an editor keeps.
takes path, old_string, new_string, space
- create_folder
-
START A NEW FOLDER in a space: a folder and its index file, named by the template's pattern (e.g. operations/q4-launch/brief.md, knowledge/legal/legal.md) and holding your one-sentence purpose, so the folder is structured from its first page. Use it when the first page of a new kind of thing arrives, instead of writing pages into a folder nobody described. An editor or a manager makes one directly, with their person's yes; no proposal first. Check space_map first: refused when the folder exists, when its parent does not (create the parent first), or when a sibling has nearly the same name (project/ beside projects/). Folder names are lowercase words joined by dashes. The answer says where to index the new folder; do that next.
takes path, purpose, allow_similar, topic, space
- move_folder
-
MOVE OR RENAME A WHOLE FOLDER in one write. Every page under it keeps its identity and history, and every link in the space that points into it is rewritten, except in pages you cannot write and skeleton files (★) you may not change. Use it instead of move_node page by page. Refused when the destination already holds pages (two folders never merge), when a page would land on a path a removed page holds, when the folder is shared on its own, and when it moves a skeleton file you do not manage. Returns the moved pages, the pages whose links it fixed, and in `left` the pages that still point at the old path because you cannot change them: tell your person.
takes from, to, space
- delete_folder
-
REMOVE A WHOLE FOLDER: every page under it you read goes, each with its versions kept in node_history, as delete_node keeps them. Only a manager of the space removes a folder; it asks your person first. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes folder, space, ticket
- send_to_inbox
-
PUT AN ITEM IN A TEAMMATE'S INBOX, for something another person of the account should see or do, rather than a message. Name them by name or address (list_people shows who). The item lands as one dated line in the inbox.md of their Personal space, signed with your person's name: one line, up to 500 characters, 20 an hour. You read nothing of their inbox; the answer says only that it landed, with the id edit_inbox_item and delete_inbox_item take it back by. An item for your own person goes in their own inbox.md, with append_node.
takes to, item
- edit_inbox_item
-
CHANGE AN ITEM YOUR PERSON SENT TO A TEAMMATE'S INBOX, when it said something wrong. Its line gets the new text and the day of the edit, while it stands in their inbox as sent; one their owner already moved, changed, or emptied stays theirs. One line, the same rules as send_to_inbox, and it counts in its 20 an hour. You read nothing of their inbox.
takes id, item
- delete_inbox_item
-
TAKE BACK AN ITEM YOUR PERSON SENT TO A TEAMMATE'S INBOX: its line leaves their inbox.md, while it stands there as sent; one their owner already moved, changed, or emptied stays theirs. The page's history keeps it, as any page's does. You read nothing of their inbox.
takes id
- send_message
-
SAY SOMETHING IN A ROOM: to a room you hear, or to whom `to` names, in the direct room between you and exactly them, found or made: one person, agent, or window, or a list of people and agents. The same set finds the same room, whoever sends, with no name to give and nothing to manage; a hand-off between several goes to all of them at once. It is signed with who you are and your window. Plain markdown, 8192 bytes at most; members read it at their next read. Ask whoever holds what you need instead of guessing; tell whoever waits when you finish. Never a secret or a sealed fact: a room is open. A message sent wrong is taken back with edit_message or delete_message, by the id this answers. A room's members hear it: people, groups, agents, and named windows of a person; every answer lists them. A room grants nothing: a member reads no space and no specialist through it.
takes room, to, body
- edit_message
-
CHANGE A MESSAGE YOU SENT, when it said something wrong. Only its sender edits it: your person, from any of their windows or AIs, or your agent. It keeps its place and its time, and shows as edited; each member that read it reads it again at their next read. Plain markdown, 8192 bytes at most. Say what changed in the new text when a reader may have acted on the old.
takes message, body
- delete_message
-
DELETE A MESSAGE YOU SENT, when it should never have been said. Only its sender deletes it: your person, from any of their windows or AIs, or your agent. Its text is gone from the brain; a marker keeps its place, and each member that read it reads the marker at their next read. A member who already acted on it may need a message that says what to undo.
takes message
- make_room
-
MAKE A ROOM under a name, with its members: people, groups, agents, or named windows. You are its member and its maker. Open the room you need yourself: a temporary one for a task, the operation's for an operation, your AIs' room for what your other AIs should know. To talk with one or several, with no name to keep, send_message to them: it finds or makes their direct room. A room's members hear it: people, groups, agents, and named windows of a person; every answer lists them. A room grants nothing: a member reads no space and no specialist through it.
takes name, members, temporary
- set_room_members
-
ADD OR REMOVE A ROOM'S MEMBERS. Any member adds; the maker and the account's owners and admins remove; anyone removes themself. A removed member reads nothing after. A direct room keeps its members: the same people always meet there, so it takes no member and loses none. A space's room hears everyone the space is shared with, and changes with its shares alone. Add whoever holds what the task needs, so you ask them there. A room's members hear it: people, groups, agents, and named windows of a person; every answer lists them. A room grants nothing: a member reads no space and no specialist through it.
takes room, add, remove
- restore_page
-
BRING A PAGE BACK: a live page to an older version, as node_history lists them, or a removed page as it was before its removal (leave version out). Its text becomes the page's next version, for everyone the space is shared with, through the guard's save rules. You must manage the space, or your person must hold a recovery grant for the page or have removed it themselves. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes path, version, space, ticket
- publish_review
-
PUBLISH A RESTORED PAGE that waits for your person: its text becomes the page's next version, for everyone the space is shared with. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes review, space, ticket
- drop_review
-
DROP A RESTORED PAGE that waits for your person: the page stays as it is. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes review, space, ticket
- move_to_space
-
MOVE OR COPY A PAGE INTO ANOTHER SPACE; it asks your person first. Only what the page says now goes, as a new page there, read first for everyone that space is shared with; its versions stay where they are. A move then removes it here; copy: true keeps it. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes space, path, to_space, to_path, copy, ticket
25 tools change access, and ask first.
Spaces, sharing, groups, people, your profile, and your computers. Each change is a preview first, then your yes on the cockpit's Home; on your own computer the AI lists these only once you turn that on in Settings.
- rename_space
-
RENAME A SPACE; it asks your person first. Only a manager of it renames it. Everyone it is shared with sees the new name, and each computer that syncs it keeps its folder. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes space, name, ticket
- create_space
-
CREATE A SPACE: a set of pages shared with people of its own, for what only some people should read. Your person is its only manager, as the cockpit's New space makes one, and nobody else reads it until they share it, Everyone included, with share_space. A personal space is your person's own; a team space is the account's, and only an owner or admin creates one. Every new space starts from the empty template, its index and what it is for; template null starts it with no file. purpose, one or two sentences on who the space serves and what it holds, is the first thing the space says of itself, so the space is described from its first page. Sealed means encrypted to the computers of everyone it is shared with, so no web AI reads it; it is laid out once one of them links a computer. Answers the new space's id: pass it as space to every other tool.
takes name, purpose, kind, template, sealed
- create_specialist
-
MAKE A SPECIALIST: a persona and a method of its own, with a name, one line on what it does and when to call it, and an emoji of its own. Your person manages it, and you read and write it; it starts with its hub page, which write_specialist_page fills. Its facts go in knowledge/<its folder>/ of each space. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes name, description, emoji, ticket
- set_space_logo
-
SET OR REMOVE A SPACE'S LOGO; it asks your person first. `logo` is a PNG, JPEG, or WebP as base64, or null to remove it. Only a manager of the space sets it; everyone it is shared with sees it. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes space, logo, ticket
- set_space_label
-
SET A SPACE'S LABEL: public, internal, confidential, or restricted, how far its pages' text may travel; it asks your person first. Only a manager of the space sets it. It counts while the space is open and shared: a sealed space, and one a single person reads, stay restricted. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes space, label, ticket
- set_space_holds
-
MARK WHAT A SPACE HOLDS: pay, assessments, health, or none; it asks your person first. Marked, everyone it is shared with may read it there, and only its content owner shares the space with anyone new; unmarked, the guard refuses it in a space others read. Only the space's content owner marks it: the person of a personal space, an owner or admin for a team space. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes space, holds, ticket
- grant_recovery
-
LET A PERSON RECOVER A SPACE'S HISTORY, the whole space or what is under a path: they read its old versions and removed pages there, and restore them. It asks your person first. A manager of the space recovers all of it by the role; this names anyone else. Only the space's content owner names who has it. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes space, person, path_prefix, ticket
- end_recovery
-
STOP A PERSON RECOVERING A SPACE'S HISTORY; it asks your person first. Name the path_prefix when they recover more than one part of it. Only the space's content owner ends it. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes space, person, path_prefix, ticket
- erase_history
-
ERASE WHAT A SPACE SAID: every old version of the pages under a path, and its removed pages whole, so nobody restores them. Live pages keep the version they are at. It cannot be undone, and the preview says what goes and what backups keep; it asks your person first. Only the space's content owner erases, and erasing is a write: you erase only where you write the space. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes space, path_prefix, ticket
- make_group
-
MAKE A GROUP in the account, with no people yet; it asks your person first. Only an owner or admin makes one. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes name, ticket
- set_group_people
-
ADD PEOPLE TO A GROUP, OR TAKE THEM OUT; it asks your person first. Each person by address or name. They gain or lose what the group's grants give. Only an owner or admin changes a group, and only when they manage every space and specialist it reads. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes group, add, remove, ticket
- rename_group
-
RENAME A GROUP; it asks your person first. Its people and its grants stay. Only an owner or admin renames one, and Everyone keeps its name. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes group, name, ticket
- remove_group
-
REMOVE A GROUP; it asks your person first. Every space and specialist shared with the group stops being shared with it, so its people lose what only the group gave them. Only an owner or admin removes one, and never Everyone. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes group, ticket
- invite_person
-
INVITE A PERSON TO THE ACCOUNT, as a member or an admin; it asks your person first. Only an owner or admin invites. The invite goes by mail with the install line; the link never comes to you. An owner is invited in the cockpit, with the password. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes email, name, role, ticket
- change_role
-
SET A PERSON'S ROLE IN THE ACCOUNT to member or admin; it asks your person first. Only an owner changes a role. An owner's role, and making an owner, stay in the cockpit, with the password. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes person, role, ticket
- remove_person
-
TAKE A MEMBER OUT OF THE ACCOUNT; it asks your person first. Their grants, devices, and AIs end with them. Only an owner or admin removes; removing an owner or an admin stays in the cockpit, with the password. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes person, ticket
- resend_invite
-
SEND A PERSON'S INVITE AGAIN, to someone invited who has not joined yet; it asks your person first. It goes by mail with a new link, and the older link stops working; the link never comes to you. Only an owner or admin sends one, and only an owner an owner's. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes person, ticket
- sign_out_person
-
SIGN A PERSON OUT EVERYWHERE in the account: their browser sessions end, and so do the logins of their AIs; it asks your person first. Their role, shares, computers, and AIs stay, and they sign in again. Only an owner or admin signs someone out, and only an owner an owner. Your person signs out their own sessions in the cockpit, with the password. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes person, ticket
- set_profile
-
CHANGE YOUR PERSON'S NAME, PICTURE, OR WHO ANSWERS THEM in this account; it asks your person first. `name` is one line; an empty name shows their email instead. `picture` is a PNG, JPEG, or WebP of up to 512 KB, as base64, or null to remove it, so their initials show. `answers` names the specialist, by name or id, whose window answers a message sent to your person; null means the window that spoke last answers. The email and the password change in the cockpit. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes name, picture, answers, ticket
- set_account_name
-
RENAME THE ACCOUNT, the name its people and its invitees see; it asks your person first. Only an owner renames it; an empty name gives back the default. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes name, ticket
- unlink_computer
-
UNLINK ONE OF YOUR PERSON'S COMPUTERS; it asks your person first. Its folders stop syncing and its keys stop opening sealed spaces; the files on it stay, and it links again with a new code. Name the computer as list_computers shows it, or by its machine id when two share a name. Two calls: the first answers a preview and a ticket and changes nothing; tell your person, and only after their yes call again with the ticket.
takes computer, ticket
Every open page is a resource too.
A client without tool search still reaches the brain: each open page is a resource, named by its heading.
- instibrain://{brain}/{+path}
-
The pages of each open space you read, one resource each, named by the page's title. A skeleton file says its role.
lists every open page you read, in every space you read, as instibrain://<space id>/<path>, typed text/markdown; a sealed space lists nothing
returns the body, then the same metadata line read_node prints, as application/json
refuses any other path, or a space you do not read, with an error
A refusal is an answer.
A no comes back as a normal reply that says what to do next. Built for AI shows three, byte for byte.
| Code | When |
|---|---|
| no_brain | The connection reads no space yet |
| brain_needed | Several spaces, none named; the message lists them |
| ambiguous_brain | Several spaces share the name; the message lists their ids |
| no_such_brain | No space of that name; the message points at read_system |
| other_brain | A folder names another space; link a new folder for it |
| invalid_path | A path the brain cannot hold, with the reason |
| invalid_content | A NUL, a tool file over 256 KiB, or a line the guard refuses |
| forbidden, reason role | The AI's role forbids the write; the message says who can |
| forbidden, reason skeleton | A skeleton file the AI does not manage; names its managers |
| encrypted_brain | Any write into a sealed space |
| quota | The account is at its limit of pages or bytes |
| ticket_stale | A ticket for other arguments, or over thirty minutes old; nothing changed |
| held | A write in the hour after a confidential or restricted read of another space, into a space its text may not reach; it waits for a manager in the cockpit. Or a change of access its person has not yet said yes to on the cockpit's Home |
| declined | Its person said no to the change on the cockpit's Home; nothing changed |
A refused write changes nothing. The handshake tells every AI
to read the system's identity.md first.
Connect your AI and read the same words from inside it.
Your AI sees only the tools of the scopes you ticked.