The Agents section allows users to assign agents to the team and test them.
Some official agents require credentials. See the full list in the article Official agents from Weni by VTEX and their credentials.
To create custom agents, use the Weni by VTEX CLI. See the documentation for instructions.
This article is divided in two parts:
Assigning an agent to the team
- In the side menu, click Agent Builder.
- Then, click Agents.
- In the top toolbar, click
Assign agents
. - In the Agents Gallery, select Official agents or Custom agents. You can select from the listed agents or use the search field to search for a specific agent.
- After choosing your agent, click
Assign to the team
.
If the agent requires a credential, complete the required fields and then click
Assign
.
Testing an agent
To test an agent, click Preview
.
On this screen, you can:
- Start a conversation using the dialog box.
- Send an audio message by clicking the microphone icon.
- Send an image by clicking the plus icon , then click
Photos
.
In Visual flow, you can see the agents that are being triggered based on the questions asked.
In Logs, a detailed history of events processed by artificial intelligence (AI) is recorded. Using this information, you can identify how the AI works and diagnose issues, improving its performance. Click Filter logs
to search for keywords or search among the following categories:
Category | Step description |
---|---|
Applying security rules | Applies security controls and restrictions. |
Knowledge | Searches for information in the agent's knowledge base. |
Assigning the task to the agent | Triggers the agent with tasks. |
Forwarding to the manager | Forwards the user's messages to the manager — the main agent for writing the final response to the user. |
Sending final response | Sends the final response to the user. |
Sending response to the manager | Forwards information to the manager — the main agent for interacting with the user. |
Thinking | Evaluates the next steps. |
Tool | Triggers the tool used by the agent to interact with other systems. |
To clear the conversation, click the menu next to Agent preview and select Clear conversations
.