3. Key Design Patterns Pattern Description Best Use Case Reflection The agent reviews its own work and corrects errors. Code generation and creative writing. Tool Use The agent identifies when it lacks info and calls an API. Real-time data retrieval (Stock prices, Weather). Planning The agent creates a roadmap before executing. Complex project management. Multi-Agent Different agents with "roles" collaborate. Software development (Dev, QA, DevOps roles).