DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

jwitmann /

jwitmann/vcc-brain

仅 Topic 仓库

The self-improving context engine for coding agents — durable Markdown brain with deterministic context management. No RAG, no embeddings.

★ 1 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub项目主页
README来源: main@074dde4f

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


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.

Origin

Originally forked from aerovato/operator-memory; continued here as an independent line with deterministic context management (VCC compaction, lossless trim, recall/search recovery), cache-aware preamble refresh, and the DeepSeek Harness adapter.

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.
  • Deterministic Context Management — Reduce what a session resends to the model through deterministic rules (never model judgment), with per-session receipts for everything it does. Off by default and Brain-gated. OpenCode · DeepSeek.
  • Cache-Aware Preamble Refresh — Re-render the preamble mid-session when the Brain changes, timed to cold prompt-cache moments so it costs nothing. How it works.
  • Brain-Update Nudges — A quiet reminder to record durable knowledge during long sessions; never an automatic writer. How it works.

Installation

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

npm install --global @jwitmann/operator-helper

Or Bun:

bun add --global --minimum-release-age 0 @jwitmann/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.

The memory-aware agentic loop: consult the brain, build, update the brain

Everyday Workflow

  1. Give the agent normal development work.
  2. The agent automatically consults existing knowledge: index for navigating code, specs for module contracts, guides for third-party integration details.
  3. The agent automatically updates existing knowledge: When project truth changes, the relevant documents are automatically updated.
  4. The next session continues from the updated knowledge.

Sometimes agents hesitate to create, consolidate, or split documents. In that case, steer the agent towards making larger architectural decisions:

  • "Write a spec for this feature before implementing it."
  • "Record this research so we do not repeat the investigation."
  • "These two documents overlap. Consolidate them."
  • "This document is too large. Split it."
  • "Promote this spec to Shared so the team receives it."

Roadmap

Operator Memory is under active development. More features are on the way. Each will come with an explicit on/off switch in case you prefer the vanilla Operator experience.

  • Observation Engine — Learn durable user observations over time, kept separate from explicit User Instructions.

VS Other Memory Plugins

Snippet capture, RAG retrieval, and context compression all fail the same way.

  • Read the comparison.
  • Read the blog post.
  • Looking for benchmarks?

Learn More

  • Getting Started - onboarding and usage guide: how Operator works, setup, daily use, directing the agent, and reviewing the Brain. Includes the command reference.
  • Architecture - how partitions, catalogs, indexes, and deterministic context loading work.
  • Harness docs - per-harness installation, verification, commands, updates, and troubleshooting.
  • Troubleshooting - validation, repair, and update recovery.

License

BSD 3-Clause. See LICENSE.

—/ 5

暂无评分

需要先验证清单

Commit 074dde4f2dde

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于