Orchestrator Memory — AI token cache
Local 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
Item ID: ndestates.orchestrator-memory
Categories: AI · Machine Learning · Chat · Other
|
|
| Marketplace |
ndestates.orchestrator-memory |
| Strapline |
Session start in seconds — not 10 minutes of context paste. Same project brief in Cursor and Claude. Memory stays on your machine. |
★ Please read the instructions
You are expected to read the built-in guide once before relying on Memory Brief in real work.
| How |
Action |
| In VS Code / Cursor |
Command Palette → Orchestrator: Read instructions (memory + vault) |
| Command Hub |
First item: ★ Read instructions (memory + vault) — do this first |
| On first activate |
Extension opens INSTRUCTIONS.md automatically and asks you to read it |
| In the package |
INSTRUCTIONS.md (ships inside the VSIX / Marketplace) |
That guide covers both stores:
- SQLite
memory.db — in-memory / runtime token cache (brief, query, ingest)
- Vault
events.jsonl — durable dual-write lesson graph (scrubbed, hash-chained)
Skipping it is the main reason people miss dual-write, host CLI install, or privacy boundaries.
What it does
Local 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)
| Feature |
Detail |
| SQLite store (in-memory runtime) |
reports/memory/memory.db (project) or ~/.orchestrator/ (global); gitignored |
| Vault dual-write |
Scrubbed lessons/events in reports/vault/events.jsonl (append-only graph) |
| Storage report in app |
Orchestrator: Memory + vault storage — paths, sizes, dual-write explanation |
| Inbox ingest |
Drop files into reports/memory/inbox/ |
| Memory commands |
Brief · Query · Ingest · Seed · Status · Serve (local HTTP) |
| Easy /chain & skills |
Hub → /chain session-start, /always-on-memory, … — copies for your AI |
| Copy for any AI |
After Brief: Copy · Claude · Cursor · Copilot · Export MEMORY.md |
| Privacy |
Local only — no cloud upload of memory or vault data |
Wedge: not “another AI panel” — portable project memory that cuts tokens across every assistant.
Two layers (do not confuse)
ingest / seed / brief → reports/memory/memory.db (SQLite — fast token cache)
↘ dual-write → reports/vault/events.jsonl (vault — durable lessons)
Full detail: INSTRUCTIONS.md §1 and §6.
Not difficult — how to run things in the app
One hub for everything
| Action |
How |
| ★ Read instructions |
Palette → Orchestrator: Read instructions (memory + vault) — do this first |
| Command Hub |
Ctrl+Shift+O / Cmd+Shift+O · status bar Memory |
| Memory + vault storage |
Palette / Hub — see both paths and sizes |
| Memory Brief |
Ctrl+Shift+M / Cmd+Shift+M |
| /chain … |
Hub → Run /chain … → pick → paste into AI |
| Skills |
Hub → Run skill / command … |
| Setup |
Hub → Setup / Install CLI |
Type Orchestrator: in the Command Palette to see all commands.
After Memory Brief
You get actions:
- Copy brief
- Copy for Claude / Cursor / Copilot
- Export MEMORY.md
- Run /chain session-start
Paste the brief into whatever AI you use that day. One DB, many tools.
Chains & slash commands (why this is easy)
Orchestrator chains (/chain session-start, /chain delivery, …) and skills run in your AI agent (Claude Code, Grok, Cursor, …). The extension:
- Reads
chains/registry.yaml when present in the workspace
- Shows a QuickPick of chains and skills
- Copies the exact
/chain <id> or /skill text so you are not hunting docs
Optional: open a terminal hint or run Memory Brief first so the agent has local context.
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.1.0 · uv tool install --force "orchestrator @ https://github.com/ndestates/orchestrator/releases/download/v${VER}/orchestrator-${VER}-py3-none-any.whl" |
| pip + wheel |
pip install "https://github.com/ndestates/orchestrator/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 |
true |
Open instructions + welcome on first activate |
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.