βββ βββ βββββββ βββ βββββββββββββββββββββββ βββββββ
βββ βββββββββββββββ βββββββββββββββββββββββββββββββ
βββββββββββ ββββββ βββββββββββ βββ ββββββ
βββββββββββ ββββββ βββββββββββ βββ ββββββ
βββ βββββββββββββββββββββββββββββββ βββ βββββββββββ
βββ βββ βββββββ βββββββββββββββββββ βββ βββ βββββββ
Your repo remembers, so your next agent doesn't have to guess.
Shared memory for AI agents, built into your repo.
No context loss. No fragile handoffs.
Holistic gives your AI agents shared memory inside the repo itself. When you switch from Claude to Codex to Gemini, the next agent can see what happened last time, what not to break, and what should happen next.
Holistic is designed to be safe to install, inspectable, and predictable.
- π‘οΈ Security-hardened β enforced repository containment and state integrity checks (v0.6.4+)
- π§ͺ 70+ automated tests covering core flows and security boundaries
- π οΈ Actively maintained (frequent releases)
See SECURITY.md for full technical details.
Open your project repo in PowerShell, Terminal, Command Prompt, or whatever shell you normally use.
Requires Node.js 24+.
npm install -g holistic
holistic bootstrap --yesAfter that, open the repo in your agent app and use this startup prompt:
Before doing any other work, read AGENTS.md and HOLISTIC.md, recap the current state briefly, and ask me exactly one question: continue as planned, tweak the plan, or start something new.
That is enough to get the basic Holistic workflow working.
If you want the fuller install and setup details, jump to Quick start.
If you use more than one AI coding assistant, the workflow usually falls apart:
- π You re-explain the project every session
- π Bugs come back because the next agent does not know what was already fixed
- π§ Progress gets lost when context windows end
- π₯ Agents undo each other because there is no durable handoff
- π«οΈ It is hard to tell what is actually done
Holistic fixes that by making the repo the source of truth.
Run one setup command on a machine:
holistic bootstrapThen daily use is mostly:
- Open the repo in Codex, Claude, or another supported app
- Start a fresh session
- Ask the agent to read
AGENTS.mdandHOLISTIC.md - Let Holistic carry continuity through checkpoints, handoffs, and repo memory
Most days, you do not need to keep a terminal process open or manually re-brief the agent.
holistic bootstrap
->
You open a repo in your agent app
->
The agent reads HOLISTIC.md and AGENTS.md
->
"Here's where we left off. Here's what's next. Continue as planned, tweak the plan, or start something new?"
->
Work happens
->
Holistic checkpoints and handoffs keep repo memory current
->
The next agent picks up without a long re-explanation
Holistic is designed to be transparent, audit-safe, and consent-first.
The current version of Holistic (v0.6.5) includes:
- Repository Path Containment: Enforced boundaries for all repo-configured output paths.
- State Integrity Protection: Corrupted
state.jsonfiles are preserved as.corrupt-*.jsonand surfaced as a Degraded Mode diagnostic instead of being silently lost. - Safe Mode: A minimal-instruction mode for privacy-conscious or highly-constrained environments.
- Non-Mutating Build: The build pipeline now stages sources, ensuring
src/remains immutable. - Read-Only MCP Server: The server startup and client connection routines are strictly non-mutating (warning-only staleness checks).
For full details, see SECURITY.md.
Requires Node.js 24+.
npm install -g holisticThen verify the CLI is available:
holistic --helpFor contributors or local source installs:
git clone https://github.com/lweiss01/holistic.git
cd holistic
npm install
npm run build
npm pack
npm install -g ./holistic-*.tgzFor local development without a packaged tarball:
npm install
npm linkcd my-project
holistic bootstrap --remote origin --yes
git add .gitattributes HOLISTIC.md AGENTS.md CLAUDE.md GEMINI.md
git add .holistic/config.json .holistic/state.json
git add .holistic/context/
git commit -m "feat: add holistic"By default, Holistic now syncs portable state through a hidden git ref (refs/holistic/state) to avoid GitHub branch noise. That sync mirrors Holistic state only - it does not auto-push your working branch.
Advanced overrides:
holistic bootstrap --state-ref refs/holistic/state
holistic bootstrap --state-branch holistic/state
holistic bootstrap --portableIf you want repo scaffolding without changing local desktop integrations or daemon startup on the current machine, you can use granular flags to be surgical:
# Only install Git hooks and managed attributes
holistic bootstrap --yes-hooks --yes-attrWhat to commit:
.gitattributes- Holistic-managed line-ending rules for portable files.holistic/config.json- repo configuration.holistic/state.json- current session state.holistic/context/- generated docs (history, regression watch, adapters).holistic/sessions/- session history files
What NOT to commit:
.holistic/system/- machine-local helper scripts and wrappers with absolute paths (already in.gitignore)
The portable repo memory is meant to be committed and synced. Machine-local helper scripts are generated for each machine and stay local.
One-time machine setup:
- Run
holistic bootstrap. - By default it scaffolds repo files, installs hooks, sets up daemon startup, and configures supported integrations such as Claude Desktop MCP on the current machine.
- To be surgical about what is applied, use granular flags like
--yes-hooks,--yes-daemon, or--yes-mcp.
Normal use:
- Start a session in Codex, Claude, or another supported app.
- Let the agent read the repo instructions and current handoff state.
- Work normally.
- Use explicit CLI commands only when you want to inspect state manually or force a checkpoint or handoff yourself.
Useful manual commands:
holistic status
holistic checkpoint --reason "..."
holistic handoffIf holistic is not on PATH in a given shell, every bootstrapped repo also has a repo-local fallback:
- Windows:
.\.holistic\system\holistic.cmd <command> - macOS/Linux:
./.holistic/system/holistic <command>
When an agent fixes something delicate, lock it in:
holistic checkpoint \
--fixed "login redirect loop" \
--fix-files "src/auth.ts" \
--fix-risk "changing redirect logic will re-introduce this"Future agents will see that warning in the repo docs before they touch the risky area again.
Holistic is model-agnostic. It works through repo files first, and can expose a thin MCP server where supported.
Use this table to decide whether startup should be automatic (MCP/tooling hook) or manual (/holistic / holistic_resume).
| App / Surface | Reads | MCP auto-start | Startup action |
|---|---|---|---|
| Claude Desktop / Cowork | CLAUDE.md and repo docs |
β Yes | Usually automatic after holistic bootstrap; if context is stale, run holistic_resume |
| Codex | AGENTS.md and repo docs |
β No | Run /holistic (or repo-local holistic resume --continue) at conversation start |
| Antigravity | GEMINI.md and repo docs |
β No | Run /holistic at conversation start |
| Gemini | GEMINI.md and repo docs |
β No | Run /holistic at conversation start |
| Cursor | .cursorrules and repo docs |
β No | Run /holistic at conversation start for deterministic recap |
| GitHub Copilot | .github/copilot-instructions.md and repo docs |
β No | Run /holistic at conversation start |
| Goose | AGENTS.md and repo docs |
β No | Run repo-local holistic resume --continue in the shell session |
| GSD / GSD2 | AGENTS.md and repo docs |
β No | Run /holistic or holistic_resume before first implementation step |
| Other VS Code forks | AGENTS.md and repo docs |
β No | Treat as manual-start and run /holistic |
| Web tools | repo docs pasted manually | β No | Manual copy/paste recap from Holistic docs |
my-project/
|- HOLISTIC.md
|- AGENTS.md
|- CLAUDE.md
|- GEMINI.md
|- .cursorrules
|- .windsurfrules
|- .gitattributes
|- .github/
| `- copilot-instructions.md
`- .holistic/
|- config.json
|- state.json
|- sessions/
`- context/
|- project-history.md
|- regression-watch.md
`- adapters/
The portable repo memory (config, state, context, sessions) is meant to be committed and synced. Machine-local helper scripts and repo-local CLI fallbacks under .holistic/system/ are generated for each machine and stay local (already in .gitignore).
| Command | Description |
|---|---|
holistic init |
Base repo setup and scaffolding |
holistic bootstrap |
One-step machine setup. Required --yes for Core Setup, or granular --yes-* flags. |
holistic doctor |
Health check & config diagnostics (supports --json) |
holistic repair |
Regenerates .holistic/system/ local helpers |
holistic resume / start |
Loads project recap and prints state (Read-only) |
holistic start-new |
Starts a fresh session |
holistic checkpoint |
Saves progress and context (Stateful) |
holistic handoff |
Ends a session with a handoff message (Stateful) |
holistic status |
Shows current state and sync activity (Read-only) |
holistic diff |
Compares two session IDs (Read-only) |
holistic search |
Finds and retrieves session state (Read-only) |
holistic serve |
Strictly read-only MCP server (stdio) |
holistic watch |
Foreground daemon; automatically creates checkpoints (Mutating) |
When your agent UI supports slash shortcuts, use these helper mappings:
| Slash | Helper text | CLI equivalent |
|---|---|---|
/holistic |
Load repo recap and confirm: continue, tweak, or start new. | holistic resume --continue |
/checkpoint |
Save a structured checkpoint at a natural breakpoint. | holistic checkpoint --reason "..." |
/handoff |
Finalize session handoff with summary, next steps, blockers, and regression risks. | holistic handoff |
holistic handoff \
--summary "Implemented OAuth flow and token storage" \
--next "Wire up the refresh token endpoint" \
--blocker "Need refresh token endpoint from backend team"Holistic is intentionally repo-first, not machine-first.
| Layer | Purpose | Portable? |
|---|---|---|
| Repo memory | Shared handoff, history, regression, and session state | Yes |
| State ref | Cross-device distribution of Holistic state via git | Yes |
| Local daemon | Passive capture on one machine | No |
That split is what makes Holistic work across tools and devices instead of only on one laptop.
Holistic can run as a thin MCP server for agent-native workflows:
holistic serveIn normal use, Claude Desktop can launch this automatically after holistic bootstrap configures the MCP entry. You usually only run it manually for debugging.
When you do run holistic serve manually in a terminal, Holistic prints its ASCII startup banner to stderr so you get visible confirmation without corrupting the MCP stdout transport.
{
"mcpServers": {
"holistic": {
"command": "holistic",
"args": ["serve"],
"env": {
"HOLISTIC_REPO": "/path/to/your/project"
}
}
}
}If you are already using more than one AI coding assistant, you already have the continuity problem.
Holistic gives you:
- Less repeated explanation
- Fewer accidental regressions
- Clearer handoffs across apps and devices
- A durable record of what changed and why
- Agents that can get to work quickly
Holistic is in early beta. If you hit rough edges, unexpected behavior, or have ideas for improvement, please open an issue. Early adopter feedback directly shapes the direction of the project.
For support and troubleshooting, see SUPPORT.md.
Holistic is designed to be transparent, audit-safe, and consent-first. It is a shared memory layer that stays in your repo, not a cloud service that watches your screen.
-
Read-Only by Default: Routine commands (
status,resume,diff) are strictly non-mutating. They will only warn you if git hooks are missing or outdated, rather than fixing them silently. -
Granular Consent:
holistic bootstrapuses a "Consent-First" model. It displays a summary of system-modifying actions and requires an explicit--yesfor the Core Setup (hooks, daemon, MCP, attributes). -
Surgical Control: Use granular flags (
--yes-hooks,--yes-daemon,--yes-mcp,--yes-attr,--yes-claude) to apply only the specific integrations you want. -
Privacy Mode Enforcement: When
portableStateis disabled (the default), all generated sync scripts and git hooks contain early-exit guards to prevent any accidental remote traffic. -
MCP Logging Privacy: Control what Holistic reports to your agent UI. Set
mcpLoggingto"off","minimal"(default), or"default"in.holistic/config.json. - Advanced Redaction: Holistic automatically scrubs JWTs, Bearer tokens, AWS keys, and PEM blocks from all generated session metadata to prevent context leakage.
-
Traceable Activity: Background sync operations (PowerShell/Bash) are visible and logged with timestamps to
.holistic/system/sync.log. -
Git-Native Snapshotting: The repo snapshot logic uses native
git ls-files, ensuring that your.gitignorerules are perfectly respected and performance stays$O(\text{repo size})$ .
- Writes session state into
.holistic/inside your repo (committed files you control) - Installs a daemon via standard OS autostart (Windows Startup folder, macOS LaunchAgents, Linux systemd user)
- Can push Holistic state to a hidden git ref on your configured remote (opt-in, your repo only)
- Does not read or transmit file contents outside your repo
- Does not access credentials or tokens
- Does not phone home to any external service
- Does not use obfuscated scripts or hidden windows
For the full technical disclosure, see SECURITY.md.
Built for people who use more than one AI assistant and are tired of paying the context tax.