Skip to main content
Get Engram up and running with your AI coding agent in 5 minutes.

Prerequisites

  • macOS, Linux, or Windows (x86_64 or ARM64)
  • An AI coding agent that supports MCP (OpenCode, Claude Code, Gemini CLI, Codex, VS Code, etc.)
  • Go 1.25+ (only if building from source)

Installation

Verify installation:

Agent Setup

Connect Engram to your AI coding agent using the one-command setup:
For other agents (Antigravity, Cursor, Windsurf) or manual configuration, see Agent Setup.

First Memory

Let’s verify everything works by saving your first memory using the CLI:
1

Save a memory

You should see:
2

Search for it

You should see your observation in the results with FTS5 ranking.
3

View statistics

You should see:

Using with Your Agent

Now that Engram is set up, your agent can use memory tools automatically.

Example: Saving a Memory

When you complete significant work in your coding session, the agent will call mem_save:

Example: Searching Memory

When you ask “How did we fix the N+1 query?”, the agent will:
1

Call mem_search

2

Get compact results

Results include title, type, project, and a content preview with observation IDs.
3

Call mem_get_observation (if needed)

Gets the full untruncated content.

Explore the TUI

Launch the interactive terminal UI to browse your memories:
Navigate with j/k (vim keys), Enter to drill in, t for timeline, / to search, Esc to go back.See Terminal UI for full navigation reference.

What’s in Your Database?

Engram stores all data in a single SQLite database:
On Windows:
You can inspect it with any SQLite browser or the TUI.

Next Steps

How It Works

Understand the memory system and session lifecycle

Memory Protocol

Learn when agents should save and search memories

MCP Tools

Explore all 13 memory tools

Git Sync

Share memories across machines and teams

Troubleshooting

Ensure the binary is in your PATH.macOS/Linux:
If installed via Homebrew, it should be in /opt/homebrew/bin/engram (Apple Silicon) or /usr/local/bin/engram (Intel).Windows:
Verify the MCP server is configured:OpenCode:
Should contain:
Restart your agent after configuration changes.
Another Engram process may be running.macOS/Linux:
Windows:
Kill the process and try again.