Continuity’s file-based state model is runtime-agnostic: any agent that can read and write markdown files can use it. This page covers three runtimes — Hermes, OpenClaw, and Agent Zero — each of which has a distinct model for loading agent instructions and injecting context. A generic four-step setup is included at the end for runtimes not covered here.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bitwikiorg/continuity/llms.txt
Use this file to discover all available pages before exploring further.
Hermes
Hermes is an agent runtime developed by NousResearch. It usesAGENTS.md as its primary instruction file and progressively discovers local context files as the agent moves through a project, making it a natural fit for Continuity’s scoped state chain model.
Entry file
AGENTS.md — Hermes loads this file from the project root. As the agent descends into subdirectories, it discovers additional context files and composes them into the active state.
Setup
Copy a Continuity pack into your project, then install the Continuity skill to the Hermes skills directory:STATE.md, TODO.md, and SNAPSHOT.md in place.
Auto-injected instance files
Hermes auto-injects three files from the Hermes home path (~/.hermes/) into every session — independently of the project-level state chain:
| File | What it holds |
|---|---|
SOUL.md | Agent essence, purpose, and constitution |
MEMORY.md | Durable facts index |
USER.md | Human model — who the agent is serving |
~/.hermes/ to ensure they are auto-loaded on every Hermes session. These are instance-level state files — they persist across projects, unlike project-level files such as STATE.md or TODO.md.
Progressive discovery and AGENTS.promptinclude.md
Hermes supportsAGENTS.promptinclude.md for progressive discovery. Files listed there are injected into the agent’s context on every session without manual loading. Use this to wire in your required-tier state files:
Security scanning
Hermes supports security scanning during context loading. UseCHECKPOINT.md to define approval gates for high-risk or irreversible actions. WARNING.md carries the hard limits and pre-action checklists that Hermes evaluates before executing tasks.
OpenClaw
OpenClaw usesSKILL.md directories with explicit loading order, allowlists, and security gates. Its workspace template model — BOOT, BOOTSTRAP, SOUL, IDENTITY, HEARTBEAT, TOOLS, and USER — directly inspired Continuity’s boot-and-identity file split.
Entry file
AGENTS.md — OpenClaw uses AGENTS.md as the primary instruction file, composed via the skill’s YAML config wrapper.
Setup
Copy a Continuity pack into your project and install the skill:Boot and identity file split
OpenClaw’s native workspace template maps cleanly onto Continuity’s file clusters:| OpenClaw file | Continuity equivalent | Cluster |
|---|---|---|
BOOT | BOOT.md + INIT.md | Boot |
BOOTSTRAP | BOOTSTRAP.md | Boot |
SOUL | SOUL.md | Identity |
IDENTITY | IDENTITY.md | Identity |
HEARTBEAT | HEARTBEAT.md | State |
TOOLS | TOOLS.md | Capability |
USER | USER.md | Identity |
Security gates
OpenClaw’s security gate system integrates directly with Continuity’s safety cluster. Declare high-risk gates inCHECKPOINT.md and reference them from your YAML config’s rules block. OpenClaw evaluates these gates before executing any action flagged as irreversible.
Agent Zero
Agent Zero does not auto-loadAGENTS.md the way Codex or Hermes do. Instead, it uses a prompt-include system: files listed in AGENTS.promptinclude.md are injected into the agent’s system prompt automatically on every session.
Entry file
AGENTS.md — but loaded via AGENTS.promptinclude.md rather than auto-discovery. AGENTS.promptinclude.md is the effective trigger file for Agent Zero.
Setup
Copy a Continuity pack into your project, then createAGENTS.promptinclude.md to wire in your state files:
STATE.md, TODO.md, and SNAPSHOT.md in place.
Multi-agent subordinates
For multi-agent work with Agent Zero, use the orchestrator pack. Each subordinate agent gets scoped access to its portion of the state chain. UseBINDING.schema.json to validate agent contracts before spawning subordinates — it defines who runs the computation, what tools are allowed, what the budget is, and when to stop.
Generic / other runtimes
Any agent that can read markdown files can use Continuity. If your runtime is not listed above, follow these four steps:Copy needed templates to your workspace
Copy the templates matching your tier from the Continuity repo. The Minimum tier is enough for most agents:Fill in all
{{UPPER_CASE}} placeholders before booting.Read AGENTS.md, then INIT.md, then files in load order
Point your runtime at
AGENTS.md as the entry file. On first boot, run the INIT.md nine-stage reconstitution procedure. After that, follow the load order declared in AGENTS.md at the start of every session.Remove AGENTS.promptinclude.md if not needed
AGENTS.promptinclude.md is only needed for runtimes that support auto-injection (Agent Zero, Cursor, Hermes). If your runtime handles file loading natively or you reference state files explicitly in your entry file, remove AGENTS.promptinclude.md to keep the workspace clean.Implement writeback after each session
After every meaningful action, update the files whose claims are no longer accurate:
STATE.md— new operational truthTODO.md— task queue with completed items moved tocompleted/SNAPSHOT.md— refreshed restoration anchorLEARNINGS.md— if new insights emerged
The system is runtime-agnostic by design. The templates are plain markdown with
{{VARIABLES}} placeholders. Any agent that reads files can boot from them; any agent that writes files can update them. The only hard requirement is that the agent follows its own specification — reads the state chain before acting and writes it back when reality changes.