Skip to main content

Framework-agnostic multi-agent coordination CLI

Project description

ย  ClawTeam: Agent Swarm Intelligence

The Evolution of AI Agents ๐Ÿš€: Solo ๐Ÿค– โ†’ Swarm ๐Ÿฆž๐Ÿค–๐Ÿค–๐Ÿค–
ClawTeam: Let AI Agents Form Swarms, Think & Work Together, and Ship Faster

Quick Start Use Cases Features License

Python Typer Agents Transport Feishu WeChat

One Command Line: Full Automation. โ€” agents spawn swarms, delegate tasks, and deliver results.

Human provides the goal. The Agent Team orchestrates everything else.

Full compatibility with Claude Code, Codex, OpenClaw, nanobot, Cursor, and any CLI agent.ย ย ไธญๆ–‡ๆ–‡ๆกฃ | ํ•œ๊ตญ์–ด


๐Ÿ“ฐ News

2026-03-18 ClawTeam project launched publicly.

2026-03-23 ClawTeam v0.2.0 is released today.

2026-03 The current baseline includes config management, multi-user workflows, Web UI, P2P transport, and team templates.


โœจ ClawTeam's Key Features

๐Ÿ”ฌ AI Research Automation

AutoResearch

โ€ข Large-Scale Automated ML Experimentation

โ€ข AI Model Training & Optimization

โ€ข AI-Driven Hypothesis Generation & Validation

โ€ข Self-Improving Model Architectures

๐Ÿ—๏ธ Agentic Engineering

Engineering

โ€ข Autonomous Full-Stack Development

โ€ข Self-Evolving Software

โ€ข Collaborative Open Source Development

โ€ข Real-Time System Integration

๐Ÿ’ฐ AI Hedge Fund

Hedge Fund

โ€ข Automated Market Research & Data Mining

โ€ข Multi-Strategy Portfolio Optimization

โ€ข Real-Time Risk Assessment

โ€ข Algorithmic Trading Execution & Monitoring

๐ŸŽช Your Own Swarm

Templates

โ€ข Custom Scientific Research Teams

โ€ข Personalized Investment Committees

โ€ข Business Operations Teams

โ€ข Content Production Studios


Watch the demo video

Open the demo video directly

โ˜๏ธ Intelligent leader agent orchestrates 8 specialized sub-agents across 8 H100 GPUs, autonomously designing experiments and dynamically reallocating resources based on real-time performance.

๐Ÿง  The system synthesizes breakthroughs across teams and evolves strategies independently โ€” achieving full research automation without human intervention.

ClawTeam - AI agents orchestrating themselves


๐Ÿค” Why ClawTeam?

Current AI agents are powerful โ€” but they work in isolation. When facing complex tasks, you're stuck manually coordinating multiple agents, juggling context, and stitching together fragmented results.

What if agents could think and work as a team?

ClawTeam unlocks Agent Swarm Intelligence โ€” where AI agents self-organize into collaborative teams, intelligently divide complex work, share insights in real-time, and converge on breakthrough solutions.

โ€ข ๐Ÿš€ Spawns specialized sub-agents โ€” each with dedicated environments and focus areas

โ€ข ๐Ÿ“‹ Designs intelligent task allocation โ€” with smart dependency management

โ€ข ๐Ÿ’ฌ Facilitates real-time coordination โ€” seamless inter-agent communication

โ€ข ๐Ÿ“Š Monitors team performance โ€” tracks progress and identifies bottlenecks

โ€ข ๐Ÿ”„ Adapts strategies dynamically โ€” reallocates resources and redirects efforts

โœจ The Result?

You set the vision. The swarm executes with collective intelligence.

How ClawTeam works - comic


๐ŸŽฏ Swarm Intelligence in Action

๐Ÿฆž Agents Spawn Agents

The leader agent calls clawteam spawn to create workers. Each worker gets its own git worktree, tmux window, and identity โ€” automatically.

