Customize Your Workspace

Personalize identity, memory, tools, and agent behavior — step by step.

What ships in the DB

Every v1.5+ release includes these workspace='openclaw' nodes out of the box:

TableNodesWhat's there
Soul4Prime Directive · Identity (placeholder) · Safety · Heartbeat Protocol
Memory2Principal (placeholder) · Infrastructure (placeholder)
AgentConfig9Every Session · Delegation · Safety · Heartbeats · Memory · TOON · Search Resilience · Schema Rules · Path Aliases
Tool21All standard OpenClaw tools · sessions_spawn=true
SkillCluster27Semantic skill groupings · first-class nodes with IN_CLUSTER edges

These work out of the box. The placeholders tell you exactly what to fill in.

1

Verify the defaults loaded

cypher-shell "MATCH (s:Soul) WHERE s.workspace = 'openclaw'
RETURN s.section, s.priority ORDER BY s.priority"

cypher-shell "MATCH (a:AgentConfig) WHERE a.workspace = 'openclaw'
RETURN a.key ORDER BY a.id"

You should see 4 Soul sections and 9 AgentConfig keys. If not, run python3 seed.py to seed them.

2

Update your Identity

The Identity soul node ships as a placeholder. Replace it with your agent's name and role:

cypher-shell "MATCH (s:Soul {id:'soul-openclaw-identity'})
SET s.content = 'Name: Aria | Role: DevOps automation agent | Emoji: 🛡️ | Workspace: openclaw'"
3

Fill in your Principal and Infrastructure

These Memory nodes tell the agent who it works for and what environment it operates in.

# Principal — who you're helping
cypher-shell "MATCH (m:OCMemory {id:'mem-openclaw-principal'})
SET m.content = 'Name: Alice | Timezone: America/Chicago | Channel: signal | UUID: uuid:...'"

# Infrastructure — your environment facts
cypher-shell "MATCH (m:OCMemory {id:'mem-openclaw-infrastructure'})
SET m.content = 'Neo4j: bolt://localhost:7687 | Python: python3 | Workspace: ~/.openclaw/workspace/'"
4

Add more Memory domains

Create additional memory nodes for any factual context your agent needs:

cypher-shell "CREATE (m:OCMemory {
  id: 'mem-openclaw-api-keys',
  workspace: 'openclaw',
  domain: 'API Keys',
  content: 'Brave Search: \$BRAVE_API_KEY | xAI: \$XAI_API_KEY (env vars in shell profile)',
  timestamp: '2026-01-01'
})"

Store API keys as environment variable references, not raw values. The agent reads them from the shell at runtime.

5

Restrict or expand tools

Disable tools to create a restricted agent, or re-enable them for a capable one:

# Disable sub-agent delegation for a restricted agent
cypher-shell "MATCH (t:OCTool {id:'tool-sessions-spawn'})
SET t.available = false, t.notes = 'BLOCKED — standalone agent'"

# Re-enable it
cypher-shell "MATCH (t:OCTool {id:'tool-sessions-spawn'})
SET t.available = true"

Running multiple workspaces (fleet setup)

For an 8-agent fleet, give each agent its own workspace ID:

# Seed separate workspaces
python3 seed.py --workspace intel-agent
python3 seed.py --workspace code-agent
python3 seed.py --workspace ops-agent

# Each agent's workspace stubs point to its own workspace
# ~/.openclaw/workspace-intel/SOUL.md:
#   <!-- GRAPH: MATCH (s:Soul) WHERE s.workspace = 'intel-agent' ... -->

See Fleet Management in the Admin Guide for the full topology and per-workspace tool overrides.

Customizing the seed script

For full control, modify the workspace defaults in seed.py:

Edit the Soul, Memory, AgentConfig, and Tool data structures, then run:

python3 seed.py --workspace myagent

The seed script uses MERGE — safe to re-run. Existing nodes are updated, not duplicated.

Keeping your customizations across upgrades

The seed script uses MERGE (not CREATE), so it's safe to re-run after pulling new versions. Your customizations to existing nodes are preserved.

# Pull latest and re-run
cd openclaw-graph && git pull
python3 seed.py

See Upgrading in the Admin Guide for the full workflow.

Quick reference — node IDs shipped in default workspace

IDTypeSection / Domain / Key
soul-openclaw-prime-directiveSoulPrime Directive
soul-openclaw-identitySoulIdentity
soul-openclaw-safetySoulSafety
soul-openclaw-heartbeatSoulHeartbeat Protocol
mem-openclaw-principalMemoryPrincipal
mem-openclaw-infrastructureMemoryInfrastructure
agentcfg-openclaw-every-sessionConfigEvery Session
agentcfg-openclaw-delegationConfigDelegation
agentcfg-openclaw-safetyConfigSafety
agentcfg-openclaw-heartbeatsConfigHeartbeats
agentcfg-openclaw-memoryConfigMemory
agentcfg-openclaw-toonConfigToken Optimization — TOON
agentcfg-openclaw-search-resilienceConfigSearch Resilience
agentcfg-openclaw-schema-rulesConfigSchema Rules
agentcfg-openclaw-path-aliasesConfigPath Aliases
tool-sessions-spawnToolsessions_spawn (available=true)
+ 20 other tool-* nodes — all standard OpenClaw tools