engram-cli

A git-native memory tool for AI agents. Personal + team/project memory that any harness (Pi, Claude Code, cloud review bots) can use. Built with Effect.

Packages

Package details

extensionskill

Install engram-cli from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:engram-cli
Package
engram-cli
Version
0.7.0
Published
Nov 26, 2026
Downloads
847/mo · 710/wk
Author
tmoh
License
MIT
Types
extension, skill
Size
769 KB
Dependencies
4 dependencies · 3 peers
Pi manifest JSON
{
  "skills": [
    "./skills"
  ],
  "extensions": [
    "./dist/pi-extension.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

engram

npm Node CI

Engram gives AI agents durable memory across sessions. Save decisions, preferences, and lessons as plain Markdown with YAML frontmatter so you and your agents can read them with or without the CLI.

Project memory lives in .engram/ and can be shared through Git. Personal memory lives in ~/.engram/ and stays local. Check recalled memory against current evidence before acting on it.

Install

Requires Node.js 20 or newer. The npm package installs the engram command.

npm install -g engram-cli

Quick start

From a Git checkout, use --tracked if you plan to share project memory. Use --untracked to keep project memory out of Git.

engram init --tracked
engram add --title "Use pnpm for this project" --type preference --tags tooling \
  "CI expects pnpm-lock.yaml."
engram search "tag:tooling"

Use the ID from the result with engram show <id> to read the full entry. To share tracked memory, review the files under .engram/ and commit them.

Agent / harness integration

Run engram inject and paste the output into your agent's instructions. For managed setup and host-specific features, see the harness guides.

Documentation

Start with the documentation index for guides and reference. Run engram --help or engram <command> --help for the commands and flags available in your installed version.

Report an issue · Contribute · Release history · MIT license