Skip to Content

Install and use Companion Memory

Your life, secured locally. A private Personal Digital Twin database and lifelogging engine that keeps your digital history on hardware you own.

Availability: Companion Memory is free on both the Free and Pro plans. You can install it from the Companion Hub App Store. Desktop apps for macOS (Universal DMG), Windows, and Linux (DEB/RPM) are published on GitHub Releases  under desktop-v* tags. Take the newest one. See Install the desktop app. Its product page is ci.computer/memory .

This page matches Companion Memory v2026.11.26 and Companion Hub v0.3.16, the latest releases. Items marked Main only are in the development branch and not in a release yet.

The Companion Memory Explorer in List view. A search bar and Map, List, Timeline, Gallery and Graph buttons run across the top, with section tabs from Events to Chat and a row of filters below. An activity heatmap sits on the left, and the list shows example events grouped under Today, Yesterday and This week.The Companion Memory Explorer in List view. A search bar and Map, List, Timeline, Gallery and Graph buttons run across the top, with section tabs from Events to Chat and a row of filters below. An activity heatmap sits on the left, and the list shows example events grouped under Today, Yesterday and This week.
The Explorer's List view, with example data.

Overview

Companion Memory is the intelligence core of the Companion ecosystem. It runs on your local hardware and acts as a unified personal knowledge base, aggregating data signals from your devices, browser, connected accounts, and imported archives into a single private timeline — your Personal Digital Twin.

Unlike cloud-based memory products, your records stay on your hardware, and by default the models that answer your questions run there too. The server exposes a local API that Companion Agents query to provide contextually aware suggestions, recall, and guidance. A few things do contact other services: see What leaves your appliance.

Rail destinations
8
Widgets, Planning, Memory, Saved Searches, Sources, Jobs, Approvals, and Self. Forecast is off by default.
from Getting around
Memory sections
9
Events, People, Places, Things, Receipts, Content, Tags, Notes, and Chat.
from The Memory hub
Explorer views
5
Map, List, Timeline, Gallery, and Graph over the same search. Timeline appears once time is part of the question.
from The Explorer

Key features

  • Automatic ingestion — captures data from browser extensions, Companion Capture, connected accounts, and archive imports with no manual tagging
  • Unified Explorer — one searchable view of your whole history across Map, List, Timeline, Gallery, and Graph
  • Combinable search & filters — free-text + semantic search combined with who / where / when / how filters, sort, and tags
  • Saved searches — name and reuse any search you build, and share a read-only link with someone else on your server
  • Agent context (MCP + REST) — structured endpoints for Companion Agents to query memory with temporal and contextual filters
  • Private by design — your records stay on your hardware, and by default answers come from models that run there
  • Planning and approvals — a task board and calendar built from your memory, and an approval queue for anything an agent wants to do that you should confirm
  • Modular connectors — extensible data source plugins for custom integrations

Use cases

  • Recall anything you’ve seen, read, or done — without relying on cloud services
  • Give your local AI agents rich, personal context to improve suggestions and task completion
  • Build a searchable personal archive of life events, documents, browser history, and media
  • Keep a searchable record of what your capture clients send, such as Companion Capture and the browser extensions. Mentra Live glasses can save to Memory too, but Mentra Live is a developer preview that you can’t install yet
  • Show your Memory’s places and events in Companion Compass Maps, which reads them, read-only, from your server once you enter its address in the app and sign in or paste an API key. Planned: give Photo Time Machine structured memory data. It doesn’t connect to Memory today: the published image is built without a Memory address

Architecture

Companion Memory is a self-hostable, multi-service digital memory appliance that ingests, indexes, and organizes your life data. Open-sourced under the PolyForm Noncommercial 1.0.0 license , the monorepo contains the NestJS API and worker runtime, machine learning sidecars, archive importers (ci_import), and the React frontend.

Companion Memory platform topology: capture sources feed the central memory appliance, which normalizes raw inputs into six core record types and exposes them to local agents over MCP.

Container topology & service roles

The diagram and table below show the standalone production Compose stack. The Companion Hub app listing runs no worker container, so on a Hub install the one api container does that work too.

Service componentRole & technologyKey responsibilities
api (CI_ROLE=web)NestJS, Express, Apollo GraphQL, React 19 UIServes the web UI and exposes authenticated REST endpoints (/v1/events, /api/files/upload), GraphQL queries (/api/graphql), and the Streamable HTTP MCP server (/api/mcp). Container port 3000 is published on host port 8642 by default. It also consumes every queue and runs every scheduled job not marked for the worker, including enrichment, embeddings, planning and summaries.
worker (CI_ROLE=worker)NestJS, pg-boss, ci_importRuns the same backend image without an HTTP server. It consumes only the jobs marked for the worker: the import stages (unpack → parse → media → push), video transcodes, derivation runs and 17 scheduled jobs. A single-process install runs both halves in one container (CI_ROLE=all, the default).
db (Database)PostgreSQL 18 with extensionsStores relational entities, the ci.pipeline_state enrichment ledger, pg-boss job queues and schedules, 768-dimension vector embeddings (pgvector), time-series tables (TimescaleDB), and geographic coordinates (PostGIS).
object-store (Object storage)RustFS (S3-compatible)Persists binary media assets: uploaded documents, photos, audio clips, video recordings, and raw archive files.
summary (Summary sidecar)Python FastAPI (summary API on port 8001, /parse on port 8002), MarkItDownConverts documents to Markdown via /parse, extracts text from office and PDF files, and generates document and timeline summaries.
hbpe (Behavior engine)Python FastAPI (port 8002), ONNX Runtime, llama.cppHierarchical Behavioral Prediction Engine. A nightly job (02:30 server time) updates an add-on to each person’s personal model, once that model exists. The engine forecasts activity by time of day, usually from a small model fitted from that person’s history. The personal model is exported to ONNX and runs as INT8 once its accuracy check passes. Week forecasts come from recurrence profiles. A chat endpoint labels events; a small GGUF model run through llama.cpp is the fallback when none answers.

The 6 core entity domains

All unstructured files, browser pages, transcripts, and mobile telemetry entering Companion Memory are normalized into six universal domain primitives:

  • Person: Real-world contacts, family members, colleagues, and AI personas. Links to conversation transcripts, appearances in photos, and communications.
  • Place: Physical locations and geofences indexed with PostGIS coordinates, addresses, and visited timestamps.
  • Thing: Real-world physical objects, devices, vehicles, tools, and digital assets.
  • Content: Documents (PDFs, Markdown, Word, spreadsheets), web bookmarks, notes, emails, and images. Enriched with vector embeddings for semantic recall.
  • Event: Immutable timeline markers (calendar entries, screenshot captures, file edits, app usage logs, notifications, and location breadcrumbs).
  • Space: 3D geometric boundaries and rooms mapped through Companion Spatial Capture.

Ingestion, normalization, & retrieval pipeline

