> ## Documentation Index
> Fetch the complete documentation index at: https://crossword.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents

> An Agent is the assistant that answers shoppers inside a Journey. Each one has a single job, is built from eleven parts, and inherits Global settings.

An Agent is the assistant that answers a shopper inside a Journey. Each Agent has one job, such as helping an undecided shopper pick a product or resolving an order problem. Every Agent follows the same shape of eleven parts and inherits the rest from Global settings.

## What an Agent contains

The diagram groups the eleven parts by what they do. Every Agent inherits from Global settings and adds to or narrows what it inherits.

```mermaid theme={null}
flowchart TB
  A["Agent<br/><small>answers inside a Journey · one job</small>"]
  A --> AIM
  A --> KNOW
  A --> DO
  subgraph AIM["What it aims for"]
    G["Goal and success criteria"]
    OP["Operating procedure"]
  end
  subgraph KNOW["What it knows"]
    KS["Knowledge sources"]
    CC["Customer context"]
    CM["Customer memory"]
  end
  subgraph DO["What it can do and say"]
    PV["Persona and brand voice"]
    RR["Rich responses"]
    AI["Actions and integrations"]
    GR["Guardrails"]
    FB["Fallback behavior"]
    EH["Escalation and handoff"]
  end
  GS["Global settings<br/><small>voice · guardrails · shared responses · memory · escalation</small>"]
  GS -. "inherits" .-> A
```

