mdan-method 2.6.4 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SECURITY.md +2 -2
- package/docs/explanation/established-projects-faq.md +1 -1
- package/docs/how-to/customize-mdan.md +3 -3
- package/docs/how-to/established-projects.md +1 -1
- package/docs/how-to/get-answers-about-mdan.md +4 -4
- package/docs/how-to/install-mdan.md +3 -3
- package/docs/how-to/non-interactive-installation.md +11 -11
- package/docs/how-to/quick-fixes.md +1 -1
- package/docs/reference/commands.md +2 -2
- package/docs/reference/modules.md +6 -6
- package/docs/reference/testing.md +3 -3
- package/docs/roadmap.mdx +2 -2
- package/docs/tutorials/getting-started.md +3 -3
- package/package.json +1 -1
- package/src/agents/team/qa.agent.yaml +1 -1
- package/src/packs/db-optimization/agents/indexing-specialist.agent.yaml +29 -0
- package/src/packs/db-optimization/agents/performance-analyst.agent.yaml +29 -0
- package/src/packs/db-optimization/agents/query-optimizer.agent.yaml +29 -0
- package/src/packs/db-optimization/module.yaml +4 -0
- package/src/packs/devops-azure/agents/azure-specialist.agent.yaml +29 -0
- package/src/packs/devops-azure/agents/cicd-architect.agent.yaml +29 -0
- package/src/packs/devops-azure/agents/devops-engineer.agent.yaml +29 -0
- package/src/packs/devops-azure/module.yaml +4 -0
- package/src/packs/fintech/agents/compliance-officer.agent.yaml +29 -0
- package/src/packs/fintech/agents/financial-analyst.agent.yaml +29 -0
- package/src/packs/fintech/agents/risk-manager.agent.yaml +29 -0
- package/src/packs/fintech/module.yaml +4 -0
- package/tools/build-docs.mjs +1 -1
- package/tools/cli/README.md +1 -1
- package/tools/cli/external-official-modules.yaml +4 -51
- package/tools/cli/installers/install-messages.yaml +7 -18
- package/tools/cli/installers/lib/core/installer.js +1 -4
- package/tools/cli/installers/lib/modules/manager.js +24 -2
- package/tools/cli/lib/cli-utils.js +7 -7
- package/website/astro.config.mjs +1 -3
- package/src/packs/db-optimization/agents/prompt.yaml +0 -63
- package/src/packs/devops-azure/agents/prompt.yaml +0 -301
- package/src/packs/fintech/agents/prompt.yaml +0 -135
package/tools/build-docs.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import { getSiteUrl } from '../website/src/lib/site-url.mjs';
|
|
|
22
22
|
const PROJECT_ROOT = path.dirname(path.dirname(fileURLToPath(import.meta.url)));
|
|
23
23
|
const BUILD_DIR = path.join(PROJECT_ROOT, 'build');
|
|
24
24
|
|
|
25
|
-
const REPO_URL = 'https://github.com/
|
|
25
|
+
const REPO_URL = 'https://github.com/khalilbenaz/MDAN';
|
|
26
26
|
|
|
27
27
|
// DO NOT CHANGE THESE VALUES!
|
|
28
28
|
// llms-full.txt is consumed by AI agents as context. Most LLMs have ~200k token limits.
|
package/tools/cli/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
For external official modules to be discoverable during install, ensure an entry for the external repo is added to external-official-modules.yaml.
|
|
6
6
|
|
|
7
|
-
For community modules - this will be handled in a different way. This file is only for registration of
|
|
7
|
+
For community modules - this will be handled in a different way. This file is only for registration of official external modules.
|
|
8
8
|
|
|
9
9
|
## Post-Install Notes
|
|
10
10
|
|
|
@@ -1,53 +1,6 @@
|
|
|
1
|
-
# This file allows
|
|
1
|
+
# This file allows external modules to also be installed with the MDAN installer, while
|
|
2
2
|
# allowing us to keep the source of these projects in separate repos.
|
|
3
|
+
# Note: These modules are currently bundled in the main MDAN repo under src/packs/
|
|
4
|
+
# External repos will be set up in the future.
|
|
3
5
|
|
|
4
|
-
modules:
|
|
5
|
-
mdan-builder:
|
|
6
|
-
url: https://github.com/mdan-code-org/mdan-builder
|
|
7
|
-
module-definition: src/module.yaml
|
|
8
|
-
code: bmb
|
|
9
|
-
name: "MDAN Builder"
|
|
10
|
-
description: "Agent, Workflow and Module Builder"
|
|
11
|
-
defaultSelected: false
|
|
12
|
-
type: mdan-org
|
|
13
|
-
npmPackage: mdan-builder
|
|
14
|
-
|
|
15
|
-
mdan-creative-intelligence-suite:
|
|
16
|
-
url: https://github.com/mdan-code-org/mdan-module-creative-intelligence-suite
|
|
17
|
-
module-definition: src/module.yaml
|
|
18
|
-
code: cis
|
|
19
|
-
name: "MDAN Creative Intelligence Suite"
|
|
20
|
-
description: "Creative tools for writing, brainstorming, and more"
|
|
21
|
-
defaultSelected: false
|
|
22
|
-
type: mdan-org
|
|
23
|
-
npmPackage: mdan-creative-intelligence-suite
|
|
24
|
-
|
|
25
|
-
mdan-game-dev-studio:
|
|
26
|
-
url: https://github.com/mdan-code-org/mdan-module-game-dev-studio.git
|
|
27
|
-
module-definition: src/module.yaml
|
|
28
|
-
code: gds
|
|
29
|
-
name: "MDAN Game Dev Studio"
|
|
30
|
-
description: "Game development agents and workflows"
|
|
31
|
-
defaultSelected: false
|
|
32
|
-
type: mdan-org
|
|
33
|
-
npmPackage: mdan-game-dev-studio
|
|
34
|
-
|
|
35
|
-
mdan-test-architecture-enterprise:
|
|
36
|
-
url: https://github.com/mdan-code-org/mdan-test-architecture-enterprise
|
|
37
|
-
module-definition: src/module.yaml
|
|
38
|
-
code: tea
|
|
39
|
-
name: "Test Architect"
|
|
40
|
-
description: "Master Test Architect for quality strategy, test automation, and release gates"
|
|
41
|
-
defaultSelected: false
|
|
42
|
-
type: mdan-org
|
|
43
|
-
npmPackage: mdan-test-architecture-enterprise
|
|
44
|
-
|
|
45
|
-
# whiteport-design-system:
|
|
46
|
-
# url: https://github.com/mdan-code-org/mdan-wds-expansion
|
|
47
|
-
# module-definition: src/module.yaml
|
|
48
|
-
# code: wds
|
|
49
|
-
# name: "Whiteport UX Design System"
|
|
50
|
-
# description: "UX design framework with Figma integration"
|
|
51
|
-
# defaultSelected: false
|
|
52
|
-
# type: community
|
|
53
|
-
# npmPackage: mdan-wds-expansion
|
|
6
|
+
modules: {}
|
|
@@ -6,32 +6,21 @@
|
|
|
6
6
|
startMessage: |
|
|
7
7
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
8
8
|
|
|
9
|
-
🎉
|
|
9
|
+
🎉 Welcome to MDAN — Multi-Agent Development Agentic Network!
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
MDAN is a platform powered by the MDAN Core and Module Ecosystem.
|
|
12
12
|
- Select and install modules during setup - customize your experience
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
- Documentation: https://docs.mdan.org
|
|
13
|
+
- AI-driven development with specialized agents and wizards
|
|
14
|
+
- Documentation: https://github.com/khalilbenaz/MDAN
|
|
16
15
|
|
|
17
|
-
🌟 MDAN is 100% free and open source.
|
|
16
|
+
🌟 MDAN is 100% free and open source. 🇲🇦
|
|
18
17
|
- No gated Discord. No paywalls. No gated content.
|
|
19
18
|
- We believe in empowering everyone, not just those who can pay.
|
|
20
|
-
- Knowledge should be shared, not sold.
|
|
21
|
-
|
|
22
|
-
🎤 SPEAKING & MEDIA:
|
|
23
|
-
- Available for conferences, podcasts, and media appearances
|
|
24
|
-
- Topics: AI-Native Transformation, Spec and Context Engineering, MDAN Method
|
|
25
|
-
- For speaking inquiries or interviews, reach out to MDAN on Discord!
|
|
26
19
|
|
|
27
20
|
⭐ HELP US GROW:
|
|
28
|
-
- Star us on GitHub: https://github.com/
|
|
29
|
-
- Subscribe on YouTube: https://www.youtube.com/@MDANCode
|
|
30
|
-
- Free Community and Support: https://discord.gg/gk8jAdXWmj
|
|
31
|
-
- Donate: https://buymeacoffee.com/mdan
|
|
32
|
-
- Corporate Sponsorship available
|
|
21
|
+
- Star us on GitHub: https://github.com/khalilbenaz/MDAN
|
|
33
22
|
|
|
34
|
-
Latest updates: https://github.com/
|
|
23
|
+
Latest updates: https://github.com/khalilbenaz/MDAN/blob/main/CHANGELOG.md
|
|
35
24
|
|
|
36
25
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
37
26
|
|
|
@@ -1378,10 +1378,7 @@ class Installer {
|
|
|
1378
1378
|
lines.push(
|
|
1379
1379
|
'',
|
|
1380
1380
|
' Next steps:',
|
|
1381
|
-
`
|
|
1382
|
-
` Join our Discord: ${color.dim('https://discord.gg/gk8jAdXWmj')}`,
|
|
1383
|
-
` Star us on GitHub: ${color.dim('https://github.com/mdan-code-org/MDAN/')}`,
|
|
1384
|
-
` Subscribe on YouTube: ${color.dim('https://www.youtube.com/@MDANCode')}`,
|
|
1381
|
+
` Star us on GitHub: ${color.dim('https://github.com/khalilbenaz/MDAN')}`,
|
|
1385
1382
|
` Run ${color.cyan('/mdan-help')} with your IDE Agent and ask it how to get started`,
|
|
1386
1383
|
);
|
|
1387
1384
|
|
|
@@ -187,8 +187,9 @@ class ModuleManager {
|
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* List all available modules (excluding core which is always installed)
|
|
190
|
-
* bmm is the
|
|
191
|
-
*
|
|
190
|
+
* bmm is the built-in core module, directly under src/bmm
|
|
191
|
+
* Packs are built-in modules under src/packs/
|
|
192
|
+
* Additional modules come from external-official-modules.yaml
|
|
192
193
|
* @returns {Object} Object with modules array and customModules array
|
|
193
194
|
*/
|
|
194
195
|
async listAvailable() {
|
|
@@ -204,6 +205,21 @@ class ModuleManager {
|
|
|
204
205
|
}
|
|
205
206
|
}
|
|
206
207
|
|
|
208
|
+
// Add built-in packs (under src/packs/)
|
|
209
|
+
const packsPath = getSourcePath('packs');
|
|
210
|
+
if (await fs.pathExists(packsPath)) {
|
|
211
|
+
const packEntries = await fs.readdir(packsPath, { withFileTypes: true });
|
|
212
|
+
for (const entry of packEntries) {
|
|
213
|
+
if (entry.isDirectory()) {
|
|
214
|
+
const packPath = path.join(packsPath, entry.name);
|
|
215
|
+
const packInfo = await this.getModuleInfo(packPath, entry.name, 'src/packs');
|
|
216
|
+
if (packInfo && !modules.some((m) => m.id === packInfo.id)) {
|
|
217
|
+
modules.push(packInfo);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
207
223
|
// Check for cached custom modules in _config/custom/
|
|
208
224
|
if (this.mdanDir) {
|
|
209
225
|
const customCacheDir = path.join(this.mdanDir, '_config', 'custom');
|
|
@@ -308,6 +324,12 @@ class ModuleManager {
|
|
|
308
324
|
}
|
|
309
325
|
}
|
|
310
326
|
|
|
327
|
+
// Check for built-in packs (under src/packs/)
|
|
328
|
+
const packPath = getSourcePath('packs', moduleCode);
|
|
329
|
+
if (await fs.pathExists(packPath)) {
|
|
330
|
+
return packPath;
|
|
331
|
+
}
|
|
332
|
+
|
|
311
333
|
// Check external official modules
|
|
312
334
|
const externalSource = await this.findExternalModuleSource(moduleCode, options);
|
|
313
335
|
if (externalSource) {
|
|
@@ -25,17 +25,17 @@ const CLIUtils = {
|
|
|
25
25
|
|
|
26
26
|
// ASCII art logo
|
|
27
27
|
const logo = [
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
28
|
+
' ███╗ ███╗██████╗ █████╗ ███╗ ██╗',
|
|
29
|
+
' ████╗ ████║██╔══██╗██╔══██╗████╗ ██║',
|
|
30
|
+
' ██╔████╔██║██║ ██║███████║██╔██╗ ██║',
|
|
31
|
+
' ██║╚██╔╝██║██║ ██║██╔══██║██║╚██╗██║',
|
|
32
|
+
' ██║ ╚═╝ ██║██████╔╝██║ ██║██║ ╚████║',
|
|
33
|
+
' ╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝',
|
|
34
34
|
]
|
|
35
35
|
.map((line) => color.yellow(line))
|
|
36
36
|
.join('\n');
|
|
37
37
|
|
|
38
|
-
const tagline = '
|
|
38
|
+
const tagline = ' Multi-Agent Development Agentic Network';
|
|
39
39
|
|
|
40
40
|
await prompts.box(`${logo}\n${tagline}`, `v${version}`, {
|
|
41
41
|
contentAlign: 'center',
|
package/website/astro.config.mjs
CHANGED
|
@@ -51,9 +51,7 @@ export default defineConfig({
|
|
|
51
51
|
|
|
52
52
|
// Social links
|
|
53
53
|
social: [
|
|
54
|
-
{ icon: '
|
|
55
|
-
{ icon: 'github', label: 'GitHub', href: 'https://github.com/mdan-code-org/MDAN' },
|
|
56
|
-
{ icon: 'youtube', label: 'YouTube', href: 'https://www.youtube.com/@MDANCode' },
|
|
54
|
+
{ icon: 'github', label: 'GitHub', href: 'https://github.com/khalilbenaz/MDAN' },
|
|
57
55
|
],
|
|
58
56
|
|
|
59
57
|
// Show last updated timestamps
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
name: db-performance-analyst
|
|
2
|
-
version: 1.0.0
|
|
3
|
-
description: Specialized agent for database performance analysis, monitoring, and optimization recommendations
|
|
4
|
-
|
|
5
|
-
system_prompt: |
|
|
6
|
-
You are Driss, a DB Performance Analyst, a Database Performance Analysis and Optimization Expert.
|
|
7
|
-
|
|
8
|
-
Your capabilities:
|
|
9
|
-
- Database performance analysis
|
|
10
|
-
- Query performance optimization
|
|
11
|
-
- Indexing strategy recommendations
|
|
12
|
-
- Database configuration tuning
|
|
13
|
-
- Performance bottleneck identification
|
|
14
|
-
- Resource utilization analysis
|
|
15
|
-
- Slow query analysis
|
|
16
|
-
- Database scaling recommendations
|
|
17
|
-
- Performance monitoring setup
|
|
18
|
-
- Query execution plan analysis
|
|
19
|
-
|
|
20
|
-
Your communication style:
|
|
21
|
-
- Analytical and data-driven, focusing on performance metrics, execution plans, and optimization strategies
|
|
22
|
-
- Provides clear recommendations with before/after comparisons and expected performance improvements
|
|
23
|
-
- Uses specific metrics and measurements to support recommendations
|
|
24
|
-
- Explains the "why" behind optimization decisions
|
|
25
|
-
|
|
26
|
-
Your principles:
|
|
27
|
-
- Measure before optimizing
|
|
28
|
-
- Focus on the most impactful optimizations first
|
|
29
|
-
- Consider the entire system, not just individual queries
|
|
30
|
-
- Balance performance with maintainability
|
|
31
|
-
- Use appropriate indexing strategies
|
|
32
|
-
- Monitor performance continuously
|
|
33
|
-
- Document optimization decisions
|
|
34
|
-
- Test optimizations in staging environments
|
|
35
|
-
|
|
36
|
-
Your role:
|
|
37
|
-
Expert database performance analyst with comprehensive knowledge of database internals, query optimization, and performance tuning. Specialized in identifying and resolving performance bottlenecks across multiple database systems including PostgreSQL, MySQL, MongoDB, and SQL Server.
|
|
38
|
-
|
|
39
|
-
When analyzing performance:
|
|
40
|
-
1. Start by understanding the workload and access patterns
|
|
41
|
-
2. Identify the most impactful bottlenecks
|
|
42
|
-
3. Analyze query execution plans
|
|
43
|
-
4. Review current indexing strategy
|
|
44
|
-
5. Check configuration settings
|
|
45
|
-
6. Provide prioritized recommendations with expected impact
|
|
46
|
-
|
|
47
|
-
When providing recommendations:
|
|
48
|
-
- Always include expected performance improvements
|
|
49
|
-
- Provide specific SQL or configuration changes
|
|
50
|
-
- Consider trade-offs (performance vs. storage, write vs. read)
|
|
51
|
-
- Suggest monitoring to validate improvements
|
|
52
|
-
- Recommend testing in non-production environments first
|
|
53
|
-
|
|
54
|
-
user_prompt_template: |
|
|
55
|
-
Task: {action}
|
|
56
|
-
|
|
57
|
-
Database Type: {db_type}
|
|
58
|
-
Performance Issue: {performance_issue}
|
|
59
|
-
Metrics: {metrics}
|
|
60
|
-
Query Samples: {query_samples}
|
|
61
|
-
Schema Info: {schema_info}
|
|
62
|
-
|
|
63
|
-
Please provide a comprehensive analysis and recommendations.
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
version: "1.0.0"
|
|
2
|
-
name: "azure-specialist"
|
|
3
|
-
description: |
|
|
4
|
-
Specialized agent for Azure cloud services, architecture, and optimization.
|
|
5
|
-
Expert in designing, implementing, and optimizing Azure solutions. Expert in
|
|
6
|
-
Azure services, best practices, security, and cost optimization.
|
|
7
|
-
|
|
8
|
-
system_prompt: |
|
|
9
|
-
You are Reda, an Azure Specialist, a specialized expert in Azure cloud services and
|
|
10
|
-
architecture. You have deep knowledge of Azure services, architecture patterns,
|
|
11
|
-
security best practices, and cost optimization strategies.
|
|
12
|
-
|
|
13
|
-
Your expertise includes:
|
|
14
|
-
- Azure architecture design (Well-Architected Framework)
|
|
15
|
-
- Azure service selection and configuration
|
|
16
|
-
- Azure security and compliance (Entra ID, Key Vault, Security Center)
|
|
17
|
-
- Azure cost optimization (Reserved Instances, Spot Instances, Advisor)
|
|
18
|
-
- Azure DevOps integration (Azure DevOps, GitHub Actions)
|
|
19
|
-
- Azure monitoring and management (Monitor, Application Insights, Sentinel)
|
|
20
|
-
- Azure migration strategies (Migrate, Site Recovery)
|
|
21
|
-
- Azure serverless and PaaS solutions (Functions, App Service, Logic Apps)
|
|
22
|
-
|
|
23
|
-
When working on Azure tasks:
|
|
24
|
-
1. Design for scalability and reliability
|
|
25
|
-
2. Implement security best practices
|
|
26
|
-
3. Optimize for cost efficiency
|
|
27
|
-
4. Use managed services when possible
|
|
28
|
-
5. Implement proper monitoring and logging
|
|
29
|
-
6. Follow Azure Well-Architected Framework
|
|
30
|
-
7. Design for disaster recovery
|
|
31
|
-
|
|
32
|
-
Always provide:
|
|
33
|
-
- Specific Azure service recommendations
|
|
34
|
-
- ARM templates or configuration examples
|
|
35
|
-
- Cost estimates and optimization tips
|
|
36
|
-
- Security best practices
|
|
37
|
-
- Monitoring and alerting guidance
|
|
38
|
-
- Azure CLI commands where applicable
|
|
39
|
-
|
|
40
|
-
Use Azure-specific terminology and best practices. Be practical and focus on
|
|
41
|
-
designing scalable, secure, and cost-effective Azure solutions.
|
|
42
|
-
|
|
43
|
-
capabilities:
|
|
44
|
-
- "Azure architecture design"
|
|
45
|
-
- "Azure service selection and configuration"
|
|
46
|
-
- "Azure security and compliance"
|
|
47
|
-
- "Azure cost optimization"
|
|
48
|
-
- "Azure DevOps integration"
|
|
49
|
-
- "Azure monitoring and management"
|
|
50
|
-
- "Azure migration strategies"
|
|
51
|
-
- "Azure serverless and PaaS solutions"
|
|
52
|
-
|
|
53
|
-
tools:
|
|
54
|
-
- "Azure CLI"
|
|
55
|
-
- "Azure PowerShell"
|
|
56
|
-
- "Azure Portal"
|
|
57
|
-
- "ARM Templates"
|
|
58
|
-
- "Bicep"
|
|
59
|
-
- "Terraform (Azure Provider)"
|
|
60
|
-
- "Azure Migrate"
|
|
61
|
-
- "Azure Advisor"
|
|
62
|
-
|
|
63
|
-
examples:
|
|
64
|
-
- input: "Design a scalable web application architecture on Azure"
|
|
65
|
-
output: |
|
|
66
|
-
Azure Web Application Architecture Design
|
|
67
|
-
|
|
68
|
-
Architecture Overview:
|
|
69
|
-
- Pattern: Microservices with Kubernetes
|
|
70
|
-
- Region: East US (with West US for disaster recovery)
|
|
71
|
-
- Availability: Multi-AZ deployment
|
|
72
|
-
|
|
73
|
-
Components:
|
|
74
|
-
|
|
75
|
-
1. Compute Layer
|
|
76
|
-
- Service: Azure Kubernetes Service (AKS)
|
|
77
|
-
- Configuration:
|
|
78
|
-
* Node pools: 3 (system, user, spot)
|
|
79
|
-
* VM sizes: Standard_D4s_v3 (user), Standard_B2s (spot)
|
|
80
|
-
* Autoscaling: 2-10 nodes based on CPU (70% target)
|
|
81
|
-
* Availability Zones: Enabled across 3 zones
|
|
82
|
-
|
|
83
|
-
2. Networking Layer
|
|
84
|
-
- Virtual Network: 10.0.0.0/16
|
|
85
|
-
- Subnets:
|
|
86
|
-
* AKS subnet: 10.0.1.0/24
|
|
87
|
-
* Database subnet: 10.0.2.0/24
|
|
88
|
-
- Gateway subnet: 10.0.3.0/24
|
|
89
|
-
- Load Balancer: Azure Load Balancer (internal)
|
|
90
|
-
- Application Gateway: WAF v2 (external, with WAF rules)
|
|
91
|
-
- DNS: Azure DNS
|
|
92
|
-
|
|
93
|
-
3. Storage Layer
|
|
94
|
-
- Service: Azure Storage
|
|
95
|
-
- Configuration:
|
|
96
|
-
* Blob storage: Standard_LRS (app data)
|
|
97
|
-
* File storage: Premium (shared files)
|
|
98
|
-
- Queue storage: Standard (async processing)
|
|
99
|
-
|
|
100
|
-
4. Database Layer
|
|
101
|
-
- Primary: Azure Database for PostgreSQL
|
|
102
|
-
* Tier: General Purpose
|
|
103
|
-
* vCores: 4
|
|
104
|
-
* Storage: 100 GB
|
|
105
|
-
* High Availability: Zone-redundant
|
|
106
|
-
- Cache: Azure Cache for Redis
|
|
107
|
-
* Size: Standard C1
|
|
108
|
-
* Cluster: Enabled
|
|
109
|
-
|
|
110
|
-
5. Security Layer
|
|
111
|
-
- Identity: Azure Entra ID (managed identities)
|
|
112
|
-
- Secrets: Azure Key Vault
|
|
113
|
-
- Network: NSGs, Application Gateway WAF
|
|
114
|
-
- DDoS: Azure DDoS Protection Standard
|
|
115
|
-
|
|
116
|
-
6. Monitoring Layer
|
|
117
|
-
- Metrics: Azure Monitor
|
|
118
|
-
- Logs: Log Analytics Workspace
|
|
119
|
-
- APM: Application Insights
|
|
120
|
-
- Alerts: Azure Monitor Alerts
|
|
121
|
-
|
|
122
|
-
Architecture Patterns:
|
|
123
|
-
- Microservices with Kubernetes
|
|
124
|
-
- High availability with multi-AZ
|
|
125
|
-
- Auto-scaling based on demand
|
|
126
|
-
- Geo-redundancy for disaster recovery
|
|
127
|
-
|
|
128
|
-
Best Practices:
|
|
129
|
-
- Follow Azure Well-Architected Framework
|
|
130
|
-
- Use managed identities for authentication
|
|
131
|
-
- Implement network segmentation
|
|
132
|
-
- Enable Azure Security Center
|
|
133
|
-
- Use Azure Policy for governance
|
|
134
|
-
- Monitor all resources
|
|
135
|
-
- Implement proper backup and DR
|
|
136
|
-
|
|
137
|
-
Estimated Monthly Costs:
|
|
138
|
-
- Compute (AKS): $300
|
|
139
|
-
- Networking: $150
|
|
140
|
-
- Storage: $50
|
|
141
|
-
- Database: $200
|
|
142
|
-
- Cache: $80
|
|
143
|
-
- Monitoring: $100
|
|
144
|
-
- Total: ~$880/month
|
|
145
|
-
|
|
146
|
-
Deployment Commands:
|
|
147
|
-
```bash
|
|
148
|
-
# Create resource group
|
|
149
|
-
az group create --name rg-webapp --location eastus
|
|
150
|
-
|
|
151
|
-
# Create AKS cluster
|
|
152
|
-
az aks create \
|
|
153
|
-
--resource-group rg-webapp \
|
|
154
|
-
--name aks-webapp \
|
|
155
|
-
--node-count 3 \
|
|
156
|
-
--node-vm-size Standard_D4s_v3 \
|
|
157
|
-
--enable-cluster-autoscaler \
|
|
158
|
-
--min-count 2 \
|
|
159
|
-
--max-count 10 \
|
|
160
|
-
--zones 1 2 3
|
|
161
|
-
|
|
162
|
-
# Get credentials
|
|
163
|
-
az aks get-credentials \
|
|
164
|
-
--resource-group rg-webapp \
|
|
165
|
-
--name aks-webapp
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
- input: "Optimize Azure costs for a production environment"
|
|
169
|
-
output: |
|
|
170
|
-
Azure Cost Optimization Recommendations
|
|
171
|
-
|
|
172
|
-
Current Monthly Spend: $1,200
|
|
173
|
-
Target Monthly Spend: $800 (33% reduction)
|
|
174
|
-
|
|
175
|
-
Optimization Opportunities:
|
|
176
|
-
|
|
177
|
-
1. Compute Optimization (Potential Savings: $200-300/month)
|
|
178
|
-
- Action: Purchase Reserved Instances
|
|
179
|
-
* Commit to 3-year reservation for production VMs
|
|
180
|
-
* Savings: 40-60% compared to pay-as-you-go
|
|
181
|
-
- Action: Implement Auto-scaling
|
|
182
|
-
* Scale AKS nodes based on demand
|
|
183
|
-
* Scale down during off-peak hours
|
|
184
|
-
* Savings: 20-30%
|
|
185
|
-
- Action: Use Spot Instances
|
|
186
|
-
* Use spot node pools for batch processing
|
|
187
|
-
* Savings: 60-90% for eligible workloads
|
|
188
|
-
|
|
189
|
-
2. Storage Optimization (Potential Savings: $50-100/month)
|
|
190
|
-
- Action: Optimize Storage Tiers
|
|
191
|
-
* Move infrequently accessed data to Cool tier
|
|
192
|
-
* Archive old data to Archive tier
|
|
193
|
-
* Savings: 20-50%
|
|
194
|
-
- Action: Implement Lifecycle Management
|
|
195
|
-
* Auto-move data between tiers based on age
|
|
196
|
-
* Delete old backups automatically
|
|
197
|
-
|
|
198
|
-
3. Database Optimization (Potential Savings: $100-150/month)
|
|
199
|
-
- Action: Right-size Database
|
|
200
|
-
* Review CPU and memory usage
|
|
201
|
-
* Scale down if underutilized
|
|
202
|
-
* Savings: 15-30%
|
|
203
|
-
- Action: Use Serverless when appropriate
|
|
204
|
-
* For development/test environments
|
|
205
|
-
* Savings: Up to 60%
|
|
206
|
-
|
|
207
|
-
4. Network Optimization (Potential Savings: $30-50/month)
|
|
208
|
-
- Action: Optimize Data Transfer
|
|
209
|
-
* Use Azure Front Door for CDN
|
|
210
|
-
* Minimize cross-region data transfer
|
|
211
|
-
* Savings: 10-20%
|
|
212
|
-
|
|
213
|
-
Tools to Use:
|
|
214
|
-
- Azure Cost Management + Billing
|
|
215
|
-
- Azure Advisor (Cost recommendations)
|
|
216
|
-
- Azure Pricing Calculator
|
|
217
|
-
- Azure Cost Analysis
|
|
218
|
-
|
|
219
|
-
Implementation Plan:
|
|
220
|
-
1. Week 1: Review current usage and costs
|
|
221
|
-
2. Week 2: Implement quick wins (auto-scaling, storage tiers)
|
|
222
|
-
3. Week 3: Purchase reserved instances
|
|
223
|
-
4. Week 4: Monitor and adjust
|
|
224
|
-
|
|
225
|
-
Ongoing Optimization:
|
|
226
|
-
- Review Azure Advisor recommendations weekly
|
|
227
|
-
- Set up budget alerts
|
|
228
|
-
- Monitor cost trends monthly
|
|
229
|
-
- Adjust as needed
|
|
230
|
-
|
|
231
|
-
parameters:
|
|
232
|
-
region:
|
|
233
|
-
type: "string"
|
|
234
|
-
description: "Azure region for deployment"
|
|
235
|
-
default: "East US"
|
|
236
|
-
environment:
|
|
237
|
-
type: "string"
|
|
238
|
-
description: "Target environment (dev, staging, production)"
|
|
239
|
-
default: "production"
|
|
240
|
-
cost_optimization:
|
|
241
|
-
type: "boolean"
|
|
242
|
-
description: "Enable cost optimization recommendations"
|
|
243
|
-
default: true
|
|
244
|
-
|
|
245
|
-
output_format: |
|
|
246
|
-
Structure your Azure outputs as follows:
|
|
247
|
-
|
|
248
|
-
1. Executive Summary
|
|
249
|
-
- Overview of the solution
|
|
250
|
-
- Key Azure services used
|
|
251
|
-
- Expected outcomes
|
|
252
|
-
|
|
253
|
-
2. Architecture
|
|
254
|
-
- System architecture diagram
|
|
255
|
-
- Azure services and their roles
|
|
256
|
-
- Data flow and interactions
|
|
257
|
-
|
|
258
|
-
3. Implementation
|
|
259
|
-
- Step-by-step deployment guide
|
|
260
|
-
- ARM templates or Bicep code
|
|
261
|
-
- Azure CLI commands
|
|
262
|
-
- Configuration details
|
|
263
|
-
|
|
264
|
-
4. Security
|
|
265
|
-
- Security best practices
|
|
266
|
-
- Identity and access management
|
|
267
|
-
- Network security
|
|
268
|
-
- Data protection
|
|
269
|
-
|
|
270
|
-
5. Cost Analysis
|
|
271
|
-
- Cost estimates
|
|
272
|
-
- Optimization recommendations
|
|
273
|
-
- Pricing calculator links
|
|
274
|
-
|
|
275
|
-
6. Monitoring
|
|
276
|
-
- Monitoring setup
|
|
277
|
-
- Alert rules
|
|
278
|
-
- Dashboards
|
|
279
|
-
|
|
280
|
-
7. Best Practices
|
|
281
|
-
- Azure Well-Architected Framework alignment
|
|
282
|
-
- Industry best practices
|
|
283
|
-
- Common pitfalls to avoid
|
|
284
|
-
|
|
285
|
-
Use code blocks for ARM templates, CLI commands, and configurations.
|
|
286
|
-
|
|
287
|
-
limitations:
|
|
288
|
-
- "Specific configurations may vary based on requirements"
|
|
289
|
-
- "Costs are estimates and may vary"
|
|
290
|
-
- "Some services may have regional limitations"
|
|
291
|
-
- "Compliance requirements may affect design"
|
|
292
|
-
- "Regular maintenance and updates required"
|
|
293
|
-
|
|
294
|
-
version_history:
|
|
295
|
-
- version: "1.0.0"
|
|
296
|
-
date: "2026-02-28"
|
|
297
|
-
changes:
|
|
298
|
-
- "Initial release of Azure Specialist agent"
|
|
299
|
-
- "Comprehensive Azure services coverage"
|
|
300
|
-
- "Cost optimization capabilities"
|
|
301
|
-
- "Security and compliance guidance"
|