openclaw-control-center README

The project's README from github.com/TianyiDataScience/openclaw-control-center. As one markdown file: README.md.

Chinese reader? Start here: 打开中文 README

OpenClaw Control Center

OpenClaw Control Center overview hero screenshot

Turn OpenClaw from a black box into a local control center you can see, trust, and control.

Language: English | 中文

Why this exists

What you get

What this release adds

Who it is for

Screenshots

Example UI from a local OpenClaw environment:

OpenClaw Control Center token attribution screenshot OpenClaw Control Center staff page screenshot
Token attribution
See which timed jobs are actually consuming tokens and how the share splits across them.
Staff page
See who is working now, who is on standby, recent output, and schedule state.
OpenClaw Control Center collaboration screenshot OpenClaw Control Center security and update status screenshot
Collaboration page
See one shared thread where agents discuss, assign owners, hand off work, and review results.
Security and update status
See current risk, impact, next-step guidance, and the gap between your current and latest version.

Hall integration with your existing agents

Hall workflow

5-minute start

npm install
cp .env.example .env
npm run build
npm test
npm run smoke:ui
npm run smoke:hall
npm run dev:ui

Then open:

Notes:

Section-by-section tour

Overview

Usage

Staff

Collaboration

Memory

Documents

Tasks

Settings

What this is not

Core constraints

What LOCAL_API_TOKEN is

What UI_TIMEZONE is

Quick start

  1. npm install
  2. cp .env.example .env
  3. Keep safe defaults for the first run; only change GATEWAY_URL or path overrides if your OpenClaw setup is non-standard.
  4. Before testing save/import/hall write actions, set LOCAL_API_TOKEN in .env to a long random string.
  5. npm run build
  6. npm test
  7. npm run smoke:ui
  8. npm run smoke:hall
  9. npm run dev:ui

Docker deployment

Multi-agent workspace layouts

Installation and onboarding

1. Before you start

You should already have:

For the richest dashboard data, it also helps if this machine has:

2. Install the project

git clone https://github.com/TianyiDataScience/openclaw-control-center.git
cd openclaw-control-center
npm install
cp .env.example .env

If OpenClaw claims the repo is missing src/runtime or other core source files, do not start patching code. The canonical repo layout already includes:

That error usually means:

The best first-run path is not manual setup. The best path is to give your own OpenClaw one install instruction block and let it do the safe wiring for you.

If you want a copy-ready standalone file, use:

It should handle:

This install instruction already accounts for common real-world differences such as:

Copy the full block below into OpenClaw:

You are installing and connecting OpenClaw Control Center to this machine's OpenClaw environment.

Your goal is not to explain theory. Your goal is to complete a safe first-run setup end to end.

Hard rules:
1. Work only inside the control-center repository.
2. Do not modify application source code unless I explicitly ask.
3. Do not modify OpenClaw's own config files.
4. Do not enable live import or approval mutations.
5. Keep all high-risk write paths disabled.
6. Do not assume default agent names, default paths, or a default subscription model. Use real inspection results from this machine.
7. Do not treat missing subscription data, missing Codex data, or a missing billing snapshot as an install failure. If the UI can run safely, continue and clearly mark which panels will be degraded.
8. Do not fabricate, generate, or overwrite any provider API key, token, cookie, or external credential. If OpenClaw itself is missing those prerequisites, report the gap instead of guessing.

Follow this order:

Phase 1: inspect the environment
1. Check whether the OpenClaw Gateway is reachable and confirm the correct `GATEWAY_URL`.
2. Confirm the correct `OPENCLAW_HOME` and `CODEX_HOME` on this machine.
3. If the subscription or billing snapshot is stored outside the default path, find the correct `OPENCLAW_SUBSCRIPTION_SNAPSHOT_PATH`.
4. Confirm which prerequisites are truly present and which are missing-but-degradable.
5. If more than one plausible `OPENCLAW_HOME`, Gateway, or workspace exists, do not guess.
6. If a path, process, or file is missing in a way that makes the control center impossible to start at all, stop and explain the missing prerequisite clearly.
7. If the missing item only affects richer dashboards, continue and mark those surfaces as partial.
8. Do not assume any fixed agent names. If `openclaw.json` is readable, treat it as the source of truth.

