# Inite Brain [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/inite-ai/inite-brain-service  
**GitHub Stars:** 44  
**npm Downloads (last month):** 47  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/inite-brain

## Description
Open-source bitemporal memory layer for LLM agents — knowledge graph with conflict resolution.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "inite-brain": {
    "command": "npx",
    "args": ["-y","@inite/brain-mcp"],
    "env": {
      "OPENAI_API_KEY": "",
      "BRAIN_API_KEYS": "",
      "SURREALDB_PASSWORD": "",
      "SURREALDB_SCOPED_PASS": "",
      "FORGET_HMAC_KEY": "",
      "BRAIN_VERSION": ""
    }
  }
}
```

**Requires environment variables:** `OPENAI_API_KEY`, `BRAIN_API_KEYS`, `SURREALDB_PASSWORD`, `SURREALDB_SCOPED_PASS`, `FORGET_HMAC_KEY`, `BRAIN_VERSION` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Inite Brain does

Inite Brain provides memory between agent conversations by storing structured facts, relationships, source episodes, and evidence. Its bitemporal model records when a fact was true and when Brain learned or changed it. This makes historical state and later corrections available for inspection.

The service exposes its integration surface through Streamable HTTP MCP and REST. A separate stdio shim, `@inite/brain-mcp`, is also available for clients that use local process-based MCP connections. Brain can run on infrastructure you control or be accessed through the hosted service at `brain.inite.ai`.

Memory is organized by tenant, with a separate database for each tenant. Personal memory can be associated with a `userId`; leaving that value out selects tenant-wide memory. Domain Packs can adapt the vocabulary, predicates, lifecycle states, extraction guidance, and related behavior to a product without changing the core engine.

## How it works

Input can include conversations, documents, or facts. Brain retains source records, derives candidates and entities, resolves relationships, and builds connected memory in SurrealDB. Retrieval combines semantic and lexical search with graph and multi-hop retrieval, allowing an agent to obtain facts together with supporting passages and provenance.

When a write conflicts with an existing fact, the earlier fact may be superseded or the disagreement may remain marked as `COMPETING`. Retraction preserves the historical record. Administrative forgetting removes associated records and leaves tombstones, supporting entity-level deletion workflows.

The `synthesize` capability produces claims tied to the facts supporting them and runs verification. In strict mode, Brain can abstain rather than return an answer without sufficient support. Scenes and beliefs can additionally represent events and changing state when enabled by the relevant configuration or domain model.

## Setup and configuration

The quick-start deployment uses Docker with Compose v2, `openssl`, and an OpenAI API key for the default model configuration. It runs a released Docker image for `linux/amd64` or `linux/arm64`, starts SurrealDB, and does not require cloning or building the repository.

A typical setup creates a `.env` file containing the OpenAI key, a hashed Brain API key with `brain:read` and `brain:write` scopes, SurrealDB passwords, and the HMAC key used for forgetting operations. The service listens at port `3030` in the quick-start example. Clients connect to `/mcp` with an `Authorization: Bearer` header.

The first startup downloads local ONNX models into a volume, so initial writes may take several minutes. Later starts avoid that model download. `BRAIN_VERSION` can select a release line or an exact version tag; the `:latest` image follows the main-branch deployment.

## Tools and capabilities

- Store and retrieve agent memory across conversations.
- Search using semantic, lexical, graph, and multi-hop retrieval.
- Synthesize evidence-backed answers with claim-level fact references.
- Track superseded, competing, and retracted facts over time.
- Preserve provenance to conversations, documents, or evidence fragments.
- Forget entities with deletion records and tombstones.
- Apply tenant, user, API-key, ABAC, and PII access boundaries.

## Limitations and notes

Brain is a memory service rather than an agent runtime; the agent remains in a client such as Claude Code, Cursor, Codex, or custom application code. Self-hosting requires Docker Compose and model configuration, including an OpenAI API key for the quick-start defaults. More demanding deployments must account for the initial ONNX model download and persistent SurrealDB storage. The project is licensed under AGPL-3.0-or-later.

_Full upstream README: https://allmcps.com/mcp/inite-brain/readme_

