Tools
Teamclaw
OpenClaw plugin that runs a coordinated virtual software team — controller, 11 role-based workers, clarification-first task flow, git-backed delivery
Install
npm install
cd
Configuration Example
{
"mode": "controller",
"port": 9527,
"teamName": "my-team",
"taskTimeoutMs": 1800000,
"gitEnabled": true,
"gitDefaultBranch": "main"
}
README
# TeamClaw
TeamClaw is an **OpenClaw plugin** that turns one or more OpenClaw instances into a coordinated virtual software team.
It supports:
- `controller` / `worker` modes
- controller + externally registered workers
- adaptive kickoff planning for medium/complex work, with per-role assessments before execution
- clarification-driven task blocking and resume
- Git-backed workspace collaboration
- on-demand worker provisioning with `process`, `docker`, and `kubernetes`
- a built-in controller UI and desktop client for planning runs, tasks, clarifications, workspace browsing, and delivery reports
- per-role model selection with a live model catalog (UI and desktop settings views; role overrides > team default), and workspace relocation from the UI without hand-editing host config
**Website:** <https://topcheer.github.io/teamclaw/>
## Current validation status
TeamClaw is currently **validated end-to-end** on the feasible benchmark topologies:
- external workers
- `process` provisioning
- `docker` provisioning
- `kubernetes` provisioning
## Documentation map
- Installation guide: [`INSTALL.md`](./INSTALL.md)
- Design and architecture notes: [`DESIGN.md`](./DESIGN.md)
- TeamAuto autonomous GitHub loop: [`TEAMAUTO_DESIGN.md`](./TEAMAUTO_DESIGN.md) - joint multi-role reviews, read/write collaboration contract (worktree + PR delivery), checkpoint/resume, persisted activity
- GitHub OAuth login: [`GITHUB_AUTH.md`](./GITHUB_AUTH.md)
- Task checkpoint/resume design: [`CHECKPOINT_RESUME.md`](./CHECKPOINT_RESUME.md)
- Package-facing README: [`src/README.md`](./src/README.md)
- Desktop packaging and release commands: [`INSTALL.md#desktop-app-packaging-macos`](./INSTALL.md#desktop-app-packaging-macos)
- Public marketing site: <https://topcheer.github.io/teamclaw/>
## How TeamClaw flows work
```mermaid
flowchart LR
U[Human request] --> C[Controller intake]
C --> Q{Need clarification?}
Q -- yes --> B[Blocked clarification]
B --> A[Human answer]
A --> C
Q -- no --> T[Create execution-ready task]
T --> R[Route to matching role]
R --> W[Worker executes]
W --> S[Submit result]
S --> N{Need next stage?}
N -- yes --> C
N -- no --> F[Flow completed]
```
The key design constraint is that TeamClaw creates **execution-ready work**, not an entire speculative backlog up front. The controller keeps the flow moving stage by stage, using clarifications when a role is missing required product, technical, or infrastructure decisions.
For requirements that look medium or complex, TeamClaw can also run a **team kickoff meeting** before execution. The controller provisions candidate roles, gathers lightweight kickoff assessments from each role, and then synthesizes those assessments into a clearer task plan, dependency view, and risk summary that is visible in the UI.
## License
TeamClaw is free and open source under the **GNU Affero General Public License v3.0 only** (`AGPL-3.0-only`). See [LICENSE](./LICENSE).
You may run, study, modify and redistribute it. If you run a modified version as a network service, you must offer that version's complete source code to its users. OpenClaw itself is MIT-licensed and is not covered by this license.
## Deploy on Kubernetes (operator)
The fastest path on any cluster (k3s/minikube/cloud) is the TeamClaw
operator. It installs from GHCR as an OCI helm chart, ships a built-in
management UI, and turns each team into a `TeamClaw` custom resource -
the controller Deployment, Service, workspace PVC, and readiness status
are all managed for you:
```bash
helm install teamclaw-operator oci://ghcr.io/topcheer/charts/teamclaw-operator \
--version 0.1.0 --create-namespace -n teamclaw \
--set token.token=$(openssl rand -hex 24)
```
Open `http://<node-ip>:30990`, sign in with that token, and create teams
from the web form (paste an `openclaw.json` inline; the operator creates
the backing Secret). Details and per-option values: [`INSTALL.md`](./INSTALL.md).
The runtime image (`ghcr.io/topcheer/teamclaw-openclaw`) layers the
TeamClaw plugin onto the official `ghcr.io/openclaw/openclaw` base
(2026.10.10) - keeping the plugin and runtime schema in the same
generation. The `teamclaw` helm chart deploys a standalone controller
without the operator if you prefer plain helm.
## Topology overview
| Topology | What it is | Best first use | Current status |
| --- | --- | --- | --- |
| `external workers` | One controller, multiple separately launched workers | Multi-machine role separation | Validated |
| `process` provisioning | Controller launches same-host worker processes on demand | Best first same-host setup | Validated |
| `docker` provisioning | Controller launches container workers on demand | Isolated worker runtime image | Validated |
| `kubernetes` provisioning | Controller launches worker pods with `kubectl` | Cluster-native deployments | Validated |
## Developer quick start
This section is for repository contributors and source-based local development. If you want the easiest end-user setup, go to [`INSTALL.md`](./INSTALL.md).
### 1. Clone and initialize the submodule
```bash
git clone <repo-url>
cd TeamClaw
git submodule update --init --recursive
```
### 2. Let OpenClaw discover the TeamClaw extension
```bash
bash scripts/symlink-extension.sh
```
This creates:
```text
openclaw/extensions/teamclaw -> ../../src
```
### 3. Install dependencies
```bash
cd openclaw
pnpm install
cd ..
```
### 4. Run OpenClaw
```bash
cd openclaw
pnpm openclaw gateway run
```
## Controller and worker modes
### Controller mode
Controller mode manages the team:
- receives user input
- performs intake and clarification routing
- tracks worker state and task status
- owns the Web UI and WebSocket broadcast channel
### Internet tunnel (share the Web UI)
The controller Web UI can be shared beyond localhost without opening any
inbound port. Configure from the header `Tunnel` button (popover):
| Mode | Requires | URL | Notes |
|---|---|---|---|
| Managed `*.teamclaw.dev` | GitHub login | stable, gate-token protected | platform tunnel server; live URL shows as a pill in the header |
| Self-hosted Cloudflare | connector token (Zero Trust -> Tunnels) | your own domain | or inject `TEAMCLAW_TUNNEL_TOKEN`; hostname managed in your CF dashboard, protect with Cloudflare Access |
| Anonymous one-off | nothing | random `*.trycloudflare.com` (cloudflared) | dies on restart, no gate - anyone with the link can open the dashboard; quick demos only |
Tunnels survive controller restarts (except anonymous one-offs) and
stale "live" state is cleared automatically when a connector dies.
- creates execution-ready tasks and continues the flow when prior stages finish
Minimal controller configuration:
```json
{
"mode": "controller",
"port": 9527,
"teamName": "my-team",
"taskTimeoutMs": 1800000,
"gitEnabled": true,
"gitDefaultBranch": "main"
}
```
### On-demand worker provisioning
If you want workers to appear only when needed, set `workerProvisioningType` on the controller. This is now the recommended same-host deployment path:
- `process`: launch same-host worker processes
- `docker`: launch container workers through the Docker API
- `kubernetes`: launch worker pods through `kubectl`
Example `process` provisioning configuration:
```json
{
"mode": "controller",
"processModel": "multi",
"port": 9527,
"teamName": "my-team",
"workerProvisioningType": "process",
"workerProvisioningRoles": [],
"workerProvisioningMinPerRole": 0,
"workerProvisioningMaxPerRole": 10,
"workerProvisioningIdleTtlMs": 120000,
"workerProvisioningStartupTimeoutMs": 120000
}
```
If you use the guided installer, note that different install modes intentionally write different same-role caps:
- `controller-manual` keeps a lean same-host setup with `workerProvisioningRoles: []`; startup readiness falls back to a warm `developer` worker
- `controller-process` lets you choose `workerProvisioningRoles` and `workerProvisioningMaxPerRole`
- `worker` disables provisioning on that node
Example `docker` provisioning configuration:
```json
{
"mode": "controller",
"port": 9527,
"teamName": "my-team",
"workerProvisioningType": "docker",
"workerProvisioningControllerUrl": "http://host.docker.internal:9527",
"workerProvisioningImage": "ghcr.io/topcheer/teamclaw-openclaw:latest",
"workerProvisioningWorkspaceRoot": "/workspace-root",
"workerProvisioningDockerWorkspaceVolume": "teamclaw-workspaces",
"workerProvisioningRoles": ["developer", "qa", "infra-engineer"],
"workerProvisioningMaxPerRole": 10,
"workerProvisioningDockerMounts": [
"/var/run/docker.sock:/var/run/docker.sock"
],
"workerProvisioningPassEnv": ["DOCKER_HOST", "DOCKER_CONFIG", "KUBECONFIG", "NO_PROXY"]
}
```
### External worker nodes
If you want to run workers on separate machines or long-lived hosts, use `mode: "worker"` and point each worker at the controller:
```json
{
"mode": "worker",
"processModel": "multi",
"port": 9528,
"role": "developer",
"teamName": "my-team",
"controllerUrl": "http://YOUR_CONTROLLER_HOST:9527",
"taskTimeoutMs": 1800000,
"gitEnabled": true,
"gitDefaultBranch": "main"
}
```
## Clarifications are a first-class part of the flow
When a role cannot safely continue because a requirement, decision, credential, or infrastructure dependency is missing, it should raise a clarification instead of guessing.
The task then becomes `blocked`, appears in the Web UI clarifications view, and resumes after a human answer is posted.
This is especially important for infra and DevOps work: TeamClaw should not pretend required infrastructure already exists.
## Git-backed workspace collaboration
TeamClaw uses **git** as the default collaboration layer.
- The controller initializes a repository inside the shared workspace.
- In distributed mode, workers can sync from controller-hosted **git bundle** endpoints even when you do not have an external Git service.
... (truncated)
tools
Comments
Sign in to leave a comment