# The leader agent runs:
clawteam spawn --team my-team \
  --agent-name worker1 \
  --task "Implement auth module"

๐Ÿค– Agents Talk to Agents

Workers check their inbox, update task status, and report results โ€” all through CLI commands that are auto-injected into their prompt.

# A worker agent checks tasks:
clawteam task list my-team --owner me
# Then reports back:
clawteam inbox send my-team leader \
  "Auth done. All tests passing."

๐Ÿ‘€ You Just Watch

Monitor the swarm from a tiled tmux view or a Web UI. The leader handles coordination โ€” you intervene only when you want to.

# Watch all agents simultaneously
clawteam board attach my-team
# Or open the web dashboard
clawteam board serve --port 8080
ClawTeam Other multi-agent frameworks
๐ŸŽฏ Who uses it The AI agents themselves Humans writing orchestration code
โšก Setup pip install + one prompt to the leader Docker, cloud APIs, YAML configs
๐Ÿ—๏ธ Infrastructure Just a filesystem and tmux Redis, message queues, databases
๐Ÿค– Agent support Any CLI agent (Claude Code, Codex, OpenClaw, custom) Framework-specific only
๐ŸŒณ Isolation Git worktrees (real branches, real diffs) Containers or virtual envs
๐Ÿง  Intelligence Swarm self-organizes via CLI commands Hard-coded orchestration logic

๐ŸŽฌ Use Cases

๐Ÿ”ฌ 1. Autonomous ML Research โ€” 8 Agents ร— 8 H100 GPUs

Based on @karpathy's autoresearch.

๐Ÿ’ซ One Command. Full Automation.

Human input: "Optimize this LLM training setup using 8 GPUs"

The Agent Team handles everything else:

  • Spawns 8 specialized research agents across H100s
  • Designs 2000+ autonomous experiments
  • Achieves breakthrough improvements (val_bpb: 1.044โ†’0.977)
  • Zero human intervention required

๐ŸŽฏ Pure Research at Scale

Transform months of manual hyperparameter tuning into hours of intelligent automation.

AutoResearch Progress
๐Ÿ† val_bpb: 1.044 โ†’ 0.977 (6.4% improvement) | 2430+ experiments | ~30 GPU-hours

What agent team did autonomously:

Human prompt: "Use 8 GPUs to optimize train.py. Read program.md for instructions."

๐Ÿฆž Leader agent's actions:
โ”œโ”€โ”€ ๐Ÿ“– Read program.md, understand the experiment protocol
โ”œโ”€โ”€ ๐Ÿ—๏ธ clawteam team spawn-team autoresearch
โ”œโ”€โ”€ ๐Ÿš€ Assigned each GPU a research direction:
โ”‚   โ”œโ”€โ”€ GPU 0: clawteam spawn --task "Explore model depth (DEPTH 10-16)"
โ”‚   โ”œโ”€โ”€ GPU 1: clawteam spawn --task "Explore model width (ASPECT_RATIO 80-128)"
โ”‚   โ”œโ”€โ”€ GPU 2: clawteam spawn --task "Tune learning rates and optimizer"
โ”‚   โ”œโ”€โ”€ GPU 3: clawteam spawn --task "Explore batch size and accumulation"
โ”‚   โ”œโ”€โ”€ GPU 4-7: clawteam spawn tmux codex --task "..."  (Codex agents)
โ”‚   โ””โ”€โ”€ ๐ŸŒณ Each agent: own git worktree, own branch, isolated experiments
โ”œโ”€โ”€ ๐Ÿ”„ Every 30 minutes, checked results:
โ”‚   โ”œโ”€โ”€ clawteam board show autoresearch
โ”‚   โ”œโ”€โ”€ Read each agent's results.tsv
โ”‚   โ”œโ”€โ”€ ๐Ÿ† Identified best findings (depth=12, batch=2^17, norm-before-RoPE)
โ”‚   โ””โ”€โ”€ ๐Ÿ“ก Cross-pollinated: told new agents to start from the best config
โ”œโ”€โ”€ ๐Ÿ”ง When agents finished, reassigned GPUs:
โ”‚   โ”œโ”€โ”€ Killed idle agents, cleaned worktrees
โ”‚   โ”œโ”€โ”€ Created new worktrees from the best commit
โ”‚   โ””โ”€โ”€ Spawned fresh agents with combined optimization directions
โ””โ”€โ”€ โœ… After 2430+ experiments: val_bpb 1.044 โ†’ 0.977

