Build an Agent Team in Tencent Cloud ADP Claw Mode
Set up a content creation team in ADP Claw mode with four specialists, direct handoffs, a revision loop, and image generation.
When one agent handles a complex assignment, requirements, research, outlining, drafting, fact-checking, illustrations, and tables all end up in the same conversation. Halfway through, drafts and temporary data can crowd the context. Later on, the agent may miss requirements, drift from the requested format, or lose the thread of the argument.
A team writing a technical proposal or a detailed report divides that work: an editor sets the direction, a writer drafts, a reviewer checks the result, and a designer prepares illustrations. In Claw mode, Tencent Cloud Agent Development Platform (ADP) supports the same division of labor through Agent Teams. A Team Lead coordinates specialist agents, which can communicate directly and send work back for revision.

Team architecture: A lead and peer-to-peer collaboration
Multi-agent setups often take the form of a one-way chain: one agent finishes and passes its work downstream. If an agent finds bad data late in the process, the chain may have to stop for a person to intervene.
Claw mode uses a more flexible arrangement. The lead coordinates the work, while specialists can communicate with one another.

The Team Lead coordinates and delivers
The Team Lead is the team's sole point of contact with the user. It manages the work without taking over individual tasks:
- Assess the request and form a team when needed. The lead answers simple questions itself. It starts team collaboration only for longer assignments that require several stages and roles.
- Break down and assign work. It divides the objective into tasks and sends the first step to the appropriate teammate.
- Make decisions and resolve disputes. The lead handles sensitive content, disputed facts, and requests outside the team's scope.
- Review and deliver the final result. Teammates send their work to the lead for final review. Only the lead delivers the result to the user.
- Keep its context focused. The lead does not write the initial draft or run the implementation code itself, leaving it free to track progress and check the final result.
Specialists work independently
- Choose a model for each role. Use a stronger reasoning model for coordination and quality checks, and a more economical model for first drafts and formatting. This can reduce operating costs.
- Keep contexts separate. Each teammate receives only the material it needs for its current step, so unrelated conversation is less likely to distract it.
- Attach tools only where needed. For example, give the illustration agent the image generation tool and leave it off the other agents. This reduces the chance of an agent choosing the wrong tool from a long list or invoking it unnecessarily.
Direct handoffs and revisions
Traditional workflows may send each result back through a central node before the next step starts. On an Agent Team, members can communicate directly:
- Handoff: The planning agent can send the outline straight to the writer, without asking the lead to relay it.
- Review and revision: If a draft lacks an example or cites questionable data, the reviewer sends feedback directly to the writer. The writer resubmits the draft until it passes review.
- Stage gates: The illustration agent waits until the reviewer approves the text, so it does not generate images while the article is still being rewritten.
Build a content team in the console
This example sets up a five-agent team for enterprise technical content in three steps.
| Role | Agent | Suggested model | Tools and skills | Responsibility |
|---|---|---|---|---|
| Team Lead | Managing Editor | Flagship reasoning model | None | Understand the request, assign work, resolve disputes, and deliver the result |
| Teammate 1 | Planning Agent | Cost-effective model | None | Analyze the audience, find an angle, and produce a structured outline |
| Teammate 2 | Writing Agent | Model suited to long-form writing | None | Draft from the outline and revise based on feedback |
| Teammate 3 | Review Agent | Flagship reasoning model | None | Check logic, structure, and facts; return drafts for revision |
| Teammate 4 | Illustration Agent | Multimodal model | Image generation tool | Choose illustration placements, generate images, and embed them in Markdown |
Step 1: Create a Claw app and initialize the team
Open the Tencent Cloud ADP console, create an application, and select Claw mode. Open the smart setup option at the top of the development page and enter the requirements for the whole team instead of creating agents one by one:
Create an enterprise content creation team.
Team members:
1. Managing Editor: Act as lead. Understand the request, coordinate the team, and deliver the result.
2. Planning Agent: Analyze the audience and topic, then produce an article outline.
3. Writing Agent: Draft the Markdown article from the outline and revise it based on reviewer feedback.
4. Review Agent: Check the article's logic, structure, wording, and facts.
5. Illustration Agent: After the article passes review, generate relevant illustrations and place them in the body.
Configure an image generation tool for the Illustration Agent.
Do not configure tools or skills for the other teammates for now.
Deliver a Markdown article with the illustrations embedded.Review the generated configuration for the Managing Editor and four teammates before continuing. If Smart Setup is unavailable, add the sub-agents manually using the collaboration guide below.

Step 2: Check teammate settings and tool bindings
Open each teammate from the agent list on the left to check its configuration. For the Illustration Agent, confirm that a working image generation tool is bound under Connectors and Tools. Leave the Planning, Writing, and Review agents without tools so they can focus on their text tasks.

