Ricky logorickyDocs
Agents

Set up an agent

Define how an agent should reply and which actions it can take.

An agent combines instructions, a model and an explicit set of tools.

Casa Nativa demo screen: agent editor

Demo organization: Casa Nativa. Interface shown in Spanish.

Video: create a test agent in Casa Nativa.

Your agents at a glance

Each profile shows channels referenced by active workflows, shared files enabled for reference, enabled additional tools and human handoff settings. The workflow count describes configuration; it does not indicate that the agent is currently replying. Select Configure agent to edit it.

Create the agent

  1. Open Agents.
  2. Select New agent.
  3. Enter a clear name.
  4. Select Create agent.

Each agent automatically gets a Clay avatar. Use Generate another avatar, next to its image in configuration, to try different faces. Click Save changes to keep your choice. The avatar appears in the list, editor and agent selector, and stays the same when you rename the agent.

Define the instructions

Under General, set:

  • Model: the model that processes the conversations.
  • Instructions: the rules, context and expected behavior.

The instructions should say:

  1. Which business the agent represents.
  2. Which problems it can solve.
  3. What information it must ask for before acting.
  4. When it must stop or ask for human help.
  5. What it must never promise or make up.

Write concrete instructions

Start with short rules you can check in a conversation. This example is a structure to adapt, not a promise of enabled features:

You represent our business's customer service team. Reply in the customer's language and ask for the location when it's needed. Only use confirmed prices and hours. If a detail is missing, say so; don't make it up. Before changing information, confirm what the customer wants. If they ask for a person or their case needs an exception, request human help with the available tool.

Include your real policies for exchanges, deliveries or cancellations. Avoid contradictory instructions, such as asking for a confirmation while also telling it to act without asking.

For business addresses and contacts, see Knowledge. For live data from other systems, connect an integration.

Enable tools

Tools let the agent read or change information in connected systems. Only the tools available for your workspace's integrations appear.

Turn on only the actions it needs. For example, an agent that only checks availability doesn't need permission to delete records.

Save and test

Select Save changes. Then add Assign to an agent in a workflow for the channel and send test messages.

Test at least:

  • A common question.
  • An incomplete request.
  • A request that needs a tool.
  • A request the agent should decline or escalate.

Change an assigned agent

You can change the agent in the workflow that routes a channel or in a conversation. This affects future replies; it does not rewrite history.

Continue with each feature

An instruction does not turn on a feature by itself. Check the agent's tools, channel, and integrations before testing.

On this page