Full results: novix-science/autoresearch


๐Ÿ—๏ธ 2. Agentic Software Engineering

You tell Claude Code: "Build me a full-stack todo app." Claude realizes this is a multi-module task and self-organizes a team:

Human prompt: "Build a full-stack todo app with auth, database, and React frontend."

๐Ÿฆž Leader agent's actions:
โ”œโ”€โ”€ ๐Ÿ—๏ธ clawteam team spawn-team webapp -d "Full-stack todo app"
โ”œโ”€โ”€ ๐Ÿ“‹ Created tasks with dependency chains:
โ”‚   โ”œโ”€โ”€ T1: "Design REST API schema"          โ†’ architect
โ”‚   โ”œโ”€โ”€ T2: "Implement JWT auth" --blocked-by T1  โ†’ backend1
โ”‚   โ”œโ”€โ”€ T3: "Build database layer" --blocked-by T1 โ†’ backend2
โ”‚   โ”œโ”€โ”€ T4: "Build React frontend"             โ†’ frontend
โ”‚   โ””โ”€โ”€ T5: "Integration tests" --blocked-by T2,T3,T4 โ†’ tester
โ”œโ”€โ”€ ๐Ÿš€ Spawned 5 sub-agents (each in its own git worktree):
โ”‚   โ”œโ”€โ”€ clawteam spawn --agent-name architect --task "Design the API schema"
โ”‚   โ”œโ”€โ”€ clawteam spawn --agent-name backend1  --task "Implement JWT auth"
โ”‚   โ”œโ”€โ”€ clawteam spawn --agent-name backend2  --task "Build PostgreSQL models"
โ”‚   โ”œโ”€โ”€ clawteam spawn --agent-name frontend  --task "Build React UI"
โ”‚   โ””โ”€โ”€ clawteam spawn --agent-name tester    --task "Write pytest tests"
โ”œโ”€โ”€ ๐Ÿ”— Dependency auto-resolution:
โ”‚   โ”œโ”€โ”€ architect completes โ†’ backend1 and backend2 auto-unblock
โ”‚   โ”œโ”€โ”€ All backends complete โ†’ tester auto-unblocks
โ”‚   โ””โ”€โ”€ Each agent calls: clawteam task update <id> --status completed
โ”œโ”€โ”€ ๐Ÿ’ฌ Sub-agents coordinate via inbox:
โ”‚   โ”œโ”€โ”€ architect โ†’ backend1: "Here's the OpenAPI spec: ..."
โ”‚   โ”œโ”€โ”€ backend1 โ†’ tester: "Auth endpoints ready at /api/auth/*"
โ”‚   โ””โ”€โ”€ tester โ†’ leader: "All 47 tests passing โœ…"
โ””โ”€โ”€ ๐ŸŒณ Leader merges all worktrees into main branch

๐Ÿ’ฐ 3. AI Hedge Fund โ€” One-Command Team Launch

A pre-built TOML template spawns a complete 7-agent investment analysis team:

