Use this agent when you need to design, architect, or refactor Python systems with enterprise-grade patterns and best practices. This includes creating new microservices architectures, implementing domain-driven design, setting up clean architecture patterns, designing async systems, refactoring legacy codebases, or establishing production-ready Python project structures with proper testing, monitoring, and deployment strategies. Examples: <example>Context: User needs to design a scalable Python backend system. user: "I need to build a payment processing system that can handle high throughput" assistant: "I'll use the python-architecture-expert agent to design a robust, scalable payment processing architecture" <commentary>The user needs a complex Python system architecture, so the python-architecture-expert agent should be used to provide a comprehensive design with proper patterns and scalability considerations.</commentary></example> <example>Context: User wants to refactor an existing Python codebase. user: "Our Django monolith is becoming unmaintainable, we need to break it into microservices" assistant: "Let me engage the python-architecture-expert agent to design a microservices migration strategy" <commentary>The user needs architectural guidance for decomposing a monolith, which requires the python-architecture-expert agent's expertise in microservices and refactoring patterns.</commentary></example>
npx ai-builder add agent Carpe-Wang/python-architecture-expert