The AI chat
Every document can have a chat with an AI assistant that reads and changes pages for you. It runs with your workspace's own Anthropic API key, and it is off until an admin turns it on.
Turning it on
An admin opens Settings, AI and:
- enters the workspace's Anthropic API key. Basalt checks the key with one small call before it stores it, keeps it encrypted, and shows only its last four characters afterwards;
- picks a model: Claude Opus 5.5 (the default and most capable), Claude Sonnet 5.5 or Claude Haiku 5.5;
- sets a monthly limit in US dollars;
- ticks Turn on the AI chat.
Members do not see this section at all. While the chat is off, nothing of it appears anywhere: no button, no panel, no memory.
Before you turn it on: what a chat reads is sent to Anthropic under your workspace's key. Check that your privacy notice and your data processing agreement cover that.
Chatting in a document
The spark button in a page's header opens the chat beside the document. Choose what the chat can see:
- This page: the page and all its sub-pages (the default);
- Collection: the whole collection the page belongs to.
You can switch while you chat; it applies from the next message. The answer appears word by word, with a line for every page the assistant read, searched or changed.
The assistant has your rights, no more. It reads only pages you may read and changes only pages you may edit, and only inside the chosen scope. A page outside that does not exist for it. Every change is made in your name and shows in the version history like your own edits. Before its first change to a page in an answer, Basalt records a version of that page, so Restore in the version history takes the whole answer back.
Your chats are yours: nobody else sees them, admins included. Earlier chats on the page are listed in the panel, and you can delete them.
The memory
The panel's second tab is the document's memory: short notes that every chat on this page and the pages below it knows. It is the same for everybody, and it is inherited: a note on a project page reaches every page under it.
- Anyone who may edit a page can add, change and delete its notes.
- Nobody sees a note from a page they may not read.
- After an answer that read or changed pages, the assistant may add up to three notes of its own. They are marked Noted by the assistant, name every page the answer read or changed, and are only shown to people who may read all of those pages. The answer lists them under New in memory. You change or delete them like any other note.
- A page holds at most 50 notes, and an assistant's note at most 500 characters. A chat takes in up to 20 000 characters of memory, the notes of the nearest page first.
- The assistant treats the memory as notes, not as instructions: a note that asks it to do something is not followed.
What it costs
Each chat shows what it has cost so far, and Settings, AI shows the month's total for the whole workspace. Costs are computed from the tokens Anthropic reports and its published prices. When the month's total reaches the limit, no new answer starts until the next month or until an admin raises the limit. The limit is checked before every step of an answer, so an answer that reaches it stops there. Every step's cost counts at once, also for an answer that was stopped or failed, and deleting a chat does not take its cost out of the month. One answer takes at most 25 steps (reads, searches and changes), and at most three answers run at the same time in a workspace.
The chat is a Basalt feature. It is not part of the API for access tokens: only a person signed in to the app can start an answer.