# One command launches everything:
clawteam launch hedge-fund --team fund1 --goal "Analyze AAPL, MSFT, NVDA for Q2 2026"
๐Ÿฆž What happens automatically:
โ”œโ”€โ”€ ๐Ÿ“Š Portfolio Manager (leader) spawns and receives the goal
โ”œโ”€โ”€ ๐Ÿค– 5 Analyst agents spawn, each with a different strategy:
โ”‚   โ”œโ”€โ”€ ๐ŸŽฉ Buffett Analyst    โ†’ value investing (moat, ROE, DCF)
โ”‚   โ”œโ”€โ”€ ๐Ÿš€ Growth Analyst     โ†’ disruption (TAM, network effects)
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ˆ Technical Analyst  โ†’ indicators (EMA, RSI, Bollinger)
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‹ Fundamentals       โ†’ financial ratios (P/E, D/E, FCF)
โ”‚   โ””โ”€โ”€ ๐Ÿ“ฐ Sentiment Analyst  โ†’ news + insider trading signals
โ”œโ”€โ”€ ๐Ÿ›ก๏ธ Risk Manager spawns, waits for all analyst signals:
โ”‚   โ”œโ”€โ”€ clawteam inbox receive fund1 (collects all 5 signals)
โ”‚   โ”œโ”€โ”€ Consolidates + computes position limits
โ”‚   โ””โ”€โ”€ clawteam inbox send fund1 portfolio-manager "RISK REPORT: ..."
โ””โ”€โ”€ ๐Ÿ’ผ Portfolio Manager makes final buy/sell/hold decisions

Templates are TOML files โ€” create your own team archetypes for any domain.


๐Ÿ“ฆ Install

pip install clawteam

# Or from source
git clone https://github.com/HKUDS/ClawTeam.git
cd ClawTeam
pip install -e .

# Optional: P2P transport (ZeroMQ)
pip install -e ".[p2p]"

Requires Python 3.10+, tmux, and a CLI coding agent (e.g. claude, codex). Python dependencies: typer, pydantic, rich.

All spawn examples assume the agent CLI you name is already installed and available on PATH.


๐Ÿš€ Quick Start

If you're new to ClawTeam, follow this order:

  1. Make sure tmux and your agent CLI run standalone on this machine.
  2. Pick one path below: let an agent drive, or drive it manually.
  3. Use the supported-agent table to choose the right spawn command.
  4. If you're integrating a new agent, check the adapter notes before debugging.

โœ… Before You Start

Run these checks first:

tmux -V
clawteam --help

# Replace claude with the agent you actually want to use:
claude --version
codex --version
nanobot --help

If the agent CLI does not run correctly by itself, clawteam spawn will not fix it.

โšก Option 1: Let the Agent Drive (Recommended)

ClawTeam ships with a Claude Code skill that auto-activates. Just install and prompt:

"Build a web app. Use clawteam to split the work across multiple agents."

The agent will automatically create a team, spawn workers, assign tasks, and coordinate โ€” using clawteam CLI commands under the hood.

๐Ÿ”ง Option 2: Drive It Manually

# 1. Create a team (you become the leader)
clawteam team spawn-team my-team -d "Build the auth module" -n leader

# 2. Spawn worker agents โ€” each gets a git worktree, tmux window, and identity
clawteam spawn --team my-team --agent-name alice --task "Implement the OAuth2 flow"
clawteam spawn --team my-team --agent-name bob   --task "Write unit tests for auth"

# 3. Workers auto-receive a coordination prompt that teaches them to:
#    โœ… Check tasks:    clawteam task list my-team --owner alice
#    โœ… Update status:  clawteam task update my-team <id> --status completed
#    โœ… Message leader: clawteam inbox send my-team leader "Done!"
#    โœ… Report idle:    clawteam lifecycle idle my-team

# 4. Watch them work side-by-side
clawteam board attach my-team

๐Ÿงฉ Profiles and Presets

When you want to use a non-default provider, model, or API gateway, configure a profile first instead of manually exporting provider env vars each time.

# See built-in provider templates
clawteam preset list
clawteam preset show moonshot-cn

# Generate a reusable runtime profile from a preset
clawteam preset generate-profile moonshot-cn claude --name claude-kimi

