forked from nodetool-ai/nodetool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteam-workflow.json
More file actions
54 lines (54 loc) · 1.62 KB
/
Copy pathteam-workflow.json
File metadata and controls
54 lines (54 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"nodes": [
{
"id": "lead",
"type": "nodetool.team.TeamLead",
"properties": {
"objective": "Write a short haiku about teamwork. Agent 'poet' should draft the haiku and post it as a task result. Agent 'critic' should review it and suggest one improvement, then mark the review task complete with the feedback. The team is done when both tasks are complete.",
"strategy": "autonomous",
"max_iterations": 20,
"max_concurrency": 2
}
},
{
"id": "poet",
"type": "nodetool.team.Agent",
"properties": {
"name": "Poet",
"role": "You are a creative poet. Write haikus when asked. Use the task board to post your work and coordinate with teammates.",
"skills": ["writing", "poetry"],
"provider": "claude_agent",
"model": "claude-sonnet-4-20250514"
}
},
{
"id": "critic",
"type": "nodetool.team.Agent",
"properties": {
"name": "Critic",
"role": "You are a literary critic. Review poems and give constructive feedback. Use the task board to find work and post reviews.",
"skills": ["review", "feedback"],
"provider": "claude_agent",
"model": "claude-sonnet-4-20250514"
}
}
],
"edges": [
{
"id": "e1",
"source": "lead",
"sourceHandle": "__control__",
"target": "poet",
"targetHandle": "__control__",
"edge_type": "control"
},
{
"id": "e2",
"source": "lead",
"sourceHandle": "__control__",
"target": "critic",
"targetHandle": "__control__",
"edge_type": "control"
}
]
}