The four-stage ingestion lifecycle: unpack, read, store, and embed. Stored records and embeddings stay on the appliance. Place lookups and link previews can contact outside services unless an administrator switches them off in Settings → Privacy. Where Companion Hub manages inference, it can send text to be embedded to a paired pool peer.
  1. Ingest and queuing stage: Capture clients submit raw JSON events via POST /v1/events (deduplicated on the (source_type, source_system, source_id) provenance triple) or binary media via POST /api/files/upload. The API persists incoming records and enqueues background jobs in pg-boss inside PostgreSQL 18.
  2. Extraction and parsing: The ci_import subsystem runs 77 registered importers (76 archive parsers for Google Takeout, Apple exports, WhatsApp, Slack, and others, plus the live BlueBubbles connector) through a four-stage unpack → parse → media → push pipeline. Uploaded documents are converted to text by the Summary sidecar (/parse on port 8002).
  3. Entity resolution and knowledge graphing: Incoming records are matched against existing entities (for example, associating an email address or handle with an existing Person record) and tracked in the ci.pipeline_state enrichment ledger.
  4. Embedding generation: Text chunks and image descriptions are converted into 768-dimension dense vector embeddings (default nomic-embed-text), generated by the embedding model your appliance is set to use (local Ollama by default), and stored in PostgreSQL via pgvector.
  5. Hybrid search retrieval: Queries execute a hybrid search combining dense vector similarity (pgvector cosine distance) with sparse keyword matching (PostgreSQL full-text search tsvector) and temporal, spatial, and graph filters.

Memory MCP server

The Companion Memory MCP server (/api/mcp) implements the Model Context Protocol over Streamable HTTP:

  • Authentication: Requires an API key minted under Settings → API Keys with the mcp and intents scopes. Agent integration says which header to send it in.
  • Tool Catalog: Exposes semantic recall (memory_search), entity inspection (get_person, get_place), recent timeline retrieval (get_recent_events), and note creation (create_note).
  • Hub MCP vs. Memory MCP: Hub MCP provides appliance-level operations (restarting containers, checking disk space). Memory MCP provides personal context (recalling notes, finding photos, checking schedules). Autonomous agents connect to both servers concurrently.

Setup

1. Install via Companion Hub

This is the route anyone can use today. You need a running Companion Hub that you have paired with your CI Account, which Hub asks for the first time you open it.

Open Companion Hub, navigate to the App Store, and search for Companion Memory. Click Install. Companion Memory is free on both the Free and Pro plans, and Hub’s setup wizard pre-selects it for new installs.

The first install downloads the app’s container images, and Hub then starts them. How long that takes depends on your connection.

How you can run it

RouteWho can use it todayAddress you use
Companion Hub App StoreAnyone with a paired HubA tunnel or Tailscale address, or the app’s port (see Sign in and finish setup)
Desktop appAnyone who can run Docker on macOS, Windows (x64), or Linux (x86-64)http://127.0.0.1:8642
Standalone Docker (compose)Developers who run the compose files in the public Companion-Memory repository; this page doesn’t cover that routehttp://<host>:8642

All three run the same containers and the same web app, so everything from Sign in and finish setup onward applies to each of them.

Install the desktop app

Desktop apps for macOS, Windows, and Linux are published on GitHub Releases. Download the installer for your system from the newest desktop-v* release in the Companion-Memory releases . Since desktop-v2026.11.19 a desktop app carries the server’s version, and its release is tagged desktop-v<server version>. Older tags are numbered desktop-v0.1.x. The releases page also lists server releases, so look for a tag that starts with desktop-v. To install Companion Memory on a Hub instead, see Install via Companion Hub.

The desktop app is a launcher, not a thin client. It starts Companion Memory’s own containers on your computer with Docker, waits for them to be healthy, and shows the Companion Memory web app in a window at http://127.0.0.1:8642. Memory runs on that one computer, and you do not need a Hub.

Desktop appContents
macOSOne universal .dmg for Apple silicon and Intel Macs, signed and notarized. Needs macOS 11 or later
Windowsx64 installers, .msi and -setup.exe, both signed
Linuxx86-64 packages, .deb and .rpm, unsigned
Not offeredWindows on Arm, Linux on Arm, and an AppImage

Requirements. Docker, running before you open the app: Docker Desktop on macOS and Windows, and Docker Engine or Docker Desktop on Linux (a rootless Docker install is found too). Docker Compose must be version 2.24.4 or newer, and port 8642 on your computer must be free — Companion Hub also tries 8642 first, so a Hub on the same computer that already runs Memory occupies it. No hardware minimum is published for this release.

First launch.

  1. Start Docker. If it is missing, the app says “Docker was not found on this machine” and offers Install Docker, which opens Docker’s download page. If it is installed but stopped, the app says so and waits for Retry.
  2. Open Companion Memory. The splash screen reads “Waking up your memory.” and lists the steps as they happen. The first launch downloads the container images and starts them. If something fails, the splash shows the reason with Retry and View Logs. It stops waiting after 30 minutes.
  3. The window loads Companion Memory and opens Sign in to your memory. Choose Sign in with Companion account, which opens your browser and returns to the app, or Use email and password instead. I have an invitation is for a second person joining a Memory that already has an owner.
  4. Continue with Sign in and finish setup.

A local model comes with it. The app makes sure something answers on port 11434 so Chat and search work without installing Ollama yourself. It uses an Ollama that already runs there; otherwise it uses ollama from your PATH, or downloads Ollama’s official release into the app’s data folder, checks its checksum, and pulls nomic-embed-text for search and gemma4:e4b for chat. On Windows and Linux the Ollama download alone is about 1.3 to 1.5 GB, and the chat model is several gigabytes more. On macOS the Ollama download is about 150 MB. On a Mac where Apple Intelligence is available (Apple silicon, macOS 26 or later, turned on in System Settings), the app can use Apple’s on-device model for chat instead, and still pulls nomic-embed-text for search. On Linux, once the containers are up, the app checks from inside them that they can reach that Ollama. It writes the result to its log, in the folder that View Logs opens, and does not change your firewall.

Running and stopping. Closing the window hides it; the app stays in the system tray with Show, Start Stack, Stop Stack, View Logs, a status line and Quit. The containers keep running after you quit the app, so use Stop Stack to stop them. Your memory lives in Docker volumes, not in the app, so it survives updates and uninstalling the app. The Inbox folder for imports is in the app’s data folder, and Sources → Import → Inbox shows its exact path.

Updating. There is no in-app updater. Install a newer release over the old one; on its next launch it pulls the matching container images and keeps your data.

Connecting an agent. Sign in with Companion account gives the window a device key rather than a web session, and creating API keys and managing MCP servers need a web session. If Settings → API Keys says it needs a web sign-in, open http://127.0.0.1:8642 in an ordinary browser and sign in there, or sign in with email and password in the window. Then follow Connect Companion Memory, using http://127.0.0.1:8642 as the address from the same computer.

Not in the desktop app today. In-app updates; Docker or GPU-driver installers; GPU acceleration for the prediction service, which always uses its CPU image; a watchdog that restarts a stack that crashed; crash reporting for the app itself; and remembering the window size. The app sets Companion Memory’s local-only mode, so the server’s own crash reports are off too — see What leaves your appliance.

2. Sign in and finish setup

Open Companion Memory from its tile in Companion Hub, or at an address on the Access points card of its app page. By default Hub does not open the app’s own port to your network. To use http://<appliance-ip>:<host-port> from another device on your local network, set the app to This machine only and turn on Open this app’s port on your network, an advanced setting you find when you install the app or later in its settings. Hub tries port 8642 first and picks a free port from 10000 to 60000 when 8642 is taken, so read the port off the card. See Finding Your App’s URL.

The examples on this page write the address you use as <memory-url>, the origin without a path.