Phase 2: install the project
9. Confirm that the current directory is the control-center repo root. If it has not been cloned yet, clone it first: `git clone https://github.com/TianyiDataScience/openclaw-control-center.git`
10. Verify the repo is complete before editing anything.
11. If core paths (`src/runtime`, `src/ui`, `package.json`) are missing, do not continue. Re-clone from `https://github.com/TianyiDataScience/openclaw-control-center.git`.
12. Run dependency install.
13. If `.env` does not exist, create it from `.env.example`; otherwise correct it while preserving safe defaults.

Phase 3: safe first-run configuration
14. Keep these values:
   - READONLY_MODE=true
   - LOCAL_TOKEN_AUTH_REQUIRED=true
   - APPROVAL_ACTIONS_ENABLED=false
   - APPROVAL_ACTIONS_DRY_RUN=true
   - IMPORT_MUTATION_ENABLED=false
   - IMPORT_MUTATION_DRY_RUN=false
   - UI_MODE=false
15. Only change `GATEWAY_URL`, `OPENCLAW_HOME`, `CODEX_HOME`, `OPENCLAW_SUBSCRIPTION_SNAPSHOT_PATH`, or `UI_PORT` when this machine really requires it.
16. If `CODEX_HOME` or subs

openclaw-control-center (TianyiDataScience/openclaw-control-center)

Searching Database…

这是什么?一个运行在本地的 OpenClaw 网页控制中心:一个仪表盘就能看到你的 agent 是健康、忙碌、被卡住还是在跑偏,还能查看用量、任务、审批、文档和记忆。它是为非技术运营人员打造的,要的是确定性,而不是原始的后端数据。
那它是用来替代 OpenClaw 的,还是我在它上面运行的东西?它和 OpenClaw 在同一台机器或可访问的本地环境中一起运行——读取的是 OpenClaw 的实时数据,并不是要取代它。它不是面向其他 agent 框架的通用仪表盘,也不是托管式的 SaaS 服务。
我怎么把它跑起来?运行 npm install,把 .env.example 复制为 .env,然后运行 npm run build 和 npm run dev:ui。建议用 dev:ui——单纯的 npm run dev 脚本只会执行一轮监控,不会启动网页界面。
我是不是得先有一套能正常运行的 OpenClaw?是的:这个应用必须能读到同样的 OpenClaw 数据路径并连接到 Gateway,所以你要在 .env 里配置 GATEWAYURL、OPENCLAWHOME、OPENCLAWCONFIGPATH 和 OPENCLAWWORKSPACEROOT。设置 CODEXHOME 是可选的,配上之后还能看到 Codex 的用量和订阅数据。
它安全吗——会不会改动我 OpenClaw 里的东西?默认情况下它是刻意设计成只读的:READONLYMODE=true,必须本地令牌认证,变更类接口被禁用,审批操作也只是演练(dry-run)。要解锁写入,你需要在 .env 里把 LOCALAPITOKEN 设成一个足够长的随机字符串;不设置的话,受保护的操作会按设计保持封锁。
这个仪表盘有哪些页面?Overview 看健康状况、停滞的运行和预算风险;Usage 看花费和配额趋势,以及上下文压力;Staff 看谁真正在干活、谁在排队;Tasks 包含审批和执行链;还有带来源依据的 Documents 和 Memory 工作台;Settings 里是连接健康状态、安全风险和更新情况。
Collaboration 大厅是什么?一个多 agent 共享的工作聊天室:你发一个任务,在册的 agent 在实时时间线里讨论,你排定执行顺序,每个负责人完成自己那一步后 @ 下一个人再进入评审。对话轮次可以通过真正的 OpenClaw 运行时派发,房间还能镜像到 Discord 或 Telegram。
我可以用 Docker 运行它吗?可以:把 .env.example 复制为 .env,编辑 docker-compose.example.yml 里的挂载路径和 LOCALAPITOKEN,然后运行 docker compose -f docker-compose.example.yml up --build。容器仍然必须能读到同样的 OpenClaw 数据路径并连接到 Gateway。
我能从别的设备打开这个界面吗?可以——除非你覆盖 UIBINDADDRESS,否则界面会绑定到 0.0.0.0;要通过 Tailscale 访问,把 OPENCLAWCONTROLUIURL 设成你的 Tailscale 主机名或 IP 即可。
Size
39 MB
Stars
4K
Updated
CommitApr 13
Age
7mo
Commits · 90 Days