Creating an Agent

To create an agent, navigate to the Agents section of the ResponseCX dashboard and click the Add New Agent button.

This will create a new agent with the following fields, for example:

  • type: Conversational AI Agent
  • name: ReSponse
  • description - ResponseCX Agent is an autonomous conversational agent that can interact with customers in real-time.
  • voice model - Asteria

Click Add Agent to create the agent.

Creating an Agent via the SDK

const agent = await stateset.agents.create({
  name: "My Agent",
  description: "My Agent Description",
  type: "Conversational AI Agent",
  role: "Customer Support Agent",
  instructions: "You are a customer support agent for a company that sells widgets.",
  goal: "Help the customer find the product they need and answer any questions they have.",
  voice_model: "Asteria",
});

Updating an Agent

To update an agent, click on the Update button in the agent row in the agents section of the ResponseCX dashboard.

This will open the agent editor, where you can update the name, description or delete the agent.

Updating an Agent via the SDK

const updated = await stateset.agents.update({
  id: agent.id,
  name: "My Updated Agent",
});

Agents Overview

Once your agents have been created, ReSponse will load these agents into the system and make them available when creating a new chat.

For more information on how to use Agents, please reach out at response@stateset.com