These settings shape what a Bot keeps and how far one piece of work may go. They are under Admin → Settings → Memory & knowledge and Context & runs. What a Bot remembers explains the ideas behind them.
A memory is one sentence a Bot keeps across conversations. Memories need embedding_model; until it is set they wait.
| Key |
Default |
What it does |
memory.in_prompt |
true |
Put memories in the system prompt: preferences and lessons always, and every fact while they total under 6,000 characters, then a summary of the facts written with model_memory (rewritten at most every 30 minutes, when they changed). Nothing is searched while a person waits; the Bot searches with recall. Off keeps memories out of the prompt. |
memory.collect |
true |
The Bot’s Memory automation reads chats once they have been quiet for 10 minutes, keeps what the Bot missed (each message read once, with model_memory), and tidies the memories when 20 or more wait (at most every 6 hours per Bot). The composer’s memory button and /remember work either way. |
memory.infer |
true |
Keep what nobody stated: preferences read off how a person corrects and chooses, lessons from what failed and then worked. Such a memory waits out of the prompt until a later conversation, at least an hour on, shows it again, or someone keeps it on the Memories page. Off, only what was said in so many words is kept. |
The folder index behind search_docs: a Bot’s people pick workspace folders, drives included, and the Bot searches them. Files stay on the Bot’s machine; the index is in Postgres.
| Key |
Default |
What it does |
knowledge.enabled |
true |
Off hides the tool and stops syncing. What is indexed stays. |
knowledge.sync_interval |
15m |
How often a folder is checked again, at least 1m. Drive folders are checked four times less often, and a folder written to is read again about 15 seconds after it goes quiet. |
knowledge.ocr |
true |
Read scanned PDF pages (only those with next to no text) and image files of at least 8 KB with tesseract, in the Bot’s machine. At most 100 pages and 4 minutes a file; image text must look like prose or it is dropped. English and Polish are installed. Off, scans are listed as not indexed, and read once it is on again. A folder of photos makes syncing slow. |
The Changes pane shows what changed in a Bot’s workspace, run by run, as diffs, and can put a file back. The history is a git store on the Bot’s own disk (data/bots/<id>/history), never in Postgres. Drives, tmp/, bot/ and dependency folders are not read. A Bot keeps at most 300 snapshots and 1 GB.
For drives there is a journal instead: the names and sizes of what was written, deleted or renamed through the mount, 2,000 lines per Bot.
| Key |
Default |
What it does |
changes.enabled |
true |
Snapshots and the drive journal. Off stops new ones and empties the pane; what was recorded stays. |
changes.max_file_mb |
8 |
A larger file is recorded by size and time only, never by content (1 to 100). |
changes.keep_days |
30 |
Snapshots older than this are forgotten (1 to 365). |
| Key |
Default |
What it does |
artifacts.max_mb |
2048 |
Each Bot’s disk budget for the versions of what it handed over, in MB (1 to 102400). Past it, the oldest versions go first. |
| Key |
Default |
What it does |
context.window |
128000 |
The context window in tokens for a model whose provider reports none. Per model: context.windows on Models. |
context.compact_at |
0.8 |
The share of the window at which a run summarizes its history into one turn before the next model call (0.1 to 0.98). |
runs.max_duration |
120m |
The longest one run may take, as a duration (120m, 2h) or bare minutes. -1 is no limit. Subagents, and a lead waiting on them, count toward it. A run that reaches it ends with an error saying so. |
| Key |
Default |
What it does |
tools.expose_completion |
none |
Built-in tools to also offer the model as chat tools, a list (or all). Most built-ins are reachable from Python only, to keep each request small; name the ones a model handles badly that way. |
onboarding.prompt |
the built-in one |
The interview a new Bot opens its main chat with when Start with a short interview is on, and what /onboard runs. |