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:- The agent receives your message
- It reasons about what to do next
- It optionally uses a tool (search, code execution, etc.)
- It observes the tool result
- It repeats steps 2–4 as needed
- It generates a final response
- 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:- Analyzes the request and creates a plan
- Generates code to accomplish the task
- Executes the code in a sandboxed environment
- Validates the output and iterates if needed
- 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:- Analyzes the incoming request
- Determines which subagent(s) are best suited
- Delegates to the appropriate subagent(s)
- Synthesizes results from subagent responses
- Returns a unified answer to the user
- 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
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 |