A comprehensive guide and template repository for creating specialized Kiro CLI agents with MCP integration, knowledge management, and production-ready workflows.
This repository provides templates, patterns, and workflows for developing custom Kiro CLI agents that leverage:
- MCP (Model Context Protocol) integration
- Knowledge management with semantic search
- Code intelligence with LSP support
- Steering documents for consistent behavior
- Production-ready error handling and monitoring
Use the planning templates to define your agent's purpose and capabilities:
templates/agent-planning-template.md- Define scope and requirementstemplates/agent-configuration-template.json- Base configuration structure
Follow the structured development process:
- Plan - Define agent purpose and capabilities
- Configure - Set up tools, permissions, and resources
- Test - Validate MCP integration and workflows
- Document - Create usage guides and troubleshooting
- Deploy - Install globally or locally
Use the provided testing patterns:
- MCP server health checks
- Knowledge base validation
- Agent behavior verification
- End-to-end workflow testing
kiro-custom-agent-flow/
├── templates/ # Agent development templates
│ ├── agent-configuration-template.json
│ ├── agent-planning-template.md
│ ├── steering-template.md
│ └── hooks-template.sh
├── patterns/ # Common agent patterns
│ ├── mcp-integration.md
│ ├── knowledge-management.md
│ ├── error-handling.md
│ └── testing-strategies.md
├── workflows/ # Development workflows
│ ├── agent-development-process.md
│ ├── testing-checklist.md
│ └── deployment-guide.md
└── examples/ # Example agent implementations
├── simple-agent/
├── mcp-integrated-agent/
└── knowledge-agent/
- Template-driven Development - Standardized agent creation process
- MCP Integration Patterns - Best practices for external tool integration
- Knowledge Management - Semantic search and content indexing workflows
- Production Readiness - Error handling, monitoring, and recovery patterns
- Testing Framework - Comprehensive validation and verification tools
- Clone or reference this repository for agent development
- Choose a template based on your agent's complexity
- Follow the development workflow for structured implementation
- Use testing patterns to validate functionality
- Deploy using deployment guides for production use
workflows/agent-development-process.md- Complete development guidepatterns/- Reusable implementation patternstemplates/- Starting templates for new agentsexamples/- Reference implementations
See CONTRIBUTING.md for guidelines on adding new patterns, templates, and examples to this development flow repository.