lauren-framework/lauren-ai/building-teams
Claude Code and agent skill by lauren-framework/lauren-ai
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Builds multi-agent teams in lauren-ai using @team and TeamRunner for coordinator and collaborate modes. Use when implementing a @team() class with multiple workers, running TeamRunner.run() or run_stream(), handling TeamWorkerStarted/Finished/TeamFinalAnswer events, or streaming team progress over SSE in a web controller.
Install
npx vskill@latest install lauren-framework/lauren-ai/building-teamsSKILL.md
The same SKILL.md was published earlier as lauren-framework/lauren-ai/building-teams.
Usecodemap find "SymbolName"to locate any symbol before reading — it givesexact file + line range and is faster than grep across the whole repo.
Building Multi-Agent Teams
Quick start
Define a team and run it:
Rules:
@team()must use parentheses.- Worker parameters in
__init__must be type-annotated with their agent class. TeamRunnerdiscovers workers by reading__init__.__annotations__.
Modes
| Mode | Behaviour | Use when | |
|---|---|---|---|
coordinator | LLM coordinator decides after each round: ROUTE: <worker> or DONE: <answer>. Runs up to max_rounds rounds. | Tasks need dynamic routing between specialists | |
collaborate | All workers run sequentially in annotation order, then a synthesis call produces the final answer. | Tasks need all workers to contribute in a fixed sequence |
Streaming events
TeamRunner.run_stream() yields TeamEvent subclass instances:
| Event class | Fields | Meaning | |
|---|---|---|---|
TeamWorkerStarted | worker_name, task, round | A worker is about to run | |
TeamWorkerFinished | worker_name, result_content, round | A worker completed | |
TeamCoordinatorDecision | decision, round | Coordinator chose next step | |
TeamFinalAnswer | content, rounds | Team produced its final answer |
TeamResult fields
| Field | Type | Description | |
|---|---|---|---|
final_answer | str | Synthesised final output | |
worker_outputs | dict[str, str] | Per-worker outputs keyed by worker name | |
rounds | int | Number of coordinator rounds taken | |
total_input_tokens | int | Cumulative input tokens (if tracked) | |
total_output_tokens | int | Cumulative output tokens (if tracked) |
Reference
See teams.md for:
- Full
@team()parameter reference (coordinator_prompt,max_rounds) - Custom coordinator prompt with
{worker_descriptions},{task},{prior_outputs}placeholders - SSE streaming in a web controller with
EventStreamandServerSentEvent collaboratevscoordinatormode detailed behaviour
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/building-teams/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lauren-framework/lauren-ai/building-teams)