Skip to content

Commit 508ce43

Browse files
ruvnetclaude
andcommitted
Checkpoint: File edits
Automatic checkpoint created by Claude Code - Branch: main - Timestamp: 2026-02-07T22:53:47Z - Changes: 3 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f2138a1 commit 508ce43

File tree

3 files changed

+72
-2
lines changed

3 files changed

+72
-2
lines changed

README.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,6 +1515,76 @@ npx claude-flow hive-mind sessions # List active sessions
15151515

15161516
</details>
15171517

1518+
<details>
1519+
<summary>👥 <strong>Agent Teams</strong> — Claude Code multi-instance coordination</summary>
1520+
1521+
Native integration with Claude Code's experimental Agent Teams feature for spawning and coordinating multiple Claude instances.
1522+
1523+
**Enable Agent Teams:**
1524+
```bash
1525+
# Automatically enabled with claude-flow init
1526+
npx claude-flow@latest init
1527+
1528+
# Or manually add to .claude/settings.json
1529+
{
1530+
"env": {
1531+
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
1532+
}
1533+
}
1534+
```
1535+
1536+
**Agent Teams Components:**
1537+
1538+
| Component | Tool | Purpose |
1539+
|-----------|------|---------|
1540+
| **Team Lead** | Main Claude | Coordinates teammates, assigns tasks, reviews results |
1541+
| **Teammates** | `Task` tool | Sub-agents spawned to work on specific tasks |
1542+
| **Task List** | `TaskCreate/TaskList/TaskUpdate` | Shared todos visible to all team members |
1543+
| **Mailbox** | `SendMessage` | Inter-agent messaging for coordination |
1544+
1545+
**Quick Start:**
1546+
```javascript
1547+
// Create a team
1548+
TeamCreate({ team_name: "feature-dev", description: "Building feature" })
1549+
1550+
// Create shared tasks
1551+
TaskCreate({ subject: "Design API", description: "..." })
1552+
TaskCreate({ subject: "Implement endpoints", description: "..." })
1553+
1554+
// Spawn teammates (parallel background work)
1555+
Task({ prompt: "Work on task #1...", subagent_type: "architect",
1556+
team_name: "feature-dev", name: "architect", run_in_background: true })
1557+
Task({ prompt: "Work on task #2...", subagent_type: "coder",
1558+
team_name: "feature-dev", name: "developer", run_in_background: true })
1559+
1560+
// Message teammates
1561+
SendMessage({ type: "message", recipient: "developer",
1562+
content: "Prioritize auth", summary: "Priority update" })
1563+
1564+
// Cleanup when done
1565+
SendMessage({ type: "shutdown_request", recipient: "developer" })
1566+
TeamDelete()
1567+
```
1568+
1569+
**Agent Teams Hooks:**
1570+
1571+
| Hook | Trigger | Purpose |
1572+
|------|---------|---------|
1573+
| `teammate-idle` | Teammate finishes turn | Auto-assign pending tasks |
1574+
| `task-completed` | Task marked complete | Train patterns, notify lead |
1575+
1576+
```bash
1577+
# Handle idle teammate
1578+
npx claude-flow@latest hooks teammate-idle --auto-assign true
1579+
1580+
# Handle task completion
1581+
npx claude-flow@latest hooks task-completed --task-id <id> --train-patterns
1582+
```
1583+
1584+
**Display Modes:** `auto` (default), `in-process`, `tmux` (split-pane)
1585+
1586+
</details>
1587+
15181588
<details>
15191589
<summary>🔧 <strong>MCP Tools & Integration</strong> — 31+ tools across 7 categories</summary>
15201590

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "claude-flow",
3-
"version": "3.1.0-alpha.12",
3+
"version": "3.1.0-alpha.13",
44
"description": "Enterprise AI agent orchestration for Claude Code - Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
55
"main": "dist/index.js",
66
"type": "module",

v3/@claude-flow/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@claude-flow/cli",
3-
"version": "3.1.0-alpha.12",
3+
"version": "3.1.0-alpha.13",
44
"type": "module",
55
"description": "Claude Flow CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
66
"main": "dist/src/index.js",

0 commit comments

Comments
 (0)