> ## Documentation Index
> Fetch the complete documentation index at: https://r2r-patch-fix-ingestion.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent

> Implement an agent-based interaction for complex query processing.

This endpoint supports multi-turn conversations and can handle complex queries
by breaking them down into sub-tasks. It uses the same filtering capabilities
as the search and RAG endpoints for retrieving relevant information.

The agent's behavior can be customized using the rag_generation_config and
task_prompt_override parameters.