The sign-in page offers Sign in with Companion account, which uses your CI Account. Select Sign in with email instead to use an email and password, or Sign up to create an account on this appliance.

  • The first account claims the appliance and becomes its administrator. Administrators change the settings that affect everyone: the model endpoint, the BlueBubbles connection, MCP servers, and the job controls.
  • Everyone after that needs an invitation. Open Self → Profile, find Invitations, and select Create an invitation. Each code works once. The new person enters it as the Signup Code on the sign-up form.

The first time you sign in, a setup wizard asks a few questions. Every step can be skipped, and your progress is saved if you leave. In order:

  1. A welcome screen.
  2. What should we call you? — only when your account has no name yet.
  3. Time and place — when you usually wake up, go to bed, and work. Memory detects your time zone.
  4. What should we focus on? — health, nutrition, communication, entertainment, or travel.
  5. Who are you usually around? — up to six people and how you know them.
  6. Connect a source — Companion Capture, a browser extension, or an account such as Google or Microsoft.
  7. Bring in an export — the same import wizard described below. Skip it if you have not downloaded an export yet.
  8. How much trust? — Cautious, Balanced or Hands-off: how much your companion may do without asking. Balanced is preselected. You can change it later under Settings → Autonomy.
  9. Run my first sync and finish — starts a sync of your connected accounts and takes you into the app.

The step numbers shift when a step is not shown, for example the name step when your account already has a name. The trust step always comes just before the last one.

You land on the Memory Explorer. Nothing is in your memory yet unless you connected a source or imported an export in steps 6 and 7, so the Explorer under Memory shows “Your memory is empty” with two buttons: Connect a source and Import data.

3. Give Memory a chat model

Chat and photo descriptions need a chat model. Open Settings → Model:

  • If Hub manages inference for this app, the endpoint is filled in and read-only in Memory. Select Test connection, then choose a model in the model picker. To change the backend, change it in Companion Hub.
  • On a direct install, pick the Backend: Ollama (port 11434), Lemonade (port 13305), or OpenAI-compatible (vLLM, llama.cpp, SGLang) (port 8000). For the two OpenAI-style choices, the API path is /v1, or /api/v1 for Lemonade, and an API key is optional. Select Save endpoint, then Test connection. The test lists the models the backend reports. A backend that connects but lists no models is not ready for chat: pull or expose a model first.

If the model server gives no answer at all, Test connection names the address it tried and the likely cause, such as a refused connection or a timeout. For a timeout to a server on the computer Memory runs on, it can also show a ufw firewall command. Memory does not run it for you.

Only administrators can change the endpoint. Embeddings, the models behind Semantic search, are configured separately. Companion Memory’s default is nomic-embed-text, and Hub can set its own. The search index is tied to 768-dimension embeddings, so validate a change before you apply it to an existing appliance.

4. Add your data

Open Sources in the left rail — one page with three paths, each answering a different part of “get my stuff in”:

  • Services — accounts you sign into. Google, Microsoft, Meta, Spotify, Steam, GitHub, Signal, Slack and Reddit are available now; Discord, Instagram, Shopify, X, LinkedIn, Notion, Twitch and Dropbox are listed with a Coming soon badge. About a minute each; you get everything from now on plus whatever recent history the service hands over. Some services need you to bring your own OAuth app, and the connect dialog tells you how when that is the case. One card here isn’t a sign-in: BlueBubbles, a self-hosted bridge (bluebubbles.app ) that exposes one Mac’s iMessage/SMS history over its own REST API. Its card opens a connection page — that Mac’s host, port and server password — instead of an OAuth flow, and shows Connected once you enable it there.
  • Import — the archive wizard, built into Companion Memory itself: you request an export from the service, wait for it, then load the file here. There is no separate importer to install. Slower than a service connection, but it reaches as far back as the service keeps your data.
  • Devices — what you install rather than sign into: Browser extensions for Chrome and Firefox, with Safari listed as coming soon (history, bookmarks, searches — see the Browser Extension page), and Companion Capture for macOS, Windows and Linux (screen context, app usage, desktop activity — see the Companion Capture page). The extension is in the Chrome Web Store, which Brave and Edge use too, and on Firefox Add-ons. Companion Capture is pre-release: ci.computer/download  offers 0.2.0-alpha.8. Companion Memory is available on Google Play  and the App Store . The extension, Capture and the mobile apps all sign in with your CI Account, and all need a running Companion Memory to send to. The extension and Capture register in the device list, so the page also shows which of your machines is still reporting in.

All three paths land in the same memory:

Sources → Services. Three cards across the top, Services, Import and Devices, and below them a catalogue of service cards for Microsoft, Google, Meta, Spotify, Steam, GitHub, Signal, Slack and Reddit, each listing what it brings in. The page says the effort is about a minute, once.Sources → Services. Three cards across the top, Services, Import and Devices, and below them a catalogue of service cards for Microsoft, Google, Meta, Spotify, Steam, GitHub, Signal, Slack and Reddit, each listing what it brings in. The page says the effort is about a minute, once.
Sources → Services on a new appliance. No service is connected yet.

Clicking the BlueBubbles card opens its own settings page rather than a sign-in flow: host, port, HTTPS, the BlueBubbles server password, whether that server’s Private API is enabled (required for Companion Memory to send messages on your behalf, not just read them), and an Enabled switch — alongside Test connection and Sync now, and a status panel reporting the last sync and the last webhook received.

Below the connection fields the page also shows a webhook URL ending in a long random segment. Paste it into your BlueBubbles server’s webhook settings and new messages arrive within a second or two of being sent, instead of waiting for the next sync. Treat that URL as a password: the random segment is the only thing authenticating the delivery, because BlueBubbles’ own outgoing webhooks carry no credentials of their own.

Only an administrator can change the BlueBubbles connection. It is one appliance-wide connection, so Save and Test connection are disabled for other accounts. Companion Memory’s own request log redacts the webhook secret, but treat the URL as a password anyway: anything else that records request paths on the way in, such as a reverse proxy, may log it.

iMessage has more than one route in. Besides this connection, Companion Capture can read a Mac’s own chat.db with no BlueBubbles server at all, and the Import wizard loads a chat.db copy as an archive. They do not deduplicate against each other — pick one route per Mac. See Which iMessage route to use.

The wearable and glasses apps that can use Memory — Mentra Live, Pebble and Even Realities — are developer previews that you can’t install yet. Each is set up in its own app, not here.

5. Connect Companion agents

Settings → Agents lists the agent apps that Companion Hub knows about, and shows whether each is installed, connected to Memory, and running. You connect an agent from its app page in Companion Hub with Connect Memory, which creates the key for you; the Connect button in Memory is disabled. To connect a client yourself, create an API key and use the MCP entry shown under Agent integration (MCP).

The first time you open a Hub-installed OpenClaw or Hermes while Memory is not connected to it, the app asks first: a screen titled “Give OpenClaw long-term memory” (or Hermes) with Sign in with Companion Intelligence, Maybe later and Don’t ask again. Approving creates one key for that app. It appears under Settings → API Keys as Managed by Companion Hub, with the Read, write & delete capability. The key is scoped to Memory, Intents, MCP and Agent jobs. It expires after 90 days, and Hub replaces it after about 60. Anything that key does that deletes data or sends something outside the appliance waits for you under Approvals, whatever your Autonomy setting.

