capabilities.work

Find Agent and Start a Conversation

A 3-step recipe with Dust. We can help you get access.

Recipe · 3 steps

Find Agent and Start a Conversation

with Dust · Artificial Intelligence Management

Search an agent by name and open a conversation that mentions it.

  1. Search agent configurations by name and capture the sId of the first match.
  2. Retrieve the full configuration of the matched agent so its identity and tools are confirmed before use.
  3. Open a new conversation seeded with a human message that mentions the resolved agent.
What you'll need to have ready
  • apiToken: Dust API key used as the Bearer token.
  • wId: The workspace identifier.
  • agentName: Name (or partial name) of the agent to search for.
  • content: The text of the first human message in the conversation.
  • title: Optional title for the new conversation.
For your developer

Arazzo workflow dust-tt:find-agent-and-start-conversation, 3 operations: {$sourceDescriptions.agentsApi.url}#/paths/~1api~1v1~1w~1{wId}~1assistant~1agent_configurations~1search/get → {$sourceDescriptions.agentsApi.url}#/paths/~1api~1v1~1w~1{wId}~1assistant~1agent_configurations~1{sId}/get → {$sourceDescriptions.conversationsApi.url}#/paths/~1api~1v1~1w~1{wId}~1assistant~1conversations/post. Specs on APIs.io.