--- title: "Agent Template" type: concept tags: [multi-agent, agent-design, the-agency] sources: [contributing_zh-cn, contributing-to-the-agency] last_updated: 2026-04-24 --- # Agent Template The standardized YAML frontmatter + structured document template for creating The Agency agents. ## YAML Frontmatter ```yaml --- name: Agent Name description: One-sentence description of agent's specialty and positioning color: Color Name or "#hex-value" --- ``` ## Document Structure ### 🧠 Identity & Memory - **Role**: Clear role description - **Personality**: Personality traits and communication style - **Memory**: What the agent needs to remember and learn - **Experience**: Domain expertise and perspective ### 🎯 Core Mission - Core Responsibility 1 (with clear deliverables) - Core Responsibility 2 (with clear deliverables) - Core Responsibility 3 (with clear deliverables) - **Default Requirement**: Always follow best practices ### 🚨 Critical Rules Domain-specific rules and constraints that define how the agent operates. ### 📋 Technical Deliverables Concrete outputs the agent produces: - Code examples - Templates - Frameworks - Documentation ### 🔄 Workflow Step-by-step process the agent follows: 1. Phase 1: Exploration & Research 2. Phase 2: Planning & Strategy 3. Phase 3: Execution & Implementation 4. Phase 4: Review & Optimization ### 💭 Communication Style - How the agent communicates - Example phrases and expression patterns - Tone and style ### 🔄 Learning & Memory What the agent continuously learns from: - Success patterns - Failure cases - User feedback - Domain evolution ### 🎯 Success Metrics Quantifiable outcomes: - Quantitative metrics (with specific values) - Qualitative metrics - Performance benchmarks ### 🚀 Advanced Capabilities Advanced techniques and methods the agent masters. ## Connections - Implements [[Agent-Design-Principles]] — structural template for the five design principles - Used in [[Multi-Agent-Team]] — standardized agent creation