> For the complete documentation index, see [llms.txt](https://ocada.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ocada.gitbook.io/docs/what-are-ai-agents/how-ai-agents-work.md).

# How AI Agents Work

AI agents use a combination of data inputs, machine learning algorithms, and sometimes user-defined rules to make decisions and carry out actions. For instance, consider GPTs (Generative Pre-trained Transformers) used by companies like OpenAI. These AI agents can understand and generate human-like responses text based on the input they receive. This ability makes them incredibly useful for a variety of applications, from answering questions to generating content.
