StackMap
Subscribe
Explore / operator-memory
aerovato

operator-memory

Context engine for coding agents: each session consults, then updates, a Markdown brain of specs, decisions, standards and lessons — private, team-shared via Git, and per-user. No embeddings.

500 19 TypeScript BSD-3-Clauseupdated yesterday
View on GitHubDispute this mapping →
Curator's take

Use it when you want agent memory that looks like project documentation: specs and decisions the agent keeps current, readable in a diff and shareable with your team by committing .operator-shared/. Works across Claude Code, Codex, OpenCode, Pi and DeepSeek's harness with no background service or vector DB. NOT a recall store for chat transcripts or fuzzy retrieval — a cold project starts with a sparse brain until you ask for the first specs, and it relies on the agent choosing to update docs, so long sessions can drift.

Mapped by ShipWithAI editors · links verified

Continue your stack

What teams reach for next — and why each earns a place beside operator-memory. Ranked by curator confidence.

pairs wellalternativealternativealternativealternativedeepseek-harnessTrellisbrain.mdmexclaude-memoperator-memory
pairs wellalternativebuilt withpick a node for the why · open it from the panel
Weekly digest
README.md2 min read

Operator Memory, the self-improving context engine for coding agents

English | 简体中文


Operator Memory: The self-improving context engine for coding agents.

Operator Memory gives your agent a brain for documenting all their work. As the agent works, it automatically documents within this brain — specs, decisions, standards, research, lessons. Every new session starts knowing everything the last one learned.

Features

  • Complete Context Engine — Documentation, memory, indexes, and skills within a single integrated system.
  • Automatic Documentation — Specs, decisions, research, and more are automatically documented by the agent.
  • Transparent Memory — Memory is stored as Markdown documents you can read, update, and delete.
  • Sharable Knowledge — Track documents with Git and share knowledge with your team.
  • Zero Infrastructure — No background agents, no embeddings, no vector database, no model configuration.

Installation

Operator is managed via the Operator Helper, which also provides setup and agent instructions. Install the Helper with npm:

npm install --global @aerovato/operator-helper

Or Bun:

bun add --global --minimum-release-age 0 @aerovato/operator-helper@latest

Then install the Operator adapter for your harness. Click each link for harness-specific information.

Harness Status Install
Claude Code (CLI + Desktop) 🟢 Fully Supported operator-helper install claude-code
Codex (CLI + Desktop) 🟢 Fully Supported operator-helper install codex
OpenCode 🟢 Fully Supported (V2) operator-helper install opencode
OpenCode V1 (legacy) 🟡 Supported, Legacy operator-helper install opencode-v1
Pi 🟢 Fully Supported operator-helper install pi
DeepSeek Harness 🟢 Fully Supported operator-helper install deepseek
Kiro 🟡 Supported operator-helper install kiro

Setup is a conversation with your agent. Run each command in a new conversation.

  1. First time only: /operator:user-init — set up your global user partition.
  2. In each new project: /operator:project-init — scaffold Operator, migrate existing documents, and index the repo.
  3. Start a new conversation and do normal work.

When starting cold on an existing project, expect a sparse brain at first; ask the agent to write the first specifications for the modules you work on. Once those documents exist, later sessions maintain them as part of ordinary work.

New to Operator? Read the Getting Started guide.

How Operator Works

Agents excel in a single session but forget everything the moment it ends. Future sessions waste tokens re-gathering an incomplete context: re-exploring the codebase, re-learning the architecture, re-teaching decisions and corrections.

Operator gives the agent a durable workspace of Markdown, kept in three places:

  • .operator/ — private project knowledge, stays on your machine
  • .operator-shared/ — project knowledge published with the repository
  • ~/.operator/user/ — your personal rules and knowledge, used across projects

Every session runs the same loop:

  1. Consult — the agent starts from your Brain: instructions, codebase index, specs, guides.
  2. Build — the agent does normal development work, informed by that knowledge.
  3. Update — the agent records what changed: new specs, decisions, standards, lessons.

When project truth changes, the agent updates the canonical file instead of adding a RAG database record. For more details, see [Architecture](docs/architect