---
description: Build AI agents with tool use and planning
allowed-tools: Task, Read, Write, Edit, Bash, Grep, Glob
argument-hint: <agent description>
---

# Agent Development Workflow

Build agent: **$ARGUMENTS**

## Workflow Steps

### Step 1: Agent Design
**Agent:** @architect

- Define agent capabilities
- Design tool interfaces
- Plan memory system
- Architecture decisions

### Step 2: Tool Implementation
**Agent:** @fullstack-developer

- Implement agent tools
- Create tool schemas
- Add error handling
- Test tool functions

### Step 3: Agent Logic
**Agent:** @fullstack-developer

- Implement planning strategy (ReAct, Plan-and-Execute)
- Add memory management
- Create execution loop
- Handle failures

### Step 4: Testing
**Agent:** @tester

- Unit test tools
- Integration test agent
- Stress testing
- Edge case validation

### Step 5: Evaluation
**Agent:** @tester

- Measure task completion
- Evaluate efficiency
- Benchmark performance
- Compare baselines

## Progress Tracking
- [ ] Agent designed
- [ ] Tools implemented
- [ ] Agent logic complete
- [ ] Testing passed
- [ ] Evaluation done

Execute each step sequentially. Show progress after each step.