# Or use the interactive TUI
clawteam profile wizard

# Claude Code on a fresh machine/home may need this once
clawteam profile doctor claude

# Smoke-test the profile before spawning workers
MOONSHOT_API_KEY=... clawteam profile test claude-kimi

Rules of thumb:

  • profile is the final runtime object used by spawn / launch
  • preset is a reusable provider template that generates one or more profiles
  • wizard is the easiest path for first-time setup
  • doctor is mainly for Claude Code first-run onboarding state

๐Ÿงญ Which Spawn Command Should I Use?

Use clawteam spawn [backend] [command] ... with the command that already works on your machine:

# Claude Code
clawteam spawn tmux claude --team my-team --agent-name alice --task "Implement OAuth2"

# Codex
clawteam spawn tmux codex --team my-team --agent-name bob --task "Write frontend tests"

# nanobot
clawteam spawn tmux nanobot --team my-team --agent-name carol --task "Build the API"

# A configured profile (recommended for non-default providers/models)
clawteam spawn tmux --profile claude-kimi --team my-team --agent-name dave --task "Refactor the auth flow"

Notes:

  • tmux is the default backend and is the best choice when you want to watch interactive agent UIs.
  • subprocess is better for one-shot tools or non-interactive scripts.
  • nanobot is normalized internally to nanobot agent, so the command above is the correct ClawTeam entrypoint.
  • Claude Code and Codex trust prompts in fresh worktrees are auto-confirmed by the tmux backend.
  • For non-default providers/models, prefer --profile <name> over manually exporting env vars inline.

๐Ÿ”Œ Adding a Different Agent

ClawTeam can work with agents beyond Claude Code, Codex, and nanobot, but the CLI must satisfy a small compatibility contract:

  1. The command must exist on PATH and launch successfully outside ClawTeam.
  2. The agent must be able to run inside a specific working directory or git worktree.
  3. The agent must accept an initial task, either by command-line argument or interactive input.
  4. The process must stay alive in tmux if it is meant to be interactive.

If you're unsure, test the agent standalone first, then wrap it with:

clawteam spawn subprocess <your-agent> --team my-team --agent-name test --task "Say OK"

If that works, switch to tmux for interactive monitoring.

๐Ÿค– Supported Agents

ClawTeam works with any CLI agent that can execute shell commands:

All examples below assume the corresponding CLI already runs standalone on your machine.

Agent Spawn Command Status
Claude Code clawteam spawn tmux claude --team ... โœ… Full support
Codex clawteam spawn tmux codex --team ... โœ… Full support
OpenClaw clawteam spawn tmux openclaw --team ... โœ… Full support
nanobot clawteam spawn tmux nanobot --team ... โœ… Full support
Kimi CLI clawteam spawn tmux kimi --team ... โœ… Full support
Cursor clawteam spawn subprocess cursor --team ... ๐Ÿ”ฎ Experimental
Custom scripts clawteam spawn subprocess python --team ... โœ… Full support

For provider-aware setups such as Claude Code via Moonshot Kimi or Gemini via Vertex, use profile + preset and then spawn with --profile.


โœจ Features

๐Ÿฆž Agent Self-Organization

  • Leader agents spawn and manage worker agents
  • Auto-injected coordination prompt โ€” zero manual setup
  • Workers self-report status, results, and idle state
  • Works with any CLI agent: Claude Code, Codex, OpenClaw, custom

๐ŸŒณ Workspace Isolation

  • Each agent gets its own git worktree (separate branch)
  • No merge conflicts between parallel agents
  • Checkpoint, merge, and cleanup commands
  • Branch naming: clawteam/{team}/{agent}

๐Ÿ“‹ Task Tracking with Dependencies

  • Shared kanban: pending โ†’ in_progress โ†’ completed / blocked
  • --blocked-by dependency chains โ€” auto-unblock on completion
  • task wait blocks until all tasks complete
  • Filter by status, owner; JSON output for scripting

