> For the complete documentation index, see [llms.txt](https://magearmor.gitbook.io/documentacao-magearmor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magearmor.gitbook.io/documentacao-magearmor/readme.md).

# MageArmor

Essa é a documentação do MageArmor, uma biblioteca simples, direta e eficiente desenvolvida para proteger sistemas de IA contra ataques de prompt injection. Com funções otimizadas, a biblioteca ajuda a analisar prompts e reforçar a segurança, tornando suas aplicações mais resistentes a injeções de comandos indesejados.

Nesta documentação você irá encontrar instruções de como baixar, entender e aplicar o MageArmor no código da sua IA.

### Acesso Rápido

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>Introdução</td><td>Como o MageArmor funciona</td><td></td><td></td><td><a href="/pages/7aUFmnCMx9m4smGncsXL">/pages/7aUFmnCMx9m4smGncsXL</a></td></tr><tr><td><strong>Instalação</strong></td><td>Como baixar o MageArmor</td><td></td><td></td><td><a href="/pages/Zvukm7MAGL6ooitMTmpY">/pages/Zvukm7MAGL6ooitMTmpY</a></td></tr><tr><td><strong>Aplicação</strong></td><td>Como aplicar o MageArmor na IA</td><td></td><td></td><td><a href="/pages/7eUoe2OOFiJ4BhDoDitw">/pages/7eUoe2OOFiJ4BhDoDitw</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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://magearmor.gitbook.io/documentacao-magearmor/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
