Overview
Drevon supports two workspace modes, each designed for a different workflow:Hub Mode
Hub mode creates a centralized workspace where you manage multiple projects from a single directory. It’s designed for people who context-switch between different projects and need their AI agents to maintain awareness across all of them.Directory Structure
Memory Files
Workspace Rules
Hub mode includes aworkspace section in the config that instructs agents to:
- Keep projects organized in
workspace/subdirectories - Name folders after the task
- Never create files outside
workspace/unless explicitly told - Register new projects in
topics/projects.md
Project Mode
Project mode embeds AI capabilities into an existing codebase. It’s designed for repositories where a team collaborates and needs consistent AI behavior without affecting the project structure.Directory Structure
Memory Files
Auto-Detection
When you rundrevon init without --hub or --project, Drevon automatically suggests a mode:
You can always override the suggestion during the interactive wizard.
Switching Modes
To switch from hub to project mode (or vice versa):- Back up
.drevon/memory/if it contains important context - Edit
modeindrevon.config.json - Update
memory.filesto match the new mode’s file set - Run
drevon sync - Manually create any missing memory files