๐Ÿ’ฌ Inter-Agent Messaging

  • Point-to-point inboxes (send, receive, peek)
  • Broadcast to all team members
  • File-based (default) or ZeroMQ P2P transport with offline fallback
  • Agents discover messages via inbox receive

๐Ÿ“Š Monitoring & Dashboards

  • board show โ€” terminal kanban board
  • board live โ€” auto-refreshing dashboard
  • board attach โ€” tiled tmux view of all agents working
  • board serve โ€” Web UI with real-time updates

๐ŸŽช Team Templates

  • TOML files define team archetypes (roles, tasks, prompts)
  • One command launches a complete team: clawteam launch <template>
  • Built-in: AI Hedge Fund (7 agents). Create your own.
  • Variable substitution: {goal}, {team_name}, {agent_name}

๐Ÿ”ง More

Feature Description
๐Ÿ“ Plan Approval Agents submit plans for leader review before execution
๐Ÿ”„ Lifecycle Protocol Graceful shutdown request/approve/reject, idle notifications
๐Ÿ“Š JSON Output --json flag on all commands โ€” agents parse structured output
๐ŸŒ Cross-Machine Shared filesystem (NFS/SSHFS) or P2P transport for distributed teams
๐Ÿ‘ฅ Multi-User Namespace agents by user โ€” multiple humans can share a team
โš™๏ธ Configuration Persistent config: env var > config file > default priority
๐Ÿ”Œ Claude Code Skill Auto-triggers when users ask about multi-agent coordination

๐Ÿค– How Agents Use ClawTeam

When an agent is spawned via clawteam spawn, it receives an auto-injected coordination prompt:

## Coordination Protocol (auto-injected into every spawned agent)

- ๐Ÿ“‹ Check your tasks: clawteam task list <team> --owner <your-name>
- โ–ถ๏ธ Start a task:     clawteam task update <team> <id> --status in_progress
- โœ… Finish a task:    clawteam task update <team> <id> --status completed
- ๐Ÿ’ฌ Message leader:   clawteam inbox send <team> leader "status update..."
- ๐Ÿ’ฌ Message teammate: clawteam inbox send <team> <name> "info..."
- ๐Ÿ“จ Check inbox:      clawteam inbox receive <team>
- ๐Ÿ˜ด Report idle:      clawteam lifecycle idle <team>

This means any CLI agent can participate in a ClawTeam team โ€” it just needs to run shell commands. No custom SDK, no API integration, no framework lock-in.


๐Ÿ“– Command Reference

๐Ÿ”ง Core Commands

# ๐Ÿ—๏ธ Team lifecycle
clawteam team spawn-team <team> -d "description" -n <leader>
clawteam team discover                    # List all teams
clawteam team status <team>               # Show members
clawteam team cleanup <team> --force      # Delete team

# ๐Ÿš€ Spawn agents
clawteam spawn --team <team> --agent-name <name> --task "do this"
clawteam spawn tmux codex --team <team> --agent-name <name> --task "do this"

# ๐Ÿ“‹ Task management
clawteam task create <team> "subject" -o <owner> --blocked-by <id1>,<id2>
clawteam task update <team> <id> --status completed   # auto-unblocks dependents
clawteam task list <team> --status blocked --owner worker1
clawteam task wait <team> --timeout 300

# ๐Ÿ’ฌ Messaging
clawteam inbox send <team> <to> "message"
clawteam inbox broadcast <team> "message"
clawteam inbox receive <team>             # consume messages
clawteam inbox peek <team>                # read without consuming

# ๐Ÿ“Š Monitoring
clawteam board show <team>                # terminal kanban
clawteam board live <team> --interval 3   # auto-refresh
clawteam board attach <team>              # tiled tmux view
clawteam board serve --port 8080          # web UI

๐ŸŒณ Workspace, ๐Ÿ“ Plan, ๐Ÿ”„ Lifecycle, โš™๏ธ Config

