DISCOVER THE FUTURE OF AI AGENTSarrow_forward

openClawOffice

calendar_todayAdded Feb 27, 2026
categoryAgent & Tooling
codeOpen Source
TypeScriptReactMulti-Agent SystemAI AgentsWeb ApplicationAgent & ToolingAutomation, Workflow & RPAData Analytics, BI & Visualization

A visual command center for the OpenClaw ecosystem, providing real-time agent/subagent monitoring, timeline debugging, alert management, and multi-agent orchestration. Built with React 19 + Vite 7, featuring SSE streaming updates and configurable isometric office layouts.

Overview#

openClawOffice is a web-based visual command center designed for real-time monitoring and orchestration of OpenClaw agents and subagents. Currently at version 0.0.0, it is under active development with MIT license.

Problems Solved#

  • Lack of unified visualization interface for monitoring multi-agent runtime status in OpenClaw ecosystem
  • Missing timeline playback and event tracing capabilities when debugging Agent behavior
  • Difficulty in quickly identifying anomalies and orchestrating tasks in multi-agent scenarios

Boundaries#

  • Local single-user only: Runtime constraint binds to 127.0.0.1
  • Depends on OpenClaw runtime: Must be pre-installed in ~/.openclaw/ directory
  • Frontend monitoring tool: Does not execute Agent logic directly, only provides observation and command entry points

Core Features#

FeatureDescription
Real-time MonitoringSSE streaming updates, 2.5s refresh cycle, polling fallback supported
Isometric Office View5 functional zones: Strategy Room / Ops Floor / Spawn Lab / Build Pods / Recovery Lounge
Configurable Room LayoutSupports ring, grid, line, cluster shapes
Agent/Subagent DistinctionDifferent style identifiers, entity clustering supported
Timeline DebuggerPlay, filter, event type filtering
Command Palette⌘/Ctrl + K shortcut to invoke
Alert Rules EngineCustom alert rules, ⌘/Ctrl + Shift + A to open alert center
OpenClaw HubProject status dashboard, progressive information disclosure
ARIA AccessibilityCompliant with accessibility standards

Architecture#

Project Structure#

openClawOffice/
├── src/
│   ├── components/     # React components
│   ├── hooks/          # Custom hooks (useOfficeStream)
│   ├── lib/            # Core logic
│   └── types/          # TypeScript types
├── server/             # Vite plugin API (embedded middleware)
├── public/assets/      # Static assets and configuration
└── docs/               # Documentation

Data Flow#

Data from ~/.openclaw/ agents and subagents → server/office-state.ts builds OfficeSnapshot → outputs via /api/office/snapshot or /api/office/stream (SSE) → consumed by useOfficeStream hook → renders to OfficeStage (isometric view), EventRail (timeline), Stats bar

Key Implementation Mechanisms#

  1. API-as-Plugin: No standalone backend process, server/ runs as Vite middleware plugin
  2. Room Layout Algorithm: Dynamically calculates entity positions based on zone-config.json
  3. Hash Sprites: hashString(entityId) selects deterministic avatars from Kenney sprite sheet
  4. Bubble Extraction: Latest JSONL line from session files parsed as dialogue bubbles
  5. Config Hot Reload: Zone configuration auto-refreshes every 10 seconds

Installation & Usage#

Prerequisites#

  • Node.js 18+ (20+ recommended)
  • pnpm 8+
  • OpenClaw runtime installed in ~/.openclaw/

Installation Steps#

git clone https://github.com/Two-Weeks-Team/openClawOffice.git
cd openClawOffice
pnpm install
pnpm dev
# Access at http://127.0.0.1:5179

Environment Variables#

VariableDefaultDescription
OPENCLAW_STATE_DIR~/.openclawOpenClaw state directory
OPENCLAW_PROJECT_DIR../openclawOpenClaw project root directory
OPENCLAW_GATEWAY_PORT18789OpenClaw gateway port
PORT5179Development server port

API Endpoints#

EndpointMethodDescription
/api/office/snapshotGETFull office state snapshot
/api/office/streamGETSSE real-time update stream
/api/office/metricsGETServer metrics and diagnostics
/api/office/openclaw-hubGETOpenClaw project status snapshot
/api/office/openclaw-hub/docGETFull document content (?path=)

Keyboard Shortcuts#

ShortcutAction
⌘/Ctrl + KOpen command palette
⌘/Ctrl + HToggle OpenClaw Hub
⌘/Ctrl + Shift + AOpen alert center
EscapeClose panel/clear selection
+ / -Zoom
0Reset zoom
FFit content

Use Cases#

  • AI agent operations monitoring (real-time execution status, subagent lifecycle)
  • Debugging & diagnostics (timeline playback, session message inspection)
  • Multi-agent orchestration (manage up to 50 active agents in isometric office view)
  • Project health overview (OpenClaw Hub dashboard)
  • openClawWorld - Spatial AI Collaboration OS by the same organization

Related Projects

View All arrow_forward

STAY UPDATED

Get the latest AI tools and trends delivered straight to your inbox. No spam, just intelligence.

rocket_launch