brain-engine
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEMORY_HOST | No | Bind address. Keep it on localhost, since the service has no authentication. | 127.0.0.1 |
| MEMORY_PORT | No | Service port. | port from brain.toml |
| MEMORY_ROOT | No | The Markdown folder. It moves only the Markdown; the state stays in the vault. | <vault>/<memory_dir> |
| MEMORY_ACTOR | No | Written to each new memory's generated.by. | <name>/local |
| MEMORY_VAULT | No | The vault folder, when --vault isn't given. | current directory |
| MEMORY_ACCESS | No | Access mode. read-only serves only search_memory and get_memory. | read-write |
| OPENAI_API_KEY | No | Graphiti's LLM and embedding calls. Without it the service logs a warning and serves Markdown and FTS. | unset |
| MEMORY_HUMAN_ID | No | Written to verified.by as human:<id> when a memory is verified. | owner |
| MEMORY_GRAPH_MODEL | No | Graphiti's model. | graph_model from brain.toml |
| MEMORY_GRAPH_ENABLED | No | Set to false to serve Markdown and FTS only. | true |
| MEMORY_GRAPH_SMALL_MODEL | No | Graphiti's small model. | graph_small_model from brain.toml |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_memoryC | Search compact graph facts and Markdown snippets without loading the whole memory vault. |
| get_memoryA | Read one source memory. Large memories are paged to avoid context bloat. |
| rememberC | Create a durable memory. Exact duplicates are rejected before graph ingestion. |
| remember_sessionC | Save a searchable summary and optionally a non-indexed verbatim transcript. |
| edit_memoryB | Fix the source memory in place. Use only for errors in the stored source, not changed reality. |
| correct_memoryB | Add a correction as a new historical episode and supersede the old Markdown memory. |
| verify_memoryC | Mark a memory as explicitly verified by the owner. |
| sync_memory_graphA | Ingest searchable Markdown memories not yet represented in Graphiti, and remove those whose file was deleted. A sync keeps the graph and reports it when the Markdown folder looks wrong: empty, or too many memories missing. Set allow_mass_removal only once the owner confirms they really were deleted. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Most tools have clearly distinct roles: search vs get vs remember vs sync are easy to separate. The main subtlety is between edit_memory and correct_memory, and slightly between remember and remember_session, though the descriptions do clarify the intended boundaries.
The set is mostly consistent snake_case verb_noun naming, with *_memory used for most operations. remember and remember_session are minor deviations but remain readable and predictable.
Eight tools is well-scoped for a memory engine, covering search, retrieval, creation, correction, verification, session capture, and graph sync. Each tool appears to earn its place without obvious redundancy.
The surface covers the core memory lifecycle: create, retrieve, search, edit, correct, verify, and sync. There is no explicit delete tool, but sync_memory_graph handles removals indirectly, so this is a minor gap rather than a dead end.