OpenBrain
openbrain
Shared agent knowledge store with vector search
About
Ollama (embeddings), and MariaDB (relational metadata). Agents store decisions,
observations, conventions, and research as memories that persist across sessions
and can be recalled using natural language queries.
All memories are workspace-scoped for multi-tenant isolation. Supports memory
supersession chains, confidence scoring, expiration, and project-level filtering.
Use when
- • Storing decisions, observations, or conventions for other agents
- • Searching knowledge with natural language queries
- • Sharing context between agents across sessions
- • Building a persistent knowledge base for a project
- • Recalling what was decided or observed in previous sessions
Don't use when
- • Storing ephemeral session data (use state_set instead)
- • Simple key-value lookups (use state_get instead)
- • Storing large binary files or attachments
- • Real-time data that changes every request
Connection
Call tools on this server via HTTP:
curl -X POST https://mcp.lthn.ai/tools/call \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"server": "openbrain",
"tool": "brain_remember",
"arguments": {}
}'
Tools (4)
brain_remember
Store a memory in the shared OpenBrain knowledge store
Example prompts:
- "Remember that we decided to use UUIDs for all primary keys"
- "Store this architecture decision about the event bus"
- "Save the convention that all API responses use snake_case"
Parameters
The knowledge to remember (max 50,000 characters)
Memory type classification
Optional tags for categorisation
Optional project scope (e.g. repo name)
Confidence level from 0.0 to 1.0 (default 0.8)
UUID of an older memory this one replaces
Hours until this memory expires (null = never)
brain_recall
Semantic search across the shared OpenBrain knowledge store
Example prompts:
- "What do we know about the database schema?"
- "Recall any decisions about authentication"
- "Find observations about performance issues"
Parameters
Natural language search query (max 2,000 characters)
Number of results to return (default 5, max 20)
Optional filters (project, type, agent_id, min_confidence)
brain_forget
Remove a memory from the shared OpenBrain knowledge store
Example prompts:
- "Forget that memory about the old API format"
- "Remove the incorrect architecture note"
Parameters
UUID of the memory to remove
Optional reason for forgetting this memory
brain_list
List memories without vector search
Example prompts:
- "List all architecture memories"
- "Show what agent-42 has stored"
- "List recent decisions for the core-api project"
Parameters
Filter by project scope
Filter by memory type
Filter by originating agent
Maximum results to return (default 20, max 100)
Workflows (2)
Knowledge Capture
Store and organise knowledge during a work session
- brain_remember — Store key decisions as they are made
- brain_remember — Record important observations
- brain_list — Review what has been stored
Context Recovery
Recall relevant knowledge when starting a new session
- brain_recall — Search for relevant prior knowledge
- brain_list — Review recent decisions
- Continue work — Use recalled context to inform current session