Documentation

Get started

HiMem gives every AI session persistent memory. One key, all your AI tools. This guide gets you from zero to memory-enabled in under 5 minutes.

Quickstart

1
Get your API key
Sign up at himem.ai, choose a plan, and your hm_live_... key is emailed instantly.
2
Install the browser extension
Install from the Chrome Web Store or Edge Add-ons. Works on Chrome, Edge, Brave, and any Chromium browser.
3
Enter your key
Click the HiMem extension icon → Settings → paste your hm_live_... key → save.
4
Start a session
Open any supported AI. The HiMem button appears. Your context loads automatically on the first prompt.
Note

The extension injects context before your first message. On subsequent messages it saves the conversation automatically. Nothing to do — it just works.

Browser extension

The extension is the fastest way to use HiMem. It works on 15+ AI platforms and requires no configuration beyond your API key.

Supported platforms

Claude
claude.ai — full support
ChatGPT
chatgpt.com — full support
Gemini
gemini.google.com
Grok
grok.com
Cursor
cursor.ai
Mistral
chat.mistral.ai

Extension settings

SettingDefaultDescription
API KeyYour hm_live_... key from himem.ai
Default ProjectdefaultWhich project to load context from
Auto-injectOnInject context before every prompt automatically
Auto-saveOnSave the conversation after every AI response

Connectivity

For the best experiences, add HiMem as an MCP integration. This lets you load and save context autonomously — no button click needed.

1
Claude
available soon
2
Cursor
available soon

MCP tools

When connected via MCP, Claude (and other MCP-compatible tools) can call these tools directly.

ToolDescription
load_contextLoad full project context. Call at the start of every session.
save_contextSave the project context document.
rememberSave a key/value to permanent memory.
recallRetrieve a memory by key.
list_memoriesList all memory keys for a project.
forgetDelete a memory by key.
searchSearch conversation history semantically.
get_threadsGet open and resolved threads for a project.
resolve_threadMark a thread as resolved.
save_sessionSave current conversation messages to history.
statusCheck HiMem connection status and plan details.

API

All API requests go to https://api.himem.ai. Authenticate with your key as a Bearer token:

# Load context
curl https://api.himem.ai/context/load?project=my-project \
  -H "Authorization: Bearer hm_live_..."

# Save context
curl -X POST https://api.himem.ai/context/save \
  -H "Authorization: Bearer hm_live_..." \
  -H "Content-Type: application/json" \
  -d '{"project":"my-project","content":"# My Project\n..."}'

# Semantic search
curl "https://api.himem.ai/search?q=authentication+decisions&project=my-project" \
  -H "Authorization: Bearer hm_live_..."

CLI

The HiMem CLI lets you manage memory from the terminal.

# Set your key
export HIMEM_KEY=hm_live_...

# Load context
himem load --project my-project

# Save a memory
himem remember --key "deploy-target" --value "AWS"

# Search history
himem search "what did we decide about auth"

# List threads
himem threads --project my-project

Projects

Projects are namespaces for your memory. Each project has its own context, history, and threads. Pass project=name on any API call or set a default in the extension settings.

Tip

Use one project per codebase or ongoing engagement. Switch projects in the extension settings when you switch contexts.

Semantic search

HiMem indexes your conversation history using vector embeddings. Search understands meaning, not just keywords.

The extension automatically intercepts memory-recall queries — phrases like "what did we decide about X" or "remind me what we discussed last week" — and injects relevant past sessions before sending.

Search also understands date hints: "in March", "last week", "yesterday".

Threads

Threads are automatically extracted from your conversations — open issues, decisions made, and pending tasks. They accumulate across sessions and are included in every context load.

Mark a thread resolved via the resolve_thread tool or API:

curl -X POST https://api.himem.ai/threads/resolve \
  -H "Authorization: Bearer hm_live_..." \
  -d '{"project":"my-project","id":"thread-id","note":"Fixed in v2.1"}'