INITE Brain
Open-source memory for AI agents: a bitemporal knowledge graph with provenance, over MCP and REST.
Website ·
Quick start ·
Architecture ·
Domain Packs ·
Getting started ·
Docs ·
Agent guide
Quick start
Needs Docker with Compose v2, openssl, and an OpenAI API key (the default
model configuration). Runs the released image (linux/amd64 and
linux/arm64) with SurrealDB; no clone, no build.
: "${OPENAI_API_KEY:?export OPENAI_API_KEY first}"
mkdir inite-brain && cd inite-brain
curl -fsSLO https://raw.githubusercontent.com/inite-ai/inite-brain-service/main/docker-compose.quickstart.yml
BRAIN_KEY="brain_$(openssl rand -hex 24)"
KEY_HASH="$(printf %s "$BRAIN_KEY" | openssl dgst -sha256 -r | cut -d' ' -f1)"
cat > .env <<EOF
BRAIN_VERSION=2.4
OPENAI_API_KEY=$OPENAI_API_KEY
BRAIN_API_KEYS='[{"keyHash":"sha256:$KEY_HASH","companyId":"co_demo","scopes":["brain:read","brain:write"]}]'
SURREALDB_PASSWORD=$(openssl rand -hex 24)
SURREALDB_SCOPED_PASS=$(openssl rand -hex 24)
FORGET_HMAC_KEY=$(openssl rand -hex 32)
EOF
docker compose -f docker-compose.quickstart.yml up -d --wait
export BRAIN_URL=http://localhost:3030 BRAIN_KEY
curl "$BRAIN_URL/health"
echo "API key (shown once, only its hash is stored): $BRAIN_KEY"
Then remember something and ask about it,
or point an MCP client at http://localhost:3030/mcp with
Authorization: Bearer $BRAIN_KEY. BRAIN_VERSION takes X.Y (newest patch
of that release) or vX.Y.Z; :latest is overwritten by the main-branch
deploy. The first start downloads the local ONNX models into a volume, so the
first write can take a few minutes; later ones do not. Hosted
service, running from source, and production:
Getting started.
Why not Mem0, Zep or Letta?