| Part | What it holds | Page |
| - | - | - |
| Goal and success criteria | What a good conversation achieves, and how you know it happened | [Goal and operating procedure](https://crossword.ai/docs/agents/goal-and-operating-procedure.md) |
| Operating procedure | The numbered steps the Agent follows in a conversation | [Goal and operating procedure](https://crossword.ai/docs/agents/goal-and-operating-procedure.md) |
| Persona and brand voice | How the Agent sounds, narrowed from the global voice | [Persona and brand voice](https://crossword.ai/docs/agents/persona-and-brand-voice.md) |
| Knowledge sources | The catalog, FAQs, and policies the Agent answers from | [Knowledge and customer context](https://crossword.ai/docs/agents/knowledge-and-context.md) |
| Customer context | What the Agent knows about the shopper right now, such as the page and arrival source | [Knowledge and customer context](https://crossword.ai/docs/agents/knowledge-and-context.md) |
| Rich responses | The components the Agent may put in a reply, including follow-up suggestions | [Rich responses and actions](https://crossword.ai/docs/agents/rich-responses-and-actions.md) |
| Actions and integrations | What the Agent can do, such as add to cart or start a return | [Rich responses and actions](https://crossword.ai/docs/agents/rich-responses-and-actions.md) |
| Guardrails | What the Agent must never say or do, on top of the global guardrails | [Guardrails and fallback](https://crossword.ai/docs/agents/guardrails-and-fallback.md) |
| Fallback behavior | What the Agent does when it cannot answer | [Guardrails and fallback](https://crossword.ai/docs/agents/guardrails-and-fallback.md) |
| Customer memory | What the Agent remembers, so the shopper never repeats themselves | [Customer memory](https://crossword.ai/docs/agents/customer-memory.md) |
| Escalation and handoff | When the Agent passes the conversation to another Agent or to a human | [Escalation and handoff](https://crossword.ai/docs/agents/escalation-and-handoff.md) |

The **Agents** screen lists every Agent in the experience as a card with its name, a one-line description of its job, and a status.

![The Agents screen with Agents in a grid](https://mintcdn.com/crossword/ulRCjvN5HMduuBug/images/agents/overview.png?fit=max\&auto=format\&n=ulRCjvN5HMduuBug\&q=85\&s=cfd708043ebc27222c2287504083b571)

The Agents screen with Agents in a grid

## How it fits

An Agent answers inside a [Journey](https://crossword.ai/docs/orchestration/journeys.md). Each Journey names its Agent. The Journey's [conversation starters](https://crossword.ai/docs/components/conversation/conversation-starter.md) and [proactive messages](https://crossword.ai/docs/components/conversation/proactive-message.md) each route to a named Agent, so a tapped chip goes straight to the Agent shown next to it.

A question the shopper types goes through [intent routing](https://crossword.ai/docs/global/intent-routing.md). The Intent Routing Agent reads the question and sends it to the right Agent. A shopper never picks an Agent.

Every Agent inherits [Global settings](https://crossword.ai/docs/global/overview.md): the global persona and brand voice, the global guardrails, the shared rich responses and actions, the global escalation rules, and global customer memory. An Agent's own settings add to or narrow the global ones. An Agent can never loosen a global guardrail.

Once it has the conversation, the Agent composes one [assistant reply](https://crossword.ai/docs/components/conversation/assistant-reply.md) per turn. For multi-step actions, such as tracking an order or starting a return, it runs a [Workflow](https://crossword.ai/docs/agents/workflows.md).

## Example

A gummy supplement store runs three Agents: Product Discovery, Product Q\&A, and Brand and Support. The Product Q\&A Agent answers in the Product Q\&A Journey, on every product page. Here it is with all eleven parts.

```yaml theme={null}
# Product Q&A Agent
goal_and_success_criteria:
  goal: A shopper on a product page gets their doubts answered and buys with confidence.
  success: The product, or a better fit, is added to cart.
operating_procedure:
  - Answer in two or three sentences, straight from the product's FAQ.
  - For "Is this right for me?", ask a question or two, then confirm or suggest a better fit.
  - If the shopper is still unsure, open the Quiz.
  - Once doubts are cleared, point to the best-value pack. Suggest a bundle only when it fits.
persona_and_brand_voice: >-
  Friendly and confident, facts first. Light playfulness.
  Never jokes about how the product works or its effects.
knowledge_sources:
  - The product on screen and its own FAQ
  - Reviews, pack sizes, prices, Subscribe & Save, 30-day guarantee
customer_context:
  - Which product page they are on
  - Whether they have ordered this product before
  - Whether they came from an ad
rich_responses:
  - Product detail
  - Review summary
  - Bundle suggestion
  - Add to cart
  - Quiz component
actions_and_integrations:
  - Answers product questions
  - Checks product fit
  - Adds the right pack to the cart
  - Offers a reorder to returning customers
guardrails:
  - Only states results and timelines the product's FAQ states
fallback_behavior: Says it does not have that detail and offers to connect them with the team.
customer_memory:
  - Questions already answered
  - The pack size they chose
escalation_and_handoff:
  - To the Product Discovery Agent if they want a different product
  - To the Brand and Support Agent for order or shipping questions
```

Everything not listed here comes from Global settings. The Agent still follows the global guardrails, such as making no health or medical claims.

## In this section

> [card] [Goal and operating procedure](https://crossword.ai/docs/agents/goal-and-operating-procedure.md)
>
> What a good conversation achieves, and the steps the Agent follows.

> [card] [Persona and brand voice](https://crossword.ai/docs/agents/persona-and-brand-voice.md)
>
> How the Agent sounds, and how it narrows the global voice.

> [card] [Knowledge and customer context](https://crossword.ai/docs/agents/knowledge-and-context.md)
>
> What the Agent answers from, and what it knows about the shopper.

> [card] [Rich responses and actions](https://crossword.ai/docs/agents/rich-responses-and-actions.md)
>
> The components it may show, and what it can do.

> [card] [Guardrails and fallback](https://crossword.ai/docs/agents/guardrails-and-fallback.md)
>
> What it must never do, and what it does when it cannot answer.

> [card] [Customer memory](https://crossword.ai/docs/agents/customer-memory.md)
>
> What it remembers within a conversation and across visits.

> [card] [Escalation and handoff](https://crossword.ai/docs/agents/escalation-and-handoff.md)
>
> Passing a conversation to another Agent or to your team.

> [card] [Workflows](https://crossword.ai/docs/agents/workflows.md)
>
> How multi-step actions run, such as tracking an order.

## Related

> [card] [Global settings](https://crossword.ai/docs/global/overview.md)

> [card] [Intent routing](https://crossword.ai/docs/global/intent-routing.md)

> [card] [Journeys](https://crossword.ai/docs/orchestration/journeys.md)

> [card] [Assistant reply](https://crossword.ai/docs/components/conversation/assistant-reply.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.