> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuralfactory.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Types

> Understand the different agent architectures available in Neural Factory.

# Agent Types

Neural Factory supports different agent architectures to handle varying levels of task complexity.

## Standard agent (ReAct)

The default agent type. A standard agent handles requests directly using a **ReAct (Reasoning + Acting)** loop:

1. The agent receives your message
2. It reasons about what to do next
3. It optionally uses a tool (search, code execution, etc.)
4. It observes the tool result
5. It repeats steps 2–4 as needed
6. It generates a final response

Standard agents are ideal for:

* Answering questions from knowledge bases
* Simple tool-based tasks (web search, code execution)
* Single-domain Q\&A with well-defined scope

## CodeAct agent

A specialized agent that follows a **plan-code-execute-validate** workflow:

1. Analyzes the request and creates a plan
2. Generates code to accomplish the task
3. Executes the code in a sandboxed environment
4. Validates the output and iterates if needed

CodeAct agents excel at:

* Data analysis and transformation tasks
* Generating reports from structured data
* Complex calculations and computations

## Orchestrator (Multi-Agent)

An orchestrator is a **lead agent that delegates tasks to specialized subagents**. Instead of handling everything itself, it:

1. Analyzes the incoming request
2. Determines which subagent(s) are best suited
3. Delegates to the appropriate subagent(s)
4. Synthesizes results from subagent responses
5. Returns a unified answer to the user

Orchestrators are ideal for:

* Organizations with many specialized knowledge domains
* Complex requests that span multiple areas of expertise
* Workflows where different tools or knowledge sources need to be coordinated

Learn more about setting up orchestrators in [Multi-Agent Workflows](/user-guide/agents/multi-agent-workflows).

## Choosing the right type

| Scenario                             | Recommended type         |
| ------------------------------------ | ------------------------ |
| Single knowledge domain, simple Q\&A | Standard agent           |
| Data analysis, code-heavy tasks      | CodeAct agent            |
| Multiple domains, complex routing    | Orchestrator + subagents |
| General-purpose assistant with tools | Standard agent           |
