Build an agent¶
On the Agents page, describe your business requirements in natural language. The system generates an agent plan and presents it as an agent candidate. The agent is created only after you confirm the plan.
Create an agent¶
Enter the target workspace.
Open the Agents page.
Start a new conversation.
Select Agent Builder, or describe the agent you want to create directly in the input box.
Describe your requirements¶
Include the following information when possible:
What tasks the agent should perform.
What files or business data it should use.
Whether it needs knowledge bases, skills, or tools.
What results you expect.
For example:
Create a contract review agent.
It should read contract files and the contract knowledge base,
identify payment, delivery, breach, and renewal risks,
and output the relevant clauses, risk levels, and recommended changes.
After the review, send the result to WeCom.
If information is missing, the system asks follow-up questions in the conversation. Provide the task scope, data, or output requirements until the system generates an agent plan.
Review the agent plan¶
The generated plan appears as an agent candidate and includes:
Item |
Description |
|---|---|
Agent name |
Identifies the agent in the agent list and conversations |
Knowledge bases |
Business knowledge the agent can retrieve when answering questions |
Skills |
Methods and rules the agent uses for specific tasks |
Tools |
External capabilities or actions the agent can invoke |
System prompt |
Defines the agent’s role, task rules, and behavior |
Adjust the plan¶
Before creating the agent, you can:
Select or remove recommended knowledge bases, skills, and tools.
Open resource details to determine whether a resource fits the task.
Edit the system prompt.
Add requirements in the conversation and let the system update the plan.
Cancel the current candidate if you no longer need it.
Recommended resources are suggestions. You decide which resources the agent uses.
Confirm creation¶
Check the agent name, system prompt, and selected resources.
Select Confirm agent creation.
If a selected tool requires authorization or a channel instance, follow the on-screen instructions to complete the configuration.
After creation, the new agent appears in the agent list.
Select the new agent to start a conversation or run a task.
To update the prompt or capability bindings later, see Agent configuration. To use the agent, see Conversations and tasks.