🦞 OpenClaw Bootcamp
DAY 16 / 16
🦞
OpenClaw Bootcamp · Day 16 · The Finale

Workspace Files:
The Complete Reference

Sixteen days. From zero to a production-ready autonomous AI agent. Today we tie everything together — every file, every config, every system — into one complete map.

Complete Reference System Architecture Graduation
🦞 OpenClaw Bootcamp
DAY 16 / 16
Where We Are & Where We’re Going

Day 16 Goals

Day 15 Checkpoint
  • Multi-agent orchestration with routing and delegation
  • Channel bindings and per-agent tool isolation
  • Sub-agents with scoped bootstrap (AGENTS.md + TOOLS.md only)
01
Map every workspace file and understand what it does
02
Understand the full bootstrap injection order and config reference
03
See how every system connects end-to-end in the full architecture
🦞 OpenClaw Bootcamp
DAY 16 / 16
~/.openclaw/workspace/

The Workspace Map

🙌

SOUL.md

Personality, voice, core truths, boundaries, vibe. Who your agent is.

👤

USER.md

Information about you — the human. Preferences, context, background.

🧠

MEMORY.md

Long-term memory. Durable facts, preferences, decisions. Injected every turn.

📜

AGENTS.md

Operating rules, workflows, escalation procedures, tool policies.

🛠

TOOLS.md

Addresses, references, API endpoints, external resources the agent needs.

💓

HEARTBEAT.md

Proactive checklist. Tasks the agent runs on its own schedule.

🆔

IDENTITY.md & BOOTSTRAP.md

Agent identity and extra context. Plus: skills/ directory and memory/ directory for daily notes.

It’s All Markdown

Every workspace file is plain markdown. No database, no proprietary format. Version control it with git, edit it in any text editor.

🦞 OpenClaw Bootcamp
DAY 16 / 16
How Files Load

Bootstrap Injection Order

Injection Sequence
  • 1

    AGENTS.md

  • 2

    SOUL.md

  • 3

    TOOLS.md

  • 4

    IDENTITY.md

  • 5

    USER.md

  • 6

    HEARTBEAT.md

  • 7

    BOOTSTRAP.md

  • 8

    MEMORY.md

Size Limits
20K
chars per file
bootstrapMaxChars
150K
chars total
bootstrapTotalMaxChars
Blank & Oversized

Blank files are skipped entirely — no token cost. Oversized files are trimmed to the per-file cap. Content beyond the limit is silently truncated.

Sub-Agents

Sub-agents only receive AGENTS.md + TOOLS.md. They don’t get SOUL.md, MEMORY.md, or any other bootstrap file. This keeps them focused and isolated.

🦞 OpenClaw Bootcamp
DAY 16 / 16
openclaw.json

Configuration Master Reference

🤖

agents

Agent defaults and the agent list. Model, temperature, system prompt overrides.

📡

channels

Per-provider config: Discord, Slack, Telegram, Matrix, CLI, and more.

🔒

session

dmScope, reset mode, threadBindings for thread-level isolation.

🌐

gateway

Port, auth, bind address, reload mode (hybrid, hot, restart, off).

🔧

tools

Profile, allow/deny lists, exec, elevated permissions, filesystem access.

skills

Skill entries and load config for custom skill directories.

cron & hooks

Scheduled tasks, lifecycle hooks for pre/post actions.

💓

heartbeat

Proactive schedule config: interval, enabled, quiet hours.

📋

env & logging

Environment variables and log level/format configuration.

🦞 OpenClaw Bootcamp
DAY 16 / 16
Sessions & Commands

Session Management

session.dmScope
mainSingle shared session
per-peerOne session per user
per-channel-peerPer user per channel
per-account-channel-peerFull isolation
session.reset

mode: daily — Sessions reset each day. threadBindings enable thread-level isolation within channels.

Chat Commands
  • /status — Current session info
  • /new — Start a new session
  • /reset — Reset current session
  • /compact — Trigger compaction
Debug & Tracking
  • /think <level> — Set reasoning depth
  • /verbose — Toggle verbose mode
  • /trace — Toggle trace logging
  • /usage — Token usage tracking
🦞 OpenClaw Bootcamp
DAY 16 / 16
End-to-End

The Full System Architecture

  • 1

    Message Arrives

    From Discord, Slack, Telegram, Matrix, CLI, or any connected channel.

  • 2

    Gateway Routes to Agent

    Channel bindings and routing rules determine which agent handles the message.

  • 3

    Bootstrap Files Injected

    AGENTS.md → SOUL.md → TOOLS.md → IDENTITY.md → USER.md → HEARTBEAT.md → BOOTSTRAP.md → MEMORY.md

  • 4

    Model Reasons → Tools Execute → Results Fed Back

    The model processes context, invokes tools as needed, and results are fed back into the conversation loop.

  • 5

    Response Sent to Channel

    Final response delivered back through the originating channel.

Parallel Systems

Heartbeat & Cron trigger proactive actions independently. Sub-agents spawn isolated sessions with scoped bootstrap. Memory persists across sessions via files on disk.

🦞 OpenClaw Bootcamp
DAY 16 / 16
Running in Production

Maintenance & Operations

Diagnostics
openclaw doctor # Full system health check openclaw security audit --deep # Deep security scan
Update Channels
openclaw update --channel stable # Tagged releases openclaw update --channel beta # Pre-releases openclaw update --channel dev # Main branch builds
Config Reload

gateway.reload.mode controls how config changes take effect:

hybridDefault. Smart reload.
hotLive reload, no restart
restartFull restart on change
offManual restart only
Backup Strategy

Your workspace is just markdown files. Back it up with git. Version control your SOUL.md, AGENTS.md, TOOLS.md, and openclaw.json. Treat it like code, because it is.

🦞 OpenClaw Bootcamp
DAY 16 / 16
The Full Arc

The 16-Day Journey

Day 1What Is OpenClaw
Day 2Install
Day 3Models
Day 4Costs
Day 5Channels
Day 6Heartbeat
Day 7SOUL.md
Day 8MEMORY.md
Day 9AGENTS.md
Day 10Tools & Skills
Day 11Integrations
Day 12Docker
Day 13VPS
Day 14Coding
Day 15Multi-Agent
Day 16Workspace Files
From Zero to Production

You started with nothing. Now you have an autonomous AI agent with a personality, memory, operating rules, tools, integrations, containerized deployment, and multi-agent orchestration. That’s the full stack.

🦞 OpenClaw Bootcamp
DAY 16 / 16
🎓
Congratulations

You Built It.

Sixteen days. From “what is OpenClaw?” to a production-ready autonomous AI agent. You did the work. Now keep building.

Complete Bootcamp Production Ready Autonomous Agent
Community
Join the OpenClaw Discord and keep learning
Consulting
adhirajhangal.com for custom builds & enterprise
Keep Building
The tools are yours. Go make something incredible.