This guide walks you through getting a Continuity-powered agent workspace running from scratch. By the end you will have a complete minimum-tier state file set, all placeholders replaced with real values, and a booted agent that declaresDocumentation 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.
READY. The whole process takes about 60 seconds.
This gives you the full template library — all state files, packs, adapters, and scripts. You will copy only the files your agent actually needs.
Copy the core files to your agent workspace. This is the Minimum tier — everything a simple agent needs to boot and maintain continuity across sessions:
You do not need all 30+ files. Most agents run well on 3–5. The Minimum tier is the right starting point — add files only when your agent’s loop actually needs them.
Every template file contains
{{UPPER_CASE}} placeholder markers. Search for them across your workspace and fill in your agent’s real values:{{AGENT_NAME}}MyAgent, ResearchBot, OpsAgent{{AGENT_ROLE}}orchestration core, research agent, DevOps operator{{AGENT_EMOJI}}🧬, ⚡, 🔬{{AGENT_VERSION}}1.0.0, 3.0-transfer{{MODEL_NAME}}gpt-4o, llama-3, custom{{PROVIDER}}anthropic, openrouter, custom{{MASTER_NAME}}Alejandro{{ENVIRONMENT}}container, local, cloud{{DATE}}2026-06-27On first boot — and at the start of every subsequent session — the agent runs
INIT.md. This is the 9-stage reconstitution procedure that rebuilds operational state from your durable files:AGENTS.md files, builds hierarchy tree, scans for security threatsAGENTS.md, including SNAPSHOT.md and LEARNINGS.mdSTATE.md with SNAPSHOT.md to identify drift; resolves parent/child conflictsREADY, READY_WITH_WARNINGS, or BLOCKED into STATE.mdSNAPSHOT.md and writes immutable copy to snapshots/Point your agent at
INIT.md as its entry instruction. Once it completes, STATE.md will contain the READY declaration and your agent is operational.If
IDENTITY.md or SELF.md is missing at first boot, the agent is considered unbound. It will follow BOOTSTRAP.md if present, or request direction from the operator. Delete BOOTSTRAP.md after identity is established — it is a self-destructing first-run ritual.Git is optional but strongly recommended. Every commit becomes a verifiable, diff-able snapshot of the agent’s full cognitive state:
After meaningful work, the agent commits again — capturing exactly what it knew, decided, and completed at that moment. You can
git diff two commits to see state changes, git checkout a hash to restore a previous cognitive state, or git blame to trace when a decision was made.Post-boot checklist
Run through this checklist after your first boot to confirm the workspace is clean and operational:- All
{{PLACEHOLDERS}}replaced with real values -
IDENTITY.mdhas name, role, and emoji filled in -
SELF.mdhas operating principles and invariants defined -
STATE.mddeclaresREADYorREADY_WITH_WARNINGS -
TODO.mdhas at least one task, or is explicitly marked empty -
SNAPSHOT.mdhas a timestamp within the last 7 days - Secrets are in
.secrets/or environment variables — not in any markdown file -
BOOTSTRAP.mddeleted (if first-run identity establishment is complete)
Existing agents
If your agent already has its own scattered state — ad-hoc instruction files, notes, memory in various formats — you do not need to start from scratch. RunINIT.md against your current workspace. It will inspect what exists, map your state onto the Continuity file structure, create missing files, and reconcile. The system is designed to assimilate, not replace.
Tiers & File Selection
Learn when to add more files and which tier fits your agent’s loop type.
State Packs
Start from a pre-wired pack tuned for your agent’s operating mode.
Runtime Adapters
Wire Continuity into Claude Code, Codex, Hermes, OpenClaw, or Agent Zero.
Reference
Full file taxonomy, writeback protocol, mesh declaration, and more.