Connecting opens a page of Memory’s own in your browser. If Memory is set to This machine only with its port closed to your network, and you are on another device, Hub says it can’t open that page. Connect from a browser on the Hub’s computer, or give Memory a Public web address.

6. Check what landed

Self → Stats is the “did it work” page: totals for events, entities and relationships, your earliest → latest date range, and bar lists breaking entities down by type, by tag, and by data source. Jobs shows the background work still running behind an import, plus anything that dead-lettered.

Your memory has no retention window: records are not aged out on a schedule. The forecasting engine keeps its own per-person data, including a forecast log that is kept for 90 days. See What is stored, and how to remove it. Settings → Your data downloads an NDJSON archive of your memories, files, graph, schedule and settings, or replaces your data with one — the import asks you to type your email address first, and replaces what is there. Self → Profile has Delete account at the bottom; it signs you out everywhere at once and permanently deletes the account and its data after a 30-day grace period. The forecasting model files on the models volume are not removed (see What is stored, and how to remove it). The archive does not include asks and their answers, sharing grants, links to other people’s Companions or the forecasting model files.

What leaves your appliance

Companion Memory stores and searches your records locally, and by default chat models run on your hardware. A few things do contact other services, and the table below lists them. An administrator can turn off crash reports, place lookups, link previews and sign-in through Portal under Settings → Privacy. Any signed-in user can read those four switches, and they are on by default. The operator of an appliance can lock some of them with CI_LOCAL_ONLY, CI_TELEMETRY=off and UNFURL_ENABLED=false. The Default column says whether each contact happens on a default appliance. Rows are marked unconditional (no switch), opt-in (only if you or an administrator turn it on) or key-gated (only once a key is set).

WhatWhere it goesDefaultHow to turn it off
Crash reportsSentry, with credentials, file paths, request bodies, cookies and query strings removed first. A web app built with its own Sentry address can also send performance traces, and session replays with text and media maskedOn only where the install carries a Sentry address. With none, nothing is sentAn administrator can turn off Crash reports under Settings → Privacy. You can also turn off Share crash reports in Companion Hub’s settings for the app, or set CI_TELEMETRY=off. CI_LOCAL_ONLY=true also stops it. See Crash reporting
Place lookups (geocoding)Place names and coordinates go to CI Portal, which relays them to a geocoding provider. This happens only when the appliance has CI Portal credentials, which a Hub paired with CI Portal supplies. The scheduled lookup runs at most weekly, in the nightly window. A bulk import can also start lookups about a minute after it landsOn, once the appliance has Portal credentialsAn administrator can turn off Place lookups under Settings → Privacy
Link previewsThe site a saved link points to, or a preview provider such as oEmbed or Wikidata. Scheduled previews run in the nightly window, at most once a day, with a cap of 20,000 rows per runOnAn administrator can turn off Link previews under Settings → Privacy. An operator can set UNFURL_ENABLED=false
Sign-in for connected servicesOn a Hub-installed appliance, CI Portal brokers the OAuth sign-in for Google, Microsoft, Facebook, Spotify, GitHub, Reddit, Slack and Dropbox, and holds the long-term credential where the service issues one, unless you register your own OAuth app for that provider. Without Portal credentials you must use your own appOn when you connect a serviceUse your own OAuth app, or delete the connection. An administrator can also turn off Sign-in through Portal under Settings → Privacy. Services you already connected keep working
Media links in importsYour browser loads the image or video from the service that hosts it when you view the record. Companion Memory saves the link, not the fileOn, for exports that reference media by link, such as Reddit’sSkip those sources
Map tilesEsri (server.arcgisonline.com) receives the tile coordinates of every map render, which show which part of the world your memories are in and at what zoom. UnconditionalOn, every map renderNo in-app switch
Web fontsYour browser loads the Manrope font from Google Fonts on every page. UnconditionalOn, every pageNo in-app switch
Google MapsThe map view loads Google Maps scripts and sends pairs of consecutive visited places to Google Directions to draw routes, even while the routes are not shown. Key-gated: this happens only when a Google Maps key is set for the appliance, which a Hub paired with CI Portal supplies when Portal has one. Without a key, the map draws no route lines. With a key, a stretch that Google cannot route is drawn as a dashed straight lineOff until a Maps key is setRemove the key
Media playersThe gallery embeds YouTube, Spotify, Vimeo, SoundCloud and Dailymotion players for links to those services, so your browser loads the player from the provider when you view the itemOn, for records that link to those servicesNo in-app switch
Fallback labeling modelThe prediction sidecar downloads a small GGUF model from Hugging Face the first time it needs one. That happens only when no chat endpoint answers for labelingOnly as a fallbackSet LLM_API_BASE to a chat endpoint that answers and LLM_DEFAULT_CHAT_MODEL to a model it serves
Movie and TV lookupsTMDB (api.themoviedb.org) receives media titles and queries. Key-gatedOff until a TMDB key is setRemove the key
MCP serversAny MCP server an administrator configures receives the input of the tools called on it. Opt-inOff until an administrator adds oneRemove the server
Linked CompanionsThe Companion Memory of a person on another server whom you link with receives the questions you send them, the answers you allow and notices about the link. Opt-inOff until you link with someoneEnd the link under Saved Searches → Asks → People I’m linked to
Direct Google geocoderPlace names and coordinates go straight to Google (maps.googleapis.com) instead of through CI Portal. Opt-in and key-gatedOff; place lookups use CI PortalUnset GEOCODING_PROVIDER=google
Portal push relayCI Portal receives your devices’ push tokens so it can forward notifications. Opt-inOff until PORTAL_PUSH_RELAY_URL is setUnset PORTAL_PUSH_RELAY_URL
GraphiQL assetsYour browser loads React and GraphiQL from unpkg.com when you open the developer GraphiQL page (/api/graphiql), and only when that page is enabled. Nothing specific to you is sent. Opt-inOff on an appliance unless ENABLE_GRAPHQL_IDE=trueLeave ENABLE_GRAPHQL_IDE unset or set it to false

Your stored records, files and embeddings stay on the appliance. Text that a model works on goes to wherever that model runs. Chat prompts go to the model backend in Settings → Model, which is local Ollama by default. Embedding requests go to the endpoint set in LLM_EMBEDDING_API_BASE. With none set, they follow the chat backend if it serves the embedding model, and otherwise go to Ollama at OLLAMA_HOST, which is local by default. When Companion Hub manages inference, Hub can route chat and embedding requests to a paired pool peer. It sends requests to a cloud provider only when the Hub operator has set CI_HUB_ALLOW_CLOUD_FALLBACK=true and a provider with a key is enabled. In Hub release images since v0.3.14, that variable is unset, so the Hub does not fall back to a cloud provider. The v0.3.13 image sets it to true. Settings → AI in the Hub shows which way yours is set. The Asks feature sends filtered answers to another Companion only under a grant or an approval you give.

Using the web UI

Most of the time you’ll work with your memory through the local web UI at <memory-url>. The loop is connect, search, share: connect sources, search everything through the Explorer, and share a saved search with someone else on your server.

Companion Memory: connect sources, search the Explorer, share a saved search. The 77 importers on the bracket are the 77 named importers registered in Companion Memory v2026.11.26: 76 archive parsers and the BlueBubbles connection, not counting the catch-all for loose files.

Getting around

A Power Rail runs down the left edge. It shows icons only until you hover it — or pin it open with the toggle on its edge, and the choice survives a reload. Top to bottom:

Widgets · Planning · Memory · Saved Searches · Sources · Jobs · Approvals · Forecast (off by default)

Most of them open a submenu (Widgets does not):

DestinationSubmenu
PlanningTasks and Calendar. Today joins them when its flag is on
MemoryThe nine Memory hub sections
Saved SearchesAsks — see Asking Other Companions
SourcesServices, Import and Devices
JobsHistory, Schedules, Dead letters, and one row per job category. The Jobs row itself is the overview
ApprovalsActivity

At the foot of the rail, Help holds Support, these docs and the Privacy Policy, and your avatar opens the Self tile: Profile, Stats, Reflections and Settings, with Theme and Log out in the tile’s own menu. On a phone the rail becomes a glass overlay drawer you open from the screen edge, with a Capture entry at the top.

Some destinations sit behind feature flags. planning.page (Tasks), jobs.page, self.page, stats.page, chat.page, files.page, tags.page, insights.page, import.page and ask all default to on. today.page and forecast.page default to off, so a stock install shows no Today page and no Forecast row. Turning off self.page removes your avatar tile, and Settings, Theme and Log out with it.

There are no breadcrumbs anywhere in the app. The header carries the global search box (Search memory…), the view tabs for the page you’re on, and the Add menu (+). Page identity comes from the rail and from the Memory hub’s own section nav.

Add creates things by hand: Note, Person, Concept, Thing, Event and Place. Its Actions row can Upload files into your memory, Capture photos, video and files, Scan a barcode or serial number to look up a thing you own, Connect an account or data source, and Predict, which queues the prediction pipeline for you now. It does nothing if a run is already waiting or going, or if prediction is turned off. The app’s own estimate is about an hour. A first run, or a large backlog of events still to be labeled, can take longer.

The Memory hub

Memory is not a single screen. It’s a namespace of nine sibling sections, always reachable from the rail’s collapsible Memory submenu and from a section nav across the top of every Memory page, the Explorer included:

SectionRouteWhat’s there
Events/memory/eventsThe Explorer’s happenings browse — messages, events and browser visits, newest first
People/memory/peoplePeople and their communications, plus a merge-suggestion review queue
Places/memory/placesPlaces you’ve been, searchable by name
Things/memory/thingsPhysical things you own, filterable by category/brand/condition, with a Review sightings tab
Receipts/memory/receiptsReceipts by merchant, with their line items
Content/memory/contentFiles and documents; /memory/content/:id opens the viewer in place
Tags/memory/tagsEvery tag, with rename and delete
Notes/memory/notesYour notes; Add → Note opens the editor
Chat/memory/chatThe assistant chat, with your recent threads listed under it in the rail

The Memory row itself opens /memory, the Explorer’s everything browse — see The Explorer. The old top-level /people, /places, /inventory, /receipts, /files, /tags, /notes and /chat routes all redirect into the hub, /search redirects to /memory, and /memory/knowledge redirects to the Explorer’s graph view (/memory?view=graph).

Content, Tags and Chat are behind the files.page, tags.page and chat.page flags — all on by default.

Reflections moved to Self. The catalogue of questions your companion can ask you is now Self → Reflections (/self/reflections), not a Memory section. /memory/reflections, /memory/questions and the older /prompts all redirect there. The name change is user-facing only — the REST route (/api/questions), the GraphQL QuestionType, and the database table are all still called questions. The Reflections tab rides the insights.page flag.

The Explorer

The Explorer answers one question — “show me memories that match this” — in up to five different ways. It has two addresses, and they behave differently:

  • Memory → Events (/memory/events) browses happenings — messages, events and browser visits — newest first, with an activity heatmap alongside the list.
  • Memory itself (/memory) browses everything you have, ranked by relevance. Timeline and the dated sort orders appear only once you set a When filter.
ViewBest for
MapLocated events on a base map with a synced timeline panel
ListReading results in order. On Events, grouped by day beside the heatmap; on Memory, ranked by relevance
TimelineA slide-style timeline you page through. It appears on Events, and on Memory once a When filter is set
GalleryPhotos and videos with a cross-result lightbox
GraphThe relationships between entities (people, places, things)

The view tabs sit in the header beside the global search box, and List is the default. Everything below is the active view. To add an event by hand, use Add → Event in the header. The URL holds the full state of your search (?search=…&view=map&from=…), so any result is a shareable link to someone else on your server.

On Events, the List view has a contribution-style activity heatmap down its left edge that scrolls through time and sets the date filter when you drag across it. Its entries are grouped by day (and a No date bucket), each tagged with a type icon — person, place, event, concept, thing, content, note, communication, or file. The screenshot at the top of this page is this view.

The Graph view (the Knowledge Graph) draws the relationships between entities — people, concepts, events, and places — as an interactive node graph. It has three modes over the same canvas: Overview (the busiest slice of your graph), Focus (one entity’s neighbourhood, entered by clicking a node and left through an explicit Overview control), and Search (the explorer’s query, run against the graph). Clicking a node or a link opens a floating info dialog over the canvas. A legend along the bottom names the types on screen and reports how many nodes are drawn, how many connections they carry, and — in Overview — what share of your entities are linked to anything at all. A small 2D/3D button in the corner switches renderers and remembers your choice:

The Explorer's Graph view. Colour-coded dots are packed into several round clusters, one colour for each type of record. A panel along the bottom shows a relatedness bar reading 79% linked, 1,679 related, 436 alone and 2,115 total, and a legend of the types. Zoom controls and a 3D button sit in the corner.The Explorer's Graph view. Colour-coded dots are packed into several round clusters, one colour for each type of record. A panel along the bottom shows a relatedness bar reading 79% linked, 1,679 related, 436 alone and 2,115 total, and a legend of the types. Zoom controls and a 3D button sit in the corner.
The Graph view over example data. Semantic and Sort are struck through because the graph cannot apply them.

The Gallery view tiles every entity as a card labelled with its type (Person, Place, Concept, Thing, Product, Receipt, Content, Note, Reflection, Thread, Page view, Document excerpt) — events and messages carry a badge naming the connector they arrived through instead, falling back to Event / Message when there is none, and files carry no type label at all. Photo/video entities show real thumbnails, other files show their filename and a file glyph, and text-only entities show their summary.

The Explorer's Gallery view with a Files filter applied. A grid of thumbnails shows example landscape and city-skyline images, with a File chip and a Save button above the grid.The Explorer's Gallery view with a Files filter applied. A grid of thumbnails shows example landscape and city-skyline images, with a File chip and a Save button above the grid.
The Gallery view, filtered to files. The thumbnails are example images.

The Map view pairs a base map with a synced timeline panel on the left; clusters expand as you zoom, and the Search events in this area button restricts results to the current viewport.

The Explorer's Map view. Satellite imagery of a coastal city carries numbered cluster markers and a blue track of location history. A timeline panel down the left lists dated event cards, and Hide location history and Search events in this area buttons sit over the map.The Explorer's Map view. Satellite imagery of a coastal city carries numbered cluster markers and a blue track of location history. A timeline panel down the left lists dated event cards, and Hide location history and Search events in this area buttons sit over the map.
The Map view with example events. The map imagery is credited in its corner.

Photo/video events show real thumbnails in List/Gallery/Map; clicking one opens a cross-result lightbox. The same media is preserved when you share the search — see Sharing below.

Search & filters

One global search box lives in the header of every signed-in page, except a shared search — there the body is the owner’s results, so the viewer’s own search box is suppressed rather than misleading them. On the Explorer, and on the People, Places, Things, Content and Tags pages, typing writes ?search live (debounced), so the list narrows as you type. Everywhere else it’s a jump-to launcher: entity suggestions open the matching detail page, and committing a free-text query opens it in the Explorer. Recent searches surface when you focus it.

On the Explorer the filters are not hidden behind an Advanced toggle — they render inline, in a row under the header:

  • What — a bar of icon buttons for People · Places · Messages · Events · Browser · Content · Things · Tag. Content and Things are groups (Content, Files, Notes; Things, Products, Receipts), and Events lists your account’s own event kinds — visited, messaged, traveled, and so on. On Memory → Events the bar offers only Messages, Events, Browser and Tag.
  • When — presets (Yesterday, Last week, Last month) or a custom range with optional start and end times.
  • How — the connectors an event arrived through, listed by their internal names, such as email, calendar, spotify or google_photos.
  • Activity, Who and Where — pickers for event kinds, people and places. Each shows only while a kind it can narrow is in play. Who can also limit results to messages sent to, or received from, that person.
  • Has a location — limit to events that carry coordinates.
  • Semantic — re-rank by meaning rather than keyword match.
  • Sort — on Events: Default / Relevance / Newest first / Oldest first / Name (A–Z) / Name (Z–A). On Memory: Relevance and Name, plus Newest first and Oldest first once a When filter is set.

You can also set who, where and tags by dragging: person, place and tag rows in the header search results are draggable, and dropping one into the filter area adds it to people, places or tags.

Every applied filter — dragged in or picked from a control — appears as a removable chip in one drop area below the row, with Clear all at its right edge and the running count beside Save. A saved-search picker beside Save loads one of your saved searches without leaving the Explorer. Removing a chip clears its URL parameter, which unselects the matching control, so the chips and the controls can never disagree.

The Advanced panel still exists, but only on other pages: focus the header search box there and the same What / When / How / toggles / sort controls open in the panel footer.

The Graph view can’t honour every filter. It ranks by connection rather than by meaning, has no map viewport, and has no result order — so Semantic, Map area and Sort are shown struck through with the reason, and the filter count reports them as “N not applied here” rather than dropping them silently. Graph search also only reaches entities that carry connections, while List, Gallery and Map search the full memory index including file contents.

Editing and deleting

The Explorer is not read-only. Clicking a result opens a detail drawer; where the type supports it, a pencil edits its fields and tags in place, and a bin deletes it.

Nine types can be deleted from the drawer: events, content, places, people, things, concepts, notes, messages and browsing records. Only event deletion is reversible — the event is tombstoned and the confirmation toast offers Undo. Everything else is destroyed outright, along with its tags and links to other things, and the confirmation dialog says so.

Photos and documents are different. Deleting a content item from the drawer removes the content record and its base entity. It does not delete the stored file: the bytes and the file’s row in ci.files stay on your appliance. There is no file delete route today, so the only way to remove the bytes is the forget path (the memory.forget tool), which purges what it is pointed at. Until you run it, a deleted photo or document can still occupy storage. This will change when the drawer is made to purge the bytes. Files, answers, threads and file chunks have no delete affordance at all.

Elsewhere in the hub: Tags supports rename (renaming onto an existing tag merges them) and delete; People carries a merge-suggestion queue you can accept or dismiss; Things has a Review sightings tab for resolving observations onto the thing they belong to.

In a shared search the drawer is display-only — every edit and delete affordance is suppressed for the viewer.

Saved searches

Any search you build can be saved so you can come back to it. Click Save at the right of the applied-filter row — the dialog stores the current query, entity types, tags, and all your active filters (who/where/when/how/sort/semantic/located), so the saved search round-trips the full search. You can also start from New saved search on the Saved Searches page.

Saved searches live at /saved-searches, one card each, showing:

  • The name, and a Shared badge if the search is currently link-shared
  • The query, and a coloured dot per entity type it covers
  • Which secondary dimensions it carries, named rather than counted — Who · Where · When · Activity · How · Direction · Semantic
  • Edit / Share / Delete actions

Below your own searches, a collapsed Starter searches section holds a library of more than a hundred ready-made searches, seeded once per account. Edit or delete any of them.

Clicking a card opens the Explorer with that search restored — every filter, the right sort, the right view.

Click the pencil on any card to open the Edit modal. Below the usual name / description / query / entity types / tags, a Filters section exposes a full editor for the secondary dimensions:

  • Who / Where — name patterns as removable chips, with live suggestions
  • How / Activity — removable chips picked from the values in your own data, so a typo cannot create a filter that matches nothing. How is the connector an event arrived through, and Activity is its kind
  • Direction — for a Who filter, whether the message was sent to or received from that person
  • From / To — date pickers
  • Sort — a preset dropdown
  • Located only / Semantic search — toggles

Editing here keeps the saved search in sync everywhere it runs — including a shared link.

A saved search can be turned into a read-only capability link that someone else on your server can open.

Open the share modal from a card’s share button — or build a search, click Save, and choose Save & share, which saves the search and opens the modal. Sharing stays off until you choose Link shared there.

Under Visibility, choose Link shared to mint an unguessable token. The modal then exposes:

  • A share link (/shared/<token>) with a copy button
  • Share via buttons for Email, Message and a QR code — the QR code is for someone standing next to you with their phone

The recipient signs into your server and opens the link to a focused, read-only Explorer (List / Gallery / Map) with no edit controls and no global search box. The rest of the app’s navigation stays on screen. The search runs as you (the owner) so the link surfaces only what’s already in your saved search; if they’re signed out when they click, the OIDC login flow brings them back to the same share link automatically.

Capability tokens, signed-in only. A share link grants access only to that one saved search. Choosing Not shared — then Link shared again — rotates the token; the old link stops working. Any viewer still has to be a signed-in user on your server: shares are not anonymous, and the modal says so.

What a share records and what you can undo:

  • The first time a signed-in person opens the link, Companion Memory creates a standing grant for that person and that one saved search. It appears under Saved Searches → Asks → Who can ask me what as saved_search · all classes. The row does not say which search it is for, or that it came from a share.
  • Each time someone other than you opens the link, the read is recorded under What I’ve shared. The row names the reader and the saved search, reads “Asked about: saved_search” and says how many items were shared. Your own opens are not recorded.
  • There is one grant row for each shared search and each reader. To cut one person off, open Who can ask me what and Revoke each of that person’s saved_search rows. They then get no results from those searches. Opening a link again does not give the access back, and neither does a new link for the same saved search.
  • To end a saved search’s link for everyone, choose Not shared.
  • A share made in the app has no end date and no disclosure ceiling, so the reader sees everything the saved search returns. Those two options exist only on the GraphQL mutation setSavedSearchSharing.
  • The link runs your saved search as it is now. If you edit the saved search, every existing link follows the edit, and a rolling date range such as “last week” moves with the clock. The API lets a viewer change the sort order and page size; the web viewer has neither control and loads 30 results at a time.
  • If an operator sets ENABLE_SHARED_SEARCH=false, every share link shows as unavailable.

For how grants, asks and sharing fit together, see Asking Other Companions and Asking and sharing architecture.

Assistant chat

The Chat page (Memory → Chat) turns your memory into a conversational surface: ask a question in natural language and a locally-served model answers grounded in your own entities, citing the people, events, and concepts it drew from. A Chat Threads rail keeps your conversations, and the model picker sits in the composer beside the input, where it selects which model answers and toggles Tools and Thinking for models that support them. The placeholder says what it’s for — “Ask about Memory, Plan, Forecast, Brief…” — and an empty thread offers ten suggested asks.

The composer stays disabled, and the picker reads No models loaded, until Memory has a chat model — see Give Memory a chat model.

Chat can act as well as answer. Depending on the trust setting you chose during setup (Settings → Autonomy), Companion asks first before it deletes data, sends a message, completes a task or uses a connected MCP server, and on Cautious before it reads from an outside service. Hands-off waives this for chat, but an installed app is still asked about anything that deletes data or reaches outside the appliance. Requests wait in Approvals and expire after 24 hours if nobody answers. Activity records tool runs and refusals.

The Chat page. A Chat Threads list down the left has a New Thread button and recent threads. In the open thread, the question What did I do yesterday? is answered with a short list of the day's example events. The composer at the bottom holds a model picker reading docs-demo-model and a send button.The Chat page. A Chat Threads list down the left has a New Thread button and recent threads. In the open thread, the question What did I do yesterday? is answered with a short list of the day's example events. The composer at the bottom holds a model picker reading docs-demo-model and a send button.
Chat over example data. The model here is a stand-in that returns one fixed reply, so the screenshot shows the layout, not what a real model would write.

Planning and Forecast

After you sign in, you land on the Memory Explorer. Planning is one click away on the rail and opens on Tasks — a task board for what you mean to do, where Companion also proposes tasks for you to accept or dismiss. Calendar shows your schedule. If planning.page is off, Planning opens on Calendar instead.

Today is a separate page that gathers the Actions your companion asks you, and the Insights & Summaries it generates as it learns from your memory. It is off by default (today.page), so on a stock install the old /today, /brief, /schedule, /feed and /insights routes all land on Calendar. Forecast — the next-day behavioural strip, what the model thinks comes next — is also off by default (forecast.page) and has its own rail entry when enabled. The Calendar also draws a rhythm layer from the forecasting engine, for the next seven days only. Turning the hbpe flag off (ENABLE_HBPE=false) hides forecasts, but it does not stop the nightly labeling and training. To stop those, see Turning learning off.

Jobs

Jobs shows what the appliance is doing for itself: queued and running work, history charts, schedules, and dead letters. Its Controls card lets an administrator turn work down without turning it off. Pause background work stops every queue that carries no interactive work, so chat keeps answering while imports and indexing wait. Each queue also has an On / Pause / Off mode. Pause keeps the backlog and runs it when you switch back on. Off drops new work, and it does not come back. If forecasts, labeling or another background job look stuck, see Forecasts, labeling and background jobs.

Self

Self is the identity hub, reached from your avatar at the foot of the rail:

  • Profile — your own person record, your life details, the people you are connected to, About you (how Companion currently understands you, with a How I’d do this box that suggests your approach to a task you paste in — suggest-only, nothing is scheduled — and a Something wrong? box to correct it), Invitations for adding accounts, and your account: change your password or Delete account.
  • Stats — totals and breakdowns of what your memory holds.
  • Reflections — the catalogue of questions your companion can ask you.
  • Settings — a dialog on desktop, a page on a phone. Its sections are Appearance, Preferences, Autonomy, Model, Location, BlueBubbles, MCP Servers, Agents, API Keys, OAuth Credentials, Privacy, Trust & protocols and Your data, plus On-device model and App lock in the phone apps, Safari on iOS and a GraphiQL link where the IDE is enabled.

The model endpoint, BlueBubbles connection, MCP servers and job controls are appliance-wide, so only an administrator can change them.

Mobile

The Explorer is responsive, and a shared search opens on a phone too — the view tabs render inline (the global header collapses), the filter row sits behind a Filters button, the map uses a touch-optimised mobile layer, and the Power Rail becomes a glass overlay drawer you open from the screen edge.

The native Android app is on Google Play ; the native iOS app is on the App Store . See Mobile App. The apps need a CI Account and a running Companion Memory: they sign in through your Companion account, then ask you to choose the Companion Memory instance to talk to. Recent builds add Settings → On-device model, which downloads a small language model to the phone and sets when Chat uses it: always your Companion, your Companion with the phone as a fallback, or always the phone.

API access

Companion Memory exposes a local REST and GraphQL API. Requests authenticate with an API key that you create in the web UI under Settings → API Keys — the full key is shown once at creation, and you send it as an x-api-key header. Memory also accepts it as Authorization: Bearer, except through an address that asks for the Hub login.

A key carries two independent settings, and both are chosen when you create it:

  • Scopes — which surfaces the key opens: Memory (/api/memory), Intents (/api/intents and the tools an MCP client sees), MCP (/api/mcp), Capture (bulk ingest at /api/v1 and file uploads at /api/files). Leave every box unchecked and the key is a full-surface credential that reaches everything, including GraphQL — which is the default, because GraphQL declares no scope of its own and so refuses scope-limited keys outright.
  • Capability — what it may do there: Read-only, Read & write (the default), or Read, write & delete. This is enforced independently of scopes. A read-only key can search and read, but a request that changes anything — a non-GET REST call, or a GraphQL mutation — needs at least Read & write, even if the key has full surface access. That includes the ingest and file-upload routes below.

REST

# Ingest events — up to 1000 per request, deduplicated on the provenance # triple (source_type, source_system, source_id); source_type defaults to # "capture" when omitted, so re-POSTing this body counts as a duplicate curl -X POST <memory-url>/api/v1/events \ -H "x-api-key: $CI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "events": [ { "source_system": "my-app", "source_id": "meeting-2026-04-01", "kind": "note", "occurred_at": "2026-04-01T10:00:00Z", "title": "Meeting with team", "payload": {} } ] }'

Searching is a GraphQL operation rather than a REST route — see below.

GraphQL

The graph of entities, events, files, people, places, and summaries is available through a single GraphQL endpoint at /api/graphql:

# Recent events curl -X POST <memory-url>/api/graphql \ -H "x-api-key: $CI_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query": "{ events(first: 5) { edges { node { id title startTime } } } }"}' # Search — results are a union, so select per type with inline fragments curl -X POST <memory-url>/api/graphql \ -H "x-api-key: $CI_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query": "{ search(input: {query: \"your query\", first: 5}) { totalCount edges { node { __typename ... on EventType { id title startTime } } } } }"}'

API playground (GraphiQL)

Companion Memory ships the GraphiQL  IDE so you can explore the schema and run queries interactively — no external tooling required.

GraphiQL is off on appliances by default. The IDE follows the graphql.ide feature flag, which production builds — including the one Hub installs — turn off. With it off, /api/graphiql returns 404 and the GraphiQL link is hidden from the Settings sidebar. An administrator can turn it on by setting ENABLE_GRAPHQL_IDE=true. GraphQL schema introspection is also off in production, so the Docs panel can come up empty. Queries sent with curl, as above, work either way.

The Companion Memory GraphiQL playground. A top bar for pasting an API key sits above the schema explorer and the query editor, with a Run button.The Companion Memory GraphiQL playground. A top bar for pasting an API key sits above the schema explorer and the query editor, with a Run button.
The GraphiQL playground. It has its own light and dark toggle.
  1. Create an API key — in the web UI, open Settings → API Keys, select Create API key, name the key, and copy it (it’s shown only once). Leave every scope unchecked: GraphQL declares no scope, so a scope-limited key is refused on every field.
  2. Open the playground — go to Settings → GraphiQL. It opens the IDE in a new tab (served at /api/graphiql).
  3. Authenticate — paste your key into the API key field in the top bar and click Save. The status turns to key active and the key is stored in your browser and attached (x-api-key) to every request. Use Clear to remove it.
  4. Explore & run — click Docs (top-right) to browse the schema, write a query in the editor, and press the ▶ button to run it. Results appear on the right.
# Your 20 most recent events query RecentEvents { events(first: 20) { edges { node { id title startTime } } pageInfo { hasNextPage endCursor } } }

List fields use cursor pagination (first/after), so pass the endCursor from pageInfo back as after to page through results.

Agent integration (MCP)

Connecting an agent you already run? Connect Companion Memory is the full guide — scopes, capability, per-client config, and troubleshooting by symptom. This section is the short version.

Companion Memory speaks the Model Context Protocol over Streamable HTTP at /api/mcp, so any MCP-capable client — Claude Code, Cursor, OpenCode, OpenClaw, Hermes — can use your memory as a tool source. Authenticate with the same API key, sent in the x-api-key header. Companion Memory also accepts it as Authorization: Bearer, but an address that asks for the Hub login answers a Memory key sent that way with 401.

{ "mcpServers": { "companion-memory": { "type": "http", "url": "<memory-url>/api/mcp", "headers": { "x-api-key": "<your API key>" } } } }

Keep the "type": "http" line. Clients that infer the transport from the URL tolerate its absence, but Claude Code does not — it skips an entry that has a url and no type, and the server never appears.

Key scopes

Scopes decide both whether you connect and which tools you see:

KeyConnectsTools advertised
No scopes (full access)YesAll — GraphQL-derived and native intents
mcp + intentsYesNative intents only
mcp aloneYesNone
Without mcp403
What an MCP client sees, by the scopes on the API key it presents.

A key holding mcp but not intents is the trap: it authenticates, the session opens, and the tool list comes back empty — which most agents surface as “this server has no tools” rather than as a permissions problem. Give a scope-limited key both mcp and intents.

A key with no scopes at all also fixes the empty tool list, but it is a full-surface credential — it reaches GraphQL, bulk ingest, and files. Capability still applies on every route: anything that changes state needs at least Read & write, so a “Read-only” unscoped key can query GraphQL but cannot run a mutation. Prefer mcp + intents unless you specifically need GraphQL. See the scope trap.

GraphQL-derived tools are never advertised to a scope-limited key, whatever its scopes; they require a full-access key. Memory rejects a request that carries no key with 401; an address that asks for the Hub login redirects it to the login first.

Troubleshooting

Ingestion pipeline not running Check the container logs in Companion Hub under the Companion Memory app. Ensure the source connector has the correct API key or token configured.

Chat box is disabled, or the model picker reads “No models loaded” Memory has no chat model to talk to. Open Settings → Model, run Test connection, and choose a model. If the test connects but lists no models, pull or expose one in Ollama, vLLM or Companion Hub first. If Chat says Chat can’t reach a model, the model server is not answering; when it gives no answer at all, the message says which address Memory tried and the likely cause. See Give Memory a chat model.

A new person can’t sign up On an appliance that already has an account, sign-up needs an invitation code. The owner creates one under Self → Profile → Invitations → Create an invitation. Each code works once.

Companion Capture or the browser extension can’t sign in, or Memory refuses its token Both sign in with your CI Account, and Memory checks the token they send. Two server settings control that. PORTAL_OIDC_ENABLED is on by default; set to false, Memory ignores CI Account tokens and both apps are refused. PORTAL_OIDC_AUDIENCE is a comma-separated list of the token audiences Memory accepts. The default includes ci-browser-extension for the extension and ci-applet for Companion Capture, so keep both if you set your own list. Memory also has to match the person. It accepts a CI Account that is already linked to one of its accounts, or one whose verified email address is the email of an account that has not been linked yet. On an appliance that already has an owner, any other CI Account is refused.

Search returning no results Indexing runs asynchronously after ingestion, and after a large import it can lag well behind the data. New content is embedded as it is created, and other record types are swept hourly; bulk imports are picked up by those sweeps. Most of the remaining enrichment runs in a nightly window that opens at 01:00 on the server’s clock by default and stays open for five hours. Some steps run weekly. Open Jobs in the left rail: the dashboard shows what is queued and running, the list filters by state and job type, and History covers the window pg-boss itself no longer retains. If the queues are idle and the results are still missing, the indexing work never got enqueued — check the container logs in Companion Hub rather than waiting longer. There is no in-app “re-index” button.

Nothing to reclaim disk with Stats breaks your memory down by entity type, by tag and by data source, so you can see which source is responsible for the bulk of it — but it counts entities, not bytes, and there is no retention window, pruning rule or per-source storage report in the UI. To cut one off, open it from the connected-accounts list on Sources → Services and Delete the connection; individual objects are deleted from the Explorer’s detail drawer.

Agent not using memory Verify the MCP endpoint responds. On a Hub install, use an address that goes straight to Memory as <memory-url>: http://127.0.0.1:<host-port> on the Hub’s own computer, the LAN address if you opened the port, or the Private VPN address with a port number. A Public domain address or a separate Private VPN address asks for the Hub login unless you turned that off for the app, so a request with no key gets a redirect (302) from the Hub. From Memory itself, an unauthenticated request should return 401, which confirms that routing and auth are both live:

curl -s -o /dev/null -w '%{http_code}\n' -X POST <memory-url>/api/mcp \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'

Read the code you get back:

  • 405 — the URL is wrong. The MCP server is at /api/mcp, not /mcp.
  • 401 with a key attached — the key is unknown or revoked: mint a new one under Settings → API Keys. An address that asks for the Hub login also answers 401 to a Memory key sent as Authorization: Bearer; send it as x-api-key there.
  • 403 — the key is valid but lacks the mcp scope.

If the endpoint answers correctly and the agent still ignores memory, check in this order:

  1. The agent reports the server as connected but empty. The key is missing the intents scope — see Key scopes. This is the most common cause.
  2. Claude Code shows no such server at all. Its entry is missing "type": "http".
  3. Otherwise, open Settings → Agents and check that the agent shows as connected to Memory and running. If it does not, connect it again from its app page in Companion Hub.

Shared link returns “This shared search isn’t available” The token may have been revoked. Sharing is one of Not shared / Link shared; turning sharing off — then on again — issues a new token, and the old link stops working. Ask the owner to share again; their share modal shows the current link. The link also requires the viewer to be a signed-in user on the same server (shares are signed-in-only, not anonymous). The same page appears to a person whose grant the owner revoked, and a new link does not restore their access.

Shared gallery is blank The owner’s photo/video event needs to have its media file ingested too (not just the timeline event), and the shared search must include event and file entity types. Open the search via the owner’s Edit modal and confirm the entity types and filters.

Last updated on