> For the complete documentation index, see [llms.txt](https://docs.patagon.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patagon.ai/otimizacao-do-agente/otimizacao-do-agente.md).

# Otimização do Agente

Escreva prompts melhores, gerencie versões, leia suas métricas e melhore sua taxa de qualificação ao longo do tempo.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Como configurar as definições do agente</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/agent-settings.md">Como configurar as definições do agente</a></td></tr><tr><td><strong>Como definir os objetivos e o tom do agente</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/objectives-and-tone.md">Como definir os objetivos e o tom do agente</a></td></tr><tr><td><strong>Como gerenciar versões do agente</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/agent-versions.md">Como gerenciar versões do agente</a></td></tr><tr><td><strong>Como escrever um prompt eficaz</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/how-to-create-an-ideal-prompt.md">Como escrever um prompt eficaz</a></td></tr><tr><td><strong>Sistema de classificação de leads da ILA</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/ila-rating-system.md">Sistema de classificação de leads da ILA</a></td></tr><tr><td><strong>Sistema legado de classificação de leads (1–5)</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/qualification-criteria.md">Sistema legado de classificação de leads (1–5)</a></td></tr><tr><td><strong>Como otimizar a qualificação de leads</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/optimizing-lead-qualification.md">Como otimizar a qualificação de leads</a></td></tr><tr><td><strong>Como criar modelos de mensagem</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/message-templates.md">Como criar modelos de mensagem</a></td></tr><tr><td><strong>Como funcionam os templates de WhatsApp: elegibilidade e aprovação</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/whatsapp-templates.md">Como funcionam os templates de WhatsApp: elegibilidade e aprovação</a></td></tr><tr><td><strong>Como gerenciar respostas rápidas</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/quick-replies.md">Como gerenciar respostas rápidas</a></td></tr><tr><td><strong>Como gerenciar funções e permissões</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/roles-and-permissions.md">Como gerenciar funções e permissões</a></td></tr><tr><td><strong>Grupos e Round Robin de Leads</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/lead-routing-and-groups.md">Grupos e Round Robin de Leads</a></td></tr><tr><td><strong>Como dar feedback ao seu agente</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/agent-feedback.md">Como dar feedback ao seu agente</a></td></tr><tr><td><strong>Como usar os Insights do Agente</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/insights.md">Como usar os Insights do Agente</a></td></tr><tr><td><strong>Como ler seu Painel de Desempenho</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/performance-dashboard.md">Como ler seu Painel de Desempenho</a></td></tr><tr><td><strong>Como configurar as capacidades do agente</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/capabilities.md">Como configurar as capacidades do agente</a></td></tr><tr><td><strong>Reaquecimento de Leads (Warm-Up / Re-engagement)</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/reaquecimento-de-leads-warm-up-re-engagement.md">Reaquecimento de Leads (Warm-Up / Re-engagement)</a></td></tr><tr><td><strong>Como usar as Ferramentas e Integrações do agente</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/como-usar-as-ferramentas-e-integracoes-do-agente.md">Como usar as Ferramentas e Integrações do agente</a></td></tr><tr><td><strong>Como Funciona o Follow-Up</strong></td><td><a href="/otimizacao-do-agente/otimizacao-do-agente/como-funciona-o-follow-up.md">Como Funciona o Follow-Up</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.patagon.ai/otimizacao-do-agente/otimizacao-do-agente.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