# ๐ŸŒณ Workspace (git worktree management)
clawteam workspace list <team>
clawteam workspace checkpoint <team> <agent>    # auto-commit
clawteam workspace merge <team> <agent>         # merge back to main
clawteam workspace cleanup <team> <agent>       # remove worktree

# ๐Ÿ“ Plan approval
clawteam plan submit <team> <agent> "plan" --summary "TL;DR"
clawteam plan approve <team> <plan-id> <agent> --feedback "LGTM"
clawteam plan reject <team> <plan-id> <agent> --feedback "Revise X"

# ๐Ÿ”„ Lifecycle
clawteam lifecycle request-shutdown <team> <agent> --reason "done"
clawteam lifecycle approve-shutdown <team> <request-id> <agent>
clawteam lifecycle idle <team>

# ๐ŸŽช Templates
clawteam launch <template> --team <name> --goal "Build X"
clawteam template list

# โš™๏ธ Config
clawteam config show
clawteam config set transport p2p
clawteam config health
Setting Env Var Default Description
data_dir CLAWTEAM_DATA_DIR ~/.clawteam Data directory
transport CLAWTEAM_TRANSPORT file file or p2p
workspace CLAWTEAM_WORKSPACE auto auto / always / never
default_backend CLAWTEAM_DEFAULT_BACKEND tmux tmux or subprocess
skip_permissions CLAWTEAM_SKIP_PERMISSIONS true Auto-approve agent tools

๐Ÿ—๏ธ Architecture

  Human: "Optimize this LLM"
         โ”‚
         โ–ผ
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     clawteam spawn     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚ ๐Ÿฆž Leader    โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ โ”‚ ๐Ÿค– Worker    โ”‚
  โ”‚ (Claude Code)โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”                โ”‚ (Claude Code)โ”‚
  โ”‚              โ”‚       โ”‚                โ”‚ git worktree โ”‚
  โ”‚ Uses:        โ”‚       โ”‚                โ”‚ tmux window  โ”‚
  โ”‚ โ€ข spawn      โ”‚       โ”‚ clawteam spawn โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  โ”‚ โ€ข task createโ”‚       โ”‚
  โ”‚ โ€ข inbox send โ”‚       โ–ผ                โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚ โ€ข board show โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ โ”‚ ๐Ÿค– Worker    โ”‚
  โ”‚ โ€ข task wait  โ”‚       โ”‚                โ”‚ (Codex)      โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜       โ”‚                โ”‚ git worktree โ”‚
                         โ”‚                โ”‚ tmux window  โ”‚
                         โ”‚ clawteam spawn โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ–ผ
                   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                   โ”‚ ๐Ÿค– Worker    โ”‚    Each worker uses:
                   โ”‚ (any CLI)    โ”‚    โ€ข task list (check work)
                   โ”‚ git worktree โ”‚    โ€ข task update (report done)
                   โ”‚ tmux window  โ”‚    โ€ข inbox send (message leader)
                   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ€ข inbox receive (get instructions)
                         โ”‚
                         โ–ผ
              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
              โ”‚    ~/.clawteam/     โ”‚
              โ”‚ โ”œโ”€โ”€ teams/   (who) โ”‚
              โ”‚ โ”œโ”€โ”€ tasks/   (what)โ”‚
              โ”‚ โ”œโ”€โ”€ inboxes/ (talk)โ”‚
              โ”‚ โ””โ”€โ”€ workspaces/    โ”‚
              โ”‚     (isolated code)โ”‚
              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

All state lives in ~/.clawteam/ as JSON files. No database, no server, no cloud. Atomic tmp + rename writes ensure crash safety.

Spawn Default Value Override
Backend tmux clawteam spawn subprocess ...
Command claude clawteam spawn tmux codex ...
Workspace auto (git worktree) --no-workspace
Permissions skip --no-skip-permissions
Transport How it works When to use
file (default) JSON files in inbox dirs Single machine, shared FS
p2p ZeroMQ PUSH/PULL + file fallback Low-latency, auto-fallback

