Installation

Engrams is a standalone Rust binary. It runs entirely locally in your workspace with zero daemon or server overhead. Install it once and every session your AI runs starts compounding into advice.

Step 1 — Install the CLI

Pick any of the three verified install methods for macOS or Linux:

curl -fsSL https://engrams.sh/install | bash

Step 2 — Initialize your project

Navigate to your project root directory and run:

engrams init

This command initializes the local SQLite database at engrams/context.db and outputs the resolved path.

The loop starts hereFrom the first session, your agent logs decisions and patterns as it works and recalls them on the next one. On day one your advisor mostly fetches what you ask for; within weeks the graph is dense enough that it starts anticipating — surfacing the decision that contradicts the approach it was about to take. That compounding is the product.

Step 3 — Teach your AI Coding Tool

Print the built-in agent instructions directly into your repository's agent rules file (such as AGENTS.md or CLAUDE.md):

engrams instructions >> AGENTS.md

For Cursor, Zed, omp, or Claude Code locations, see AI Tool Setup.

Step 4 — Verify the installation

Run the session briefing command to confirm your workspace database is live:

engrams prime

You will receive a structured JSON briefing of your initialized workspace.

Where is the database stored?By default, engrams looks for the closest workspace root (indicated by .git, Cargo.toml, or package.json) and stores the database at <workspace>/engrams/context.db. You can override this by passing the --db <PATH> or --workspace <PATH> flags.

Next: Quick Start →