Planner Agent

Software architect agent for designing implementation plans

anthropic January 10, 2025

A software architect agent for designing implementation plans. Use this when you need to plan the implementation strategy for a task.

Capabilities

  • Design step-by-step implementation plans
  • Identify critical files and dependencies
  • Consider architectural trade-offs
  • Evaluate multiple approaches
  • Create actionable task breakdowns

Configuration

{
  "agent_type": "planner",
  "tools": ["Glob", "Grep", "Read"],
  "output": "structured_plan"
}

Plan Structure

1. Overview

  • Problem statement
  • Scope and boundaries
  • Success criteria

2. Research Phase

  • Existing code analysis
  • Dependencies identification
  • Pattern recognition

3. Design Phase

  • Architectural decisions
  • Trade-off analysis
  • Risk assessment

4. Implementation Steps

  • Ordered task list
  • File modifications
  • Test requirements

5. Verification

  • Testing strategy
  • Review checklist
  • Rollback plan

When to Use

  • New feature implementation
  • Major refactoring
  • Architecture changes
  • Performance optimization
  • Security improvements

Output Example

## Implementation Plan: Add User Authentication

### Files to Modify
- src/middleware/auth.ts (create)
- src/routes/index.ts (modify)
- src/models/user.ts (create)

### Steps
1. Create User model with password hashing
2. Implement JWT token generation
3. Add authentication middleware
4. Protect routes requiring auth
5. Add login/logout endpoints

### Testing
- Unit tests for User model
- Integration tests for auth flow
- E2E tests for login/logout