๐Ÿ—บ๏ธ Roadmap

Phase Version What Status
Current v0.3 File + P2P (ZeroMQ) transport, Web UI, multi-user, team templates โœ… Shipped
Phase 1 v0.4 Redis Transport โ€” cross-machine messaging ๐Ÿ”œ Planned
Phase 2 v0.5 Shared State Layer โ€” team config and tasks across machines ๐Ÿ”œ Planned
Phase 3 v0.6 Agent Marketplace โ€” discover and reuse community agent templates ๐Ÿ’ก Exploring
Phase 4 v0.7 Adaptive Scheduling โ€” dynamically reassign tasks based on agent performance ๐Ÿ’ก Exploring
Phase 5 v1.0 Production-grade โ€” auth, permissions, audit logs ๐Ÿ’ก Exploring

Milestones

Milestone Status Notes
v0.1.x โœ… Shipped Core CLI, team/task/inbox flows, board, templates, packaging.
v0.2.0 โœ… Released Stabilization, docs refresh, spawn/workspace fixes, and release packaging.
v0.3 ๐Ÿ“ Roadmap baseline File + P2P transport, Web UI, multi-user workflow, team templates.

For the longer-term plan, see ROADMAP.md.


๐Ÿค Contributing

We welcome contributions! ClawTeam is designed to be extensible:

  • ๐Ÿค– New agent integrations โ€” Add support for more AI coding agents
  • ๐ŸŽช Team templates โ€” Create TOML templates for new domains (DevOps, data science, etc.)
  • ๐Ÿ”Œ Transport backends โ€” Redis, NATS, or other message transports
  • ๐Ÿ“Š Dashboard improvements โ€” Enhanced Web UI, Grafana integration
  • ๐Ÿ“– Documentation โ€” Tutorials, best practices, agent prompt engineering guides

๐Ÿ“– Acknowledgements

  • @karpathy/autoresearch โ€” the autonomous ML research framework used in our 8-agent swarm demo
  • Claude Code and Codex โ€” AI coding agents that work as ClawTeam team members
  • ai-hedge-fund โ€” inspiration for the multi-analyst hedge fund template
  • CLI-Anything โ€” sister project making all software agent-native

โญ Star History

If you find ClawTeam helpful, please consider giving us a star! โญ

๐Ÿ“„ License

MIT License โ€” free to use, modify, and distribute.


ClawTeam โ€” Agent Swarm Intelligence. ๐Ÿฆž

8 agents ร— 8 H100s ร— 2430 experiments ร— one CLI ร— one swarm


ClawTeam

Thanks for visiting โœจ ClawTeam!

Views

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clawteam-0.2.0.tar.gz (128.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clawteam-0.2.0-py3-none-any.whl (127.4 kB view details)

Uploaded Python 3

File details

Details for the file clawteam-0.2.0.tar.gz.

File metadata

  • Download URL: clawteam-0.2.0.tar.gz
  • Upload date:
  • Size: 128.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for clawteam-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4427b910ea04f8aa4c6d4a7f3a978a3d8c8027b0c542fbaff93582bf29d83d7e
MD5 55fffcec2d30bd60db2d61e063552d84
BLAKE2b-256 ca3395c6f8bde610cc80312e43412edd7aa6e55486f4637e234ef45b39816047

See more details on using hashes here.

File details

Details for the file clawteam-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: clawteam-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 127.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for clawteam-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 635f7125490067ce5838a511bf2fce02716d2d552806ceb89854d1c30ddcee3d
MD5 92b9a3878ea6cc133fdfa824adb80355
BLAKE2b-256 0ed8814d901c5eed02f7abfdbbfeae0dc8c8730c50f48e405fe2668e1a51b4b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page