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

# Behavior

> Set and edit your agent's global rules, model, personality, and fixed greeting line.

Configure your agent's greeting, personality, model, and rules in **Behavior > General**.

![Behavior > General overview](https://mintcdn.com/polyai/mC-hBNxhbQLRsMMg/images/agent-settings/agent-overview.png?fit=max\&auto=format\&n=mC-hBNxhbQLRsMMg\&q=85\&s=28c0bceed01dce2c68652233f9371480)

## When to configure each setting

| Setting | When to use | Impact |
| - | - | - |
| **[Agent](https://docs.poly.ai/behavior/general/agent.md)** | For the initial setup or when rebranding | Personality (tone) and role. The greeting is configured per-channel under **Voice/Chat configuration**. |
| **[Model](https://docs.poly.ai/behavior/models/model-use.md)** | New agent setup, or optimizing for cost/latency/quality | LLM selection. [Raven](https://docs.poly.ai/behavior/models/raven.md) recommended, but other models are also available. |
| **[Behavior](https://docs.poly.ai/behavior/general/rules.md)** | Consistent terminology, compliance, edge-case handling | Add your global constraints – tone, language style, compliance guardrails, pronunciation overrides. |
| **[Guardrails](https://docs.poly.ai/behavior/guardrails/introduction.md)** | Safety protections against jailbreaks, hallucination, crisis escalation, and more | Toggle the five built-in platform guardrails. Lives under **Behavior > Guardrails**. |

## Configuration sections

> [card] [Agent](https://docs.poly.ai/behavior/general/agent.md)
>
> Personality and role.

> [card] [Model](https://docs.poly.ai/behavior/models/model-use.md)
>
> Raven (recommended), OpenAI, Amazon Bedrock, or your own endpoint.

> [card] [Behavior](https://docs.poly.ai/behavior/general/rules.md)
>
> Language style, compliance, edge cases, and pronunciation overrides.

> [card] [Guardrails](https://docs.poly.ai/behavior/guardrails/introduction.md)
>
> Built-in platform protections against jailbreaks, hallucination, and crisis events.

> [card] [Language](https://docs.poly.ai/behavior/language/multilingual.md)
>
> Multilingual settings, language coverage, and translation overrides.

## Automate with the Agents API

If you spin up new agents from a reference template — for example, one agent per client or market — you can create and duplicate them from code.

> [accordion] Script agent creation via the Agents API
>
> The [Agents API](https://docs.poly.ai/api-reference/agents/introduction.md) has endpoints for [creating](https://docs.poly.ai/api-reference/agents/endpoint/agents/create-agent.md) and [duplicating](https://docs.poly.ai/api-reference/agents/endpoint/agents/duplicate-agent.md) agents.
>
> ```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
> # Create a new agent from scratch
> curl -X POST https://api.us.poly.ai/v1/agents \
>   -H "x-api-key: $POLYAI_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{ "name": "Support Agent", "description": "Tier 1 support, US" }'
>
> # Duplicate an existing agent as a starting point
> curl -X POST https://api.us.poly.ai/v1/agents/AGENT_ID/duplicate \
>   -H "x-api-key: $POLYAI_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{ "name": "Support Agent - UK" }'
> ```

## Related pages

> [card] [Agents endpoints](https://docs.poly.ai/api-reference/agents/endpoint/agents/create-agent.md)
>
> Create, duplicate, and configure agents from code.

> [card] [Deployments](https://docs.poly.ai/environments-and-versions/introduction.md)
>
> Build and test in Sandbox, check in Staging if you need to, then publish to Live.