Step 3: Enable team collaboration and add rules
In Advanced Settings at the bottom of the left pane, turn on Allow Multi-Agent Team Collaboration. !Illustrative UI: turn on team collaboration in Advanced Settings
Open Team Collaboration Rules and paste the following template:
# Team objective and Lead responsibilities
Objective: Meet the user's content request and deliver a Markdown article that has been outlined, drafted, reviewed, and illustrated.
Lead responsibilities:
1. Assess the request and start team collaboration for long-form writing tasks.
2. Assign the first task, collect the final result, and deliver it to the user.
3. Decide how to handle sensitive topics, disputed facts, and out-of-scope requests.
4. Do not take over outlining, drafting, fact-checking, or image generation from teammates.
# Teammate responsibilities
- Planning Agent: Analyze the audience and editorial angle, then produce a structured outline.
- Writing Agent: Draft from the outline, stick to the facts, and revise when the reviewer returns feedback.
- Review Agent: Check the draft for logic, structure, wording, and factual accuracy. Send problems directly back to the Writing Agent.
- Illustration Agent: Join only after the draft passes review. Find suitable placements, generate illustrations, and embed them in the Markdown.
# Handoffs and review
1. The Lead receives the request, breaks it down, and assigns the first task to the Planning Agent.
2. The Planning Agent sends the outline directly to the Writing Agent without routing it through the Lead.
3. The Writing Agent sends the draft directly to the Review Agent.
4. The Review Agent checks the draft:
- If it finds issues, it sends specific feedback to the Writing Agent, which revises and resubmits the draft.
- If the draft passes, it sends the approved article to the Illustration Agent.
5. The Illustration Agent chooses placements, generates 2–3 illustrations in a consistent style, and embeds them using Markdown with descriptive alt text.
6. The Illustration Agent submits the formatted article to the Lead.
7. The Lead checks the final result and delivers it to the user.
# Delivery standards
- Format: Clean Markdown body text with clear sections and no filler.
- Facts: State the argument and its evidence clearly. Do not invent unverified figures or examples.
- Illustrations: Use images that clarify the content. Describe them precisely in alt text and do not use fake links.
- User communication: Teammates do not respond directly to the end user. The Lead sends all final replies.
Test the handoffs and revision loop
Save the configuration and enter this request in the debug panel on the right:
Write a technical article on why enterprise agents need sandboxed workspaces. Explain the underlying mechanics, compare the problems the sandbox addresses, and include relevant illustrations.
The debug panel shows the team's progress as it runs:
- The lead starts the team. The Managing Editor identifies a long-form assignment and calls the Planning Agent.
- The planner passes the outline directly to the writer. The outline covers the problems, sandbox isolation, and runtime resource governance.
- The writer submits a draft. It expands on the technical details and code analysis before sending the draft for review.
- The reviewer requests changes. The reviewer notices the second section does not explain timeouts or protection against infinite loops. It sends feedback directly to the writer, which adds the missing safeguards and resubmits the draft. The revised draft passes.
- The illustrator adds images. The Illustration Agent identifies the architecture comparison and isolation mechanism as good places for illustrations. It generates them and embeds them in the Markdown.
- The lead delivers. The Managing Editor confirms the article is complete and the images are in place, then sends the final result to the user.

No one has to copy and paste messages between steps. Each agent stays within its role, addressing common single-agent problems such as losing track of the outline or overlooking requirements.
Lessons for production teams
Keep the team to three to five roles
Avoid splitting the process into more roles than it needs. More handoffs can increase latency and token use. One lead and two to four complementary teammates are usually enough for complex, long-running work. Examples include research, writing, and review, or planning, execution, and verification.
Match the model to the role
Use a flagship reasoning model for the lead and reviewer, which need to understand the overall assignment and enforce quality checks. Drafting and formatting mainly involve following an outline; faster, more economical models such as Hunyuan or GLM can suit those tasks. Choosing models by role can reduce cost and latency compared with using a flagship model for every step; actual usage depends on the workload and number of collaboration rounds.
Apply least privilege when binding tools
Attach each connector or tool to the teammate that needs it rather than to the lead or every member. Limiting the tools each agent sees helps avoid incorrect tool selection and tool-call timeouts.
Pass large files through the sandbox workspace
Claw mode gives each conversation an isolated cloud sandbox. If a task produces long source files, large tables, or article drafts, teammates can save intermediate artifacts in the sandbox. The next teammate reads the file by path instead of passing tens of thousands of characters back and forth in prompt messages. That saves context for the task itself.
Related resources

Start building today
If you need more support, please contact us


