---
sidebar_position: 1
title: Purpose of Agent
sidebar_label: Purpose of Agent
slug: /purpose_of_agent
sidebar_custom_props: {
  categoryIcon: RagAiAgent
}
---

# Purpose of Agent
Agent is the business workflow orchestration capability in RAGFlow. Users can add components on a no-code canvas and define execution order via connections. Components can be executed sequentially, or enter different paths according to conditional branches, classification results or loop logic.

Agents are commonly used in the following scenarios:
- Answering user questions based on knowledge bases.
- Identifying user intents and routing to different processing flows.
- Calling HTTP interfaces, databases, MCP tools or custom code.
- Splitting and batch processing long texts.
- Saving session memory or exporting processing results.
