Configure AI agents to perform specific tasks

Agent Node

Agent nodes are AI workers that perform specific tasks in your workflow.

Properties

Node ID

Unique identifier for the agent. Example: code-writer, security-reviewer

Instructions

Tell the agent what to do. Be clear and specific:

You are a code reviewer. Analyze the provided code for:
1. Security vulnerabilities
2. Performance issues
3. Code style violations

Model Selection

ModelBest For
HaikuSimple tasks, fast iteration
SonnetBalanced tasks, most use cases
OpusComplex reasoning, critical tasks

Tools

Select which tools the agent can use:

ToolPurpose
ReadRead files
WriteCreate/overwrite files
EditMake targeted edits
BashRun shell commands
GlobFind files by pattern
GrepSearch file contents

Feedback Loop

Enable "Evaluator & Feedback Provider" to make this agent a reviewer that can send work back for revision.

Settings:

  • Max Retries: How many times to retry (1-10)
  • Target Agent: Which agent to send back to on failure

Tips

  • Be specific in instructions
  • Only enable tools the agent needs
  • Start with Sonnet, use Haiku for simple tasks