What is a Workspace?
Every agent in Havoc has a workspace — a collection of markdown files that define the agent’s behavior, persona, tools, and memory. These files are injected into the agent’s context on every interaction.Workspace Files
| File | Purpose | Auto-injected |
|---|---|---|
| AGENTS.md | Operating instructions, memory rules, priorities | Yes |
| SOUL.md | Persona, tone, communication style, boundaries | Yes |
| TOOLS.md | Local tool notes and conventions | Yes |
| IDENTITY.md | Agent name, vibe, emoji | Yes |
| USER.md | User profile, preferences, how to address them | Yes |
| MEMORY.md | Curated long-term memory (main session only) | Yes |
| HEARTBEAT.md | Optional heartbeat checklist | Yes |
| BOOTSTRAP.md | One-time first-run ritual (deleted after use) | Yes |
AGENTS.md — The Brain
This is the most important file. It defines how your agent operates:SOUL.md — The Persona
Define how your agent communicates:Memory System
Havoc agents have a two-tier memory system:MEMORY.md (Curated)
- Injected into every conversation
- Contains important facts, preferences, and notes
- Managed by the agent or manually edited
memory/YYYY-MM-DD.md (Daily Logs)
- NOT auto-injected (retrieved on demand via
memory_search) - Contains timestamped daily interaction logs
- Searchable via vector memory search
Vector Memory Search
Havoc builds a vector index over all memory files for semantic search. This allows agents to recall relevant information even from old daily logs.Editing Workspace Files
You can edit workspace files in three ways:- Havoc Dashboard — Visual editor with live preview
- API —
PUT /api/agents/:agentId/workspace/:filename - Agent Self-Edit — The agent can modify its own workspace files using the
writetool
Guide: Create an Agent
Create an agent with a fully configured workspace.

