Give your AI a permanent memory in under 2 minutes. Works with any AI that supports MCP — Claude, ChatGPT, DeepSeek, Gemini, Mistral, Cursor, local models, and more.
MCP = Model Context Protocol — the standard way AI apps connect to local tools.Before you start: Make sure SAGE is running. If you installed the app, just open it. If you built from source, run sage-gui serve. You should see the CEREBRUM at http://localhost:8080/ui/
In Claude Desktop: Settings → Developer → Edit Config.
This opens a JSON file called claude_desktop_config.json.
Add this to the file (replace the entire contents if it's empty):
{
"mcpServers": {
"sage": {
"command": "/Applications/SAGE.app/Contents/MacOS/sage-gui",
"args": ["mcp"],
"env": {
"SAGE_HOME": "~/.sage",
"SAGE_PROVIDER": "claude-desktop"
}
}
}
}
"command": "C:\\Program Files\\SAGE\\sage-gui.exe"
Quit and reopen Claude Desktop. You should see a tools icon (hammer) in the chat — click it to verify SAGE tools are listed.
Start a new conversation and type:
Initialize your SAGE memory.
Open a terminal in your project directory and run:
# macOS (DMG install):
/Applications/SAGE.app/Contents/MacOS/sage-gui mcp install
# Built from source / Linux:
sage-gui mcp install
This creates a .mcp.json in your project, installs Claude Code hooks for reliable memory persistence, and sets up tool permissions automatically.
Close and reopen Claude Code (or start a new terminal session). SAGE tools will appear automatically.
Tell Claude:
Initialize your SAGE memory.
CLAUDE.md file to your project containing: “Call sage_turn every turn to maintain persistent memory.” This ensures the memory lifecycle runs reliably across sessions.
sage-gui mcp binary, ChatGPT’s MCP connector requires an HTTPS-reachable endpoint and OAuth 2.0 authentication. SAGE ships built-in support for both, plus a guided setup wizard inside CEREBRUM.
Launch SAGE and open the dashboard at http://localhost:8080/ui/. Go to the Network tab and find the Connect external clients section. Click Connect to ChatGPT.
The wizard walks through:
cloudflared is installed (one-click install via Homebrew on macOS, static binary on Linux, winget on Windows).~/.cloudflared/config.yml on macOS/Linux, %USERPROFILE%\.cloudflared\config.yml on Windows) with a strict path-allowlist ingress, installs autostart (launchd on macOS, systemd on Linux — Windows users add a service in step 3 below), and verifies reachability.winget install --id Cloudflare.cloudflared. If winget isn’t available (older Windows 10), grab cloudflared-windows-amd64.exe from the cloudflared releases page, rename to cloudflared.exe, drop it on your PATH (e.g. C:\Windows\System32), then re-run step 1. After the wizard finishes, the tunnel won’t auto-respawn on reboot until you register it as a Windows service — see step 3.
The wizard installs autostart natively on macOS (launchd) and Linux (systemd user unit), but Windows requires a one-shot manual step. Open an admin PowerShell after the wizard completes and run:
cloudflared.exe service install
This registers cloudflared as a Windows service using the config the wizard already wrote. The tunnel will now survive reboots. macOS / Linux users skip this step entirely.
Open ChatGPT → Settings → Connectors → Create New → MCP Server. Paste the fields from the wizard:
https://<your-host>/v1/mcp/sse/.well-known/oauth-authorization-server)chatgpt)noneClick Create. ChatGPT redirects to SAGE’s consent screen; pick the agent from the dropdown; the connection goes live.
sage-gui mcp-token revoke <id>.
Install the MCP SuperAssistant Chrome extension. It bridges MCP tools between your browser and local services.
Open the extension sidebar and add a new MCP server:
Command: /Applications/SAGE.app/Contents/MacOS/sage-gui
Arguments: mcp
Environment:
SAGE_HOME=~/.sage
SAGE_PROVIDER=chatgpt
Open chat.openai.com in Chrome. The extension wires SAGE in transparently. In your first message, tell ChatGPT:
You have SAGE memory tools. Use sage_turn every reply to build persistent memory.
sage-gui mcp.
Most MCP-compatible tools have a JSON config file or settings panel for MCP servers. Check your tool's documentation for where to add MCP server configs.
The config is the same everywhere — just change the SAGE_PROVIDER to match your tool:
{
"mcpServers": {
"sage": {
"command": "/path/to/sage-gui",
"args": ["mcp"],
"env": {
"SAGE_HOME": "~/.sage",
"SAGE_PROVIDER": "your-tool-name"
}
}
}
}
cursor, windsurf, etc. Facts (verified truths) are shared across all providers automatically.
Restart your AI tool, then tell it:
Call sage_inception to initialize your memory. Then call sage_turn every reply.
Make sure SAGE is running — check http://localhost:8080/ui/ in your browser. If the CEREBRUM loads, SAGE is running. Also verify the path to sage-gui in your config is correct.
SAGE runs on port 8080 by default. Make sure no other app is using that port, and that SAGE was started before your AI tool.
This usually means the embedding provider isn't configured. Open the SAGE app (or run sage-gui setup) to re-run the setup wizard. Pick "Hash" for zero-setup or "Ollama" for semantic search.
Yes! That's what SAGE_PROVIDER is for. Each tool gets its own memory space. Set different provider names in each config. Facts are shared; personal observations and reflections stay scoped to each tool.
Everything stays on your machine in ~/.sage/. The database is a single SQLite file. Nothing is ever sent to any cloud. If you enabled encryption during setup, all memories are AES-256-GCM encrypted at rest.
Absolutely. SAGE is model-agnostic — your memories belong to you, not to any provider. Just add the config to your new tool and your AI picks up where the last one left off. Facts are shared across providers automatically.