What does this node do?
The AI Agent node creates an autonomous AI assistant that can reason, plan, and use tools to accomplish complex tasks. Unlike the LLM node which just generates text, the Agent can take actions like searching the web, accessing databases, or calling APIs. Common uses:- Research tasks that require multiple steps
- Data analysis with tool usage
- Complex reasoning with external data
- Tasks that need real-time information
Quick setup
1
Add the AI Agent node
Find it in AI Nodes → AI Agent
2
Write your instructions
Describe the task and goal clearly
3
Enable tools or MCP
Select which tools or MCP the agent can use
4
Add data sources (optional)
Connect knowledge bases or documents
Configuration
Required fields
The task or goal for the agent to accomplish.Tips for agent instructions:
- Define the end goal clearly
- Specify what tools to use when
- Set constraints and limitations
- Describe expected output format
Optional fields
List of tools the agent can use during execution.Available tools:
- Web Scraper - Fetch and extract web content
- HTTP Request - Call APIs
- Search - Search the web
Knowledge bases or documents the agent can query.Add context with:
AI settings
Same settings as the LLM node:The AI model to use. GPT-4 or Claude recommended for agents.
Lower values (0.3-0.5) recommended for more reliable agent behavior.
Maximum tokens for the final response.
Schema for structured output.
Output
The agent returns its final response after completing the task:How agents work
- Understand the task from your instructions
- Plan what steps are needed
- Execute using available tools
- Iterate until the task is complete
- Respond with the final result
Examples
Company research
Instructions:Competitive analysis
Instructions:Data enrichment
Instructions:Agent vs LLM: When to use which
| Scenario | Use Agent | Use LLM |
|---|---|---|
| Simple text generation | ❌ | ✅ |
| Content summarization | ❌ | ✅ |
| Research requiring web access | ✅ | ❌ |
| Multi-step reasoning | ✅ | ❌ |
| Data extraction from known text | ❌ | ✅ |
| Tasks needing real-time data | ✅ | ❌ |
| High-volume processing | ❌ | ✅ |
Best practices
Define clear goals
Tell the agent exactly what success looks like:Limit tool usage
Only enable tools the agent needs:Set constraints
Prevent runaway execution:Provide context
Give the agent background information:Common issues
Agent takes too long
Agent takes too long
- Reduce scope of the task
- Set explicit step limits
- Be more specific about what to find
Agent uses wrong tools
Agent uses wrong tools
- Specify which tool to use for what
- Disable unnecessary tools
- Add examples to instructions
Results are incomplete
Results are incomplete
- Break into smaller sub-tasks
- Increase max_output_tokens
- Add “ensure you cover all points” to instructions
Agent loops or gets stuck
Agent loops or gets stuck
- Add “if stuck, provide best available answer”
- Set maximum iteration limit
- Simplify the task

