Orchestrator Memory — AI token cacheLocal project memory for AI coding — paste a short brief, stop re-prompting the whole repo. Free VS Code / Cursor extension on the Marketplace · Apache-2.0 · Publisher ndestates
★ Please read the instructionsYou are expected to read the built-in guide once before relying on Memory Brief in real work.
That guide covers both stores:
Skipping it is the main reason people miss dual-write, host CLI install, or privacy boundaries. What it doesLocal memory + cache for AI coding sessions. Durable project context lives in a small SQLite DB and the project vault so assistants (Claude, Grok, ChatGPT, Gemini, Copilot, Cursor, …) start from a short reusable brief instead of re-pasting large context every time — lower token use, faster session start, better continuity. Core features (memory + vault included)
Two layers (do not confuse)
Full detail: INSTRUCTIONS.md §1 and §6. Slash commands — same
|
| Where | How |
|---|---|
Command Palette (Ctrl/Cmd+Shift+P) |
Type /session-start · /memory-brief · /chain · /setup · /quick-start |
| VS Code Chat | @orchestrator /session-start · @orchestrator /brief · @orchestrator /chain delivery |
| Any model (Claude, Grok, Cursor, Copilot, Gemini, ChatGPT) | Paste /chain session-start or open SESSION_READY.md after running a slash |
One hub for everything
| Action | How |
|---|---|
All / commands |
Palette → / (Orchestrator slash commands) · Ctrl/Cmd+Shift+O · status bar |
/quick-start |
Install CLI + seed + brief in one shot |
/session-start |
Memory brief + /chain session-start for any AI (Ctrl/Cmd+Shift+S) |
/memory-brief |
Lean brief only (Ctrl/Cmd+Shift+M) |
/setup |
One-click host CLI install (uv + published wheel) |
/orchestrator-help |
List every slash for IDE + models |
After /session-start or /memory-brief
- Prompt is copied (same text models understand).
SESSION_READY.md+MEMORY.mdwritten in the workspace (when enabled).- Paste into Claude / Grok / Cursor / Copilot / Gemini / ChatGPT — or keep going in Chat with
@orchestrator.
Requirements
The extension is a thin wrapper around the Orchestrator host CLI (install once):
orchestrator version
orchestrator memory status
If those fail, run Orchestrator: Setup / Install CLI inside VS Code, or use any channel below.
Install
1) Extension (VS Code / Cursor)
Marketplace
- Extensions (
Ctrl+Shift+X) → search Orchestrator Memory - Or open:
https://marketplace.visualstudio.com/items?itemName=ndestates.orchestrator-memory
code --install-extension ndestates.orchestrator-memory
# cursor --install-extension ndestates.orchestrator-memory
VSIX (Release asset or local build)
code --install-extension /path/to/orchestrator-memory-2.1.0.vsix
After install: Orchestrator: Read instructions (memory + vault) → Setup / Install CLI → Memory + vault storage → Memory Brief.
2) Host CLI (required for Memory commands)
| Channel | Commands |
|---|---|
| uv + Release wheel (preferred) | VER=2.2.0 (must be a published GitHub Release) · uv tool install --force "orchestrator @ https://github.com/ndestates/orchestrator-memory/releases/download/v${VER}/orchestrator-${VER}-py3-none-any.whl" |
| From git clone | bash scripts/install.sh --uv-tool (tree tip, e.g. 2.1.0+) |
| pip + wheel | pip install "https://github.com/ndestates/orchestrator-memory/releases/download/v${VER}/orchestrator-${VER}-py3-none-any.whl" |
| PyPI (when live) | uv tool install orchestrator / pip install orchestrator |
| npm GitHub Packages | ~/.npmrc with @ndestates:registry=https://npm.pkg.github.com + PAT read:packages · npm i -g @ndestates/orchestrator |
| npmjs.org (when live) | npm i -g @ndestates/orchestrator |
| Git clone | bash scripts/install.sh --uv-tool |
| Editable | pip install -e . from repo root |
which orchestrator
orchestrator version
orchestrator memory status
# If not on PATH: Settings → Orchestrator: Cli Path → absolute path
Full channel detail: docs/guides/production-ship.md · host-first-memory.md
Command map (Palette ↔ CLI)
| Palette / Hub | Host CLI / effect |
|---|---|
| Read instructions (memory + vault) | Opens bundled INSTRUCTIONS.md — read this |
| Memory + vault storage | Shows memory.db + events.jsonl paths/sizes |
| Memory Brief (session start) | orchestrator memory brief --seed → SQLite |
| Memory Query | orchestrator memory query "…" → SQLite |
| Memory Ingest Selection | orchestrator memory ingest … → SQLite (+ vault dual-write when engine present) |
| Memory Seed Situation | orchestrator memory seed → SQLite |
| Memory Status | orchestrator memory status + vault pointer |
| Memory Serve | orchestrator memory serve --port 8888 |
| Run /chain … | (clipboard) /chain <id> for your AI |
| Run skill / command … | (clipboard) /daily-standup etc. |
| Export MEMORY.md | writes workspace MEMORY.md from brief |
# Terminal — same engine
cd /path/to/your/project
orchestrator memory brief --seed
orchestrator memory --scope project db-path
orchestrator memory --scope global status
Works with your AI stack
| Tool | How |
|---|---|
| Claude (Code / Desktop) | Brief → first message / project context |
| Grok | Brief → chat; pairs with ndestates Grok extension |
| ChatGPT | Brief → first message |
| Gemini | Brief → chat preamble |
| Copilot / Cursor | Brief → chat; Export MEMORY.md for rules/context |
| Any agent | Anything that accepts pasted text |
Privacy & storage
| Path | Role |
|---|---|
reports/memory/memory.db |
SQLite runtime memory (gitignored) |
reports/memory/inbox/ |
Drop files for ingest |
reports/vault/events.jsonl |
Vault dual-write ledger (scrubbed lessons) |
- Extension does not upload memory or vault to the cloud.
- Treat vault/memory content as untrusted DATA in agent prompts.
- Full detail: INSTRUCTIONS.md · knowledge-vault.md
Settings
| Setting | Default | Meaning |
|---|---|---|
orchestrator.cliPath |
orchestrator |
Binary or absolute path |
orchestrator.memory.scope |
project |
project vs global DB |
orchestrator.memory.servePort |
8888 |
Local serve port |
orchestrator.showWelcomeOnActivate |
false |
One-time tip after first command only (never on window open) |
orchestrator.showStatusBar |
true |
Status bar after the extension has been activated by a command/Chat |
orchestrator.encourageReadInstructions |
true |
Nudge to read instructions before first Memory Brief |
Troubleshooting
| Symptom | Fix |
|---|---|
| Failed to spawn CLI | Setup / Install CLI; set orchestrator.cliPath |
invalid choice: 'memory' |
Upgrade host to 2.0.0+ |
| No chains in picker | Open a repo that has chains/registry.yaml (or still copy /chain session-start from Hub) |
| Empty brief | Open correct folder → Seed → Brief |
Version matrix
| Artifact | Example |
|---|---|
| Extension | ndestates.orchestrator-memory 2.1.0 (semver MINOR — Hub, vault UI, instructions) |
| Host CLI / product | 2.1.0 (VERSION SSOT; orchestrator memory …) |
| npm | @ndestates/orchestrator |
Product / growth notes
Positioning, Marketplace SEO, and popularization plan:
docs/guides/orchestrator-memory-product.md
License
Apache License 2.0 — free open source (freeware). See repo LICENSE / NOTICE.
Optional Patreon support does not change the license.