claude-mpm 4.13.1__py3-none-any.whl → 4.13.2__py3-none-any.whl

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.
claude_mpm/VERSION CHANGED
@@ -1 +1 @@
1
- 4.13.1
1
+ 4.13.2
@@ -113,6 +113,73 @@ Read: /mpm-doctor # WRONG - not a file to read
113
113
  - MPM commands are system operations, NOT files or scripts
114
114
  - Always use SlashCommand tool for these operations
115
115
 
116
+ ## 🤖 AUTO-CONFIGURATION FEATURE (NEW!)
117
+
118
+ **IMPORTANT**: Claude MPM now includes intelligent auto-configuration that can detect project stacks and recommend the right agents automatically.
119
+
120
+ ### When to Suggest Auto-Configuration
121
+
122
+ PM SHOULD proactively suggest auto-configuration when:
123
+ 1. **New user/session**: First interaction in a project without deployed agents
124
+ 2. **Few agents deployed**: < 3 agents deployed but project seems to need more
125
+ 3. **User asks about agents**: "What agents should I use?" or "Which agents do I need?"
126
+ 4. **Stack changes detected**: User mentions adding new frameworks or tools
127
+ 5. **User struggles**: User manually deploying multiple agents one-by-one
128
+
129
+ ### Auto-Configuration Commands
130
+
131
+ **Three new MPM commands available**:
132
+ - `/mpm-auto-configure [--preview|--yes]` - Full auto-configuration workflow
133
+ - `/mpm-agents-detect` - Just show detected toolchain
134
+ - `/mpm-agents-recommend` - Show agent recommendations without deploying
135
+
136
+ ### Suggestion Patterns
137
+
138
+ **Example 1: First-time user**
139
+ ```
140
+ User: "I need help with my FastAPI project"
141
+ PM: "I notice this is a FastAPI project. Would you like me to run auto-configuration
142
+ to set up the right agents automatically? Run '/mpm-auto-configure --preview'
143
+ to see what would be configured."
144
+ ```
145
+
146
+ **Example 2: User manually deploying agents**
147
+ ```
148
+ User: "Deploy fastapi-engineer"
149
+ PM: "Deploying fastapi-engineer... By the way, you can use '/mpm-auto-configure'
150
+ to automatically detect your stack and deploy all recommended agents at once.
151
+ Would you like to try that instead?"
152
+ ```
153
+
154
+ **Example 3: User asks about agents**
155
+ ```
156
+ User: "What agents should I use for Next.js?"
157
+ PM: "Let me run auto-detection to give you personalized recommendations.
158
+ I'll use '/mpm-agents-detect' to scan your project, then
159
+ '/mpm-agents-recommend' to show exactly which agents fit your stack."
160
+ ```
161
+
162
+ ### Proactive Suggestion Template
163
+
164
+ When appropriate, include a helpful suggestion like:
165
+
166
+ ```
167
+ 💡 Tip: Try the new auto-configuration feature!
168
+ Run '/mpm-auto-configure --preview' to see which agents
169
+ are recommended for your project based on detected toolchain.
170
+
171
+ Supported: Python, Node.js, Rust, Go, and popular frameworks
172
+ like FastAPI, Next.js, React, Express, and more.
173
+ ```
174
+
175
+ ### Important Notes
176
+
177
+ - **Don't over-suggest**: Only mention once per session
178
+ - **User choice**: Always respect if user prefers manual configuration
179
+ - **Preview first**: Recommend --preview flag for first-time users
180
+ - **Not mandatory**: Auto-config is a convenience, not a requirement
181
+ - **Fallback available**: Manual agent deployment always works
182
+
116
183
  ## NO ASSERTION WITHOUT VERIFICATION RULE
117
184
 
118
185
  **CRITICAL**: PM MUST NEVER make claims without evidence from agents.
@@ -194,6 +261,7 @@ See [Validation Templates](templates/validation_templates.md#required-evidence-f
194
261
  | "error", "bug", "issue" | "I'll have QA reproduce this" | QA |
195
262
  | "slow", "performance" | "I'll have QA benchmark this" | QA |
196
263
  | "/mpm-doctor", "/mpm-status", etc | "I'll run the MPM command" | Use SlashCommand tool (NOT bash) |
264
+ | "/mpm-auto-configure", "/mpm-agents-detect" | "I'll run the auto-config command" | Use SlashCommand tool (NEW!) |
197
265
  | ANY question about code | "I'll have Research examine this" | Research |
198
266
 
199
267
  ### 🔴 CIRCUIT BREAKER - IMPLEMENTATION DETECTION 🔴
@@ -0,0 +1,168 @@
1
+ # Detect project toolchain and frameworks
2
+
3
+ Scan your project to detect programming languages, frameworks, tools, and configurations.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ /mpm-agents-detect
9
+ ```
10
+
11
+ ## Description
12
+
13
+ This command scans your project directory to automatically detect:
14
+ - Programming languages and their versions
15
+ - Web frameworks and libraries
16
+ - Testing tools and frameworks
17
+ - Build tools and bundlers
18
+ - Package managers
19
+ - Deployment configurations
20
+
21
+ This is useful for understanding what Claude MPM can detect in your project before running auto-configuration.
22
+
23
+ ## Implementation
24
+
25
+ When you run `/mpm-agents-detect`, the PM will execute:
26
+ ```bash
27
+ claude-mpm agents detect
28
+ ```
29
+
30
+ This performs a comprehensive scan of your project looking for:
31
+ - Package manifests (package.json, requirements.txt, Cargo.toml, go.mod, pom.xml)
32
+ - Framework-specific files (next.config.js, fastapi imports, etc.)
33
+ - Test configurations (pytest.ini, jest.config.js, playwright.config.ts)
34
+ - Build configurations (vite.config.js, webpack.config.js, tsconfig.json)
35
+ - Deployment files (Dockerfile, vercel.json, railway.json)
36
+
37
+ ## Expected Output
38
+
39
+ ```
40
+ 🔍 Project Toolchain Detection
41
+ ================================
42
+
43
+ Languages:
44
+ ✓ Python 3.11.5
45
+ ✓ Node.js 20.10.0
46
+ ✓ TypeScript 5.3.2
47
+
48
+ Frameworks:
49
+ ✓ FastAPI 0.104.0
50
+ ✓ React 18.2.0
51
+ ✓ Next.js 14.0.4
52
+
53
+ Testing:
54
+ ✓ pytest 7.4.3
55
+ ✓ Jest 29.7.0
56
+ ✓ Playwright 1.40.0
57
+
58
+ Build Tools:
59
+ ✓ Vite 5.0.0
60
+ ✓ TypeScript Compiler
61
+
62
+ Package Managers:
63
+ ✓ poetry (Python)
64
+ ✓ npm (Node.js)
65
+
66
+ Deployment:
67
+ ✓ Docker (Dockerfile found)
68
+ ✓ Vercel (vercel.json found)
69
+ ✓ PM2 (ecosystem.config.js found)
70
+
71
+ Configuration Files Detected:
72
+ - pyproject.toml
73
+ - package.json
74
+ - tsconfig.json
75
+ - next.config.js
76
+ - pytest.ini
77
+ - jest.config.js
78
+ - playwright.config.ts
79
+ - Dockerfile
80
+ - vercel.json
81
+
82
+ Summary:
83
+ Full-stack project with Python backend (FastAPI) and
84
+ React/Next.js frontend, comprehensive testing setup,
85
+ and multiple deployment targets.
86
+ ```
87
+
88
+ ## What Gets Detected
89
+
90
+ ### Language Detection
91
+ - **Python**: Looks for .py files, requirements.txt, pyproject.toml, setup.py
92
+ - **JavaScript/TypeScript**: Looks for .js/.ts files, package.json, tsconfig.json
93
+ - **Rust**: Looks for Cargo.toml, .rs files
94
+ - **Go**: Looks for go.mod, .go files
95
+ - **Java**: Looks for pom.xml, build.gradle, .java files
96
+
97
+ ### Framework Detection
98
+ **Python:**
99
+ - FastAPI (imports, decorator patterns)
100
+ - Flask (imports, app patterns)
101
+ - Django (settings.py, manage.py)
102
+
103
+ **JavaScript/TypeScript:**
104
+ - Next.js (next.config.js, pages/ or app/ directory)
105
+ - React (package.json dependencies, JSX usage)
106
+ - Vue (vue.config.js, .vue files)
107
+ - Express (imports, app patterns)
108
+ - Nest.js (nest-cli.json, decorators)
109
+
110
+ ### Testing Detection
111
+ - pytest (pytest.ini, conftest.py)
112
+ - unittest (test_*.py patterns)
113
+ - Jest (jest.config.js)
114
+ - Vitest (vitest.config.js)
115
+ - Playwright (playwright.config.ts)
116
+ - Cypress (cypress.json)
117
+
118
+ ### Build Tool Detection
119
+ - Vite (vite.config.js/ts)
120
+ - Webpack (webpack.config.js)
121
+ - Rollup (rollup.config.js)
122
+ - esbuild (esbuild configuration)
123
+ - Turbopack (next.config.js with turbopack)
124
+
125
+ ### Deployment Detection
126
+ - Docker (Dockerfile, docker-compose.yml)
127
+ - Vercel (vercel.json, .vercel directory)
128
+ - Railway (railway.json, railway.toml)
129
+ - PM2 (ecosystem.config.js)
130
+ - Kubernetes (k8s/, kubernetes/ directories)
131
+
132
+ ## Use Cases
133
+
134
+ 1. **Before Auto-Configuration**: Run this to see what will be detected
135
+ 2. **Troubleshooting**: Verify that your project setup is being recognized correctly
136
+ 3. **Documentation**: Generate a summary of your project's tech stack
137
+ 4. **Planning**: Understand what agents might be recommended
138
+
139
+ ## Tips
140
+
141
+ 1. **Run from project root**: Detection works best from your project's root directory
142
+ 2. **Check detection accuracy**: Verify detected versions match your actual setup
143
+ 3. **Missing detections**: If something isn't detected, you can still deploy agents manually
144
+ 4. **Configuration files**: Detection relies on standard configuration files being present
145
+
146
+ ## Common Issues
147
+
148
+ **Nothing detected?**
149
+ - Make sure you're in the project root directory
150
+ - Check that you have standard configuration files (package.json, requirements.txt, etc.)
151
+ - Some projects may need manual agent deployment
152
+
153
+ **Wrong versions detected?**
154
+ - Detection shows what's configured in manifest files
155
+ - Actual runtime versions may differ
156
+ - This doesn't affect agent functionality
157
+
158
+ **Framework not detected?**
159
+ - Some frameworks are harder to detect automatically
160
+ - You can still use auto-configure and manually select agents
161
+ - Or deploy specific agents manually with `/mpm-agents deploy <name>`
162
+
163
+ ## Related Commands
164
+
165
+ - `/mpm-agents-recommend` - See agent recommendations based on detection
166
+ - `/mpm-auto-configure` - Automatically configure agents based on detection
167
+ - `/mpm-agents` - Manually manage agents
168
+ - `/mpm-help auto-configure` - Learn about auto-configuration
@@ -0,0 +1,214 @@
1
+ # Show recommended agents for detected project stack
2
+
3
+ Get intelligent agent recommendations based on your project's detected toolchain.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ /mpm-agents-recommend
9
+ ```
10
+
11
+ ## Description
12
+
13
+ This command analyzes your detected project stack and recommends the most appropriate agents, organized by priority:
14
+ - **Essential agents**: Core agents required for your primary stack
15
+ - **Recommended agents**: Complementary agents for full functionality
16
+ - **Optional agents**: Specialized agents for detected tools
17
+
18
+ Each recommendation includes an explanation of why that agent is suggested.
19
+
20
+ ## Implementation
21
+
22
+ When you run `/mpm-agents-recommend`, the PM will execute:
23
+ ```bash
24
+ claude-mpm agents recommend
25
+ ```
26
+
27
+ This runs the detection phase and then applies recommendation rules to suggest the best agents for your specific technology stack.
28
+
29
+ ## Expected Output
30
+
31
+ ```
32
+ 🤖 Agent Recommendations
33
+ =========================
34
+
35
+ Based on detected stack:
36
+ Python 3.11, FastAPI 0.104.0, pytest, Docker, Vercel
37
+
38
+ Essential Agents (Must Have):
39
+ ✓ fastapi-engineer
40
+ Reason: FastAPI framework detected - specialized agent for FastAPI development
41
+ Capabilities: FastAPI routes, Pydantic models, async endpoints, dependency injection
42
+
43
+ ✓ python-engineer
44
+ Reason: Python project - general Python development support
45
+ Capabilities: Python code, testing, debugging, package management
46
+
47
+ ✓ api-qa
48
+ Reason: API testing for FastAPI backend
49
+ Capabilities: API endpoint testing, validation, load testing, contract testing
50
+
51
+ Recommended Agents (Strongly Suggested):
52
+ ○ docker-ops
53
+ Reason: Docker configuration detected
54
+ Capabilities: Docker builds, container management, docker-compose orchestration
55
+
56
+ ○ vercel-ops
57
+ Reason: Vercel deployment configuration found
58
+ Capabilities: Vercel deployments, serverless functions, domain management
59
+
60
+ ○ playwright-qa
61
+ Reason: Comprehensive E2E testing capability
62
+ Capabilities: Browser automation, visual testing, API testing
63
+
64
+ Optional Agents (Nice to Have):
65
+ ○ local-ops-agent
66
+ Reason: Local development and PM2 process management
67
+ Capabilities: Local server management, port handling, PM2 operations
68
+
69
+ ○ security-agent
70
+ Reason: Security scanning and best practices
71
+ Capabilities: Dependency scanning, code security, auth patterns
72
+
73
+ Summary:
74
+ Recommended: 3 essential + 2 recommended = 5 agents
75
+ Optional: 2 additional agents for enhanced capabilities
76
+
77
+ Total recommended deployment: 5 agents
78
+ Maximum useful deployment: 7 agents
79
+
80
+ Next Steps:
81
+ 1. Review recommendations above
82
+ 2. Run '/mpm-auto-configure --preview' to see deployment plan
83
+ 3. Run '/mpm-auto-configure' to deploy recommended agents
84
+ 4. Or deploy individually: '/mpm-agents deploy <agent-name>'
85
+ ```
86
+
87
+ ## Recommendation Logic
88
+
89
+ ### Python Projects
90
+
91
+ **If FastAPI detected:**
92
+ - Essential: fastapi-engineer, python-engineer, api-qa
93
+ - Recommended: docker-ops (if Docker), vercel-ops (if Vercel)
94
+
95
+ **If Flask detected:**
96
+ - Essential: flask-engineer, python-engineer, api-qa
97
+ - Recommended: docker-ops (if Docker)
98
+
99
+ **If Django detected:**
100
+ - Essential: django-engineer, python-engineer, api-qa
101
+ - Recommended: docker-ops (if Docker)
102
+
103
+ **If pytest detected:**
104
+ - Add to recommended: api-qa, playwright-qa
105
+
106
+ ### JavaScript/TypeScript Projects
107
+
108
+ **If Next.js detected:**
109
+ - Essential: nextjs-engineer, react-engineer, web-qa
110
+ - Recommended: playwright-qa, vercel-ops (if Vercel)
111
+
112
+ **If React detected (without Next.js):**
113
+ - Essential: react-engineer, web-qa
114
+ - Recommended: playwright-qa
115
+
116
+ **If Vue detected:**
117
+ - Essential: vue-engineer, web-qa
118
+ - Recommended: playwright-qa
119
+
120
+ **If Express detected:**
121
+ - Essential: node-engineer, api-qa
122
+ - Recommended: docker-ops (if Docker)
123
+
124
+ **If Nest.js detected:**
125
+ - Essential: nestjs-engineer, node-engineer, api-qa
126
+ - Recommended: docker-ops (if Docker)
127
+
128
+ ### Full-Stack Projects
129
+
130
+ **Python backend + React frontend:**
131
+ - Essential: fastapi-engineer (or flask-engineer), python-engineer, react-engineer, api-qa, web-qa
132
+ - Recommended: playwright-qa, docker-ops, local-ops-agent
133
+
134
+ **Node.js backend + React frontend:**
135
+ - Essential: node-engineer, react-engineer, api-qa, web-qa
136
+ - Recommended: playwright-qa, docker-ops
137
+
138
+ ### Testing-Focused Projects
139
+
140
+ **If Playwright detected:**
141
+ - Add to recommended: playwright-qa
142
+
143
+ **If Jest/Vitest detected:**
144
+ - Ensure web-qa or api-qa in recommended
145
+
146
+ ### Deployment-Focused Projects
147
+
148
+ **If Vercel detected:**
149
+ - Add to recommended: vercel-ops
150
+
151
+ **If Railway detected:**
152
+ - Add to recommended: railway-ops
153
+
154
+ **If Docker detected:**
155
+ - Add to recommended: docker-ops
156
+
157
+ **If PM2 detected:**
158
+ - Add to recommended: local-ops-agent
159
+
160
+ ## Agent Descriptions
161
+
162
+ ### Backend Specialists
163
+ - **fastapi-engineer**: FastAPI expert - routes, Pydantic, async, websockets
164
+ - **flask-engineer**: Flask expert - blueprints, extensions, templates
165
+ - **django-engineer**: Django expert - models, views, ORM, admin
166
+ - **node-engineer**: Node.js expert - Express, async, streams
167
+ - **nestjs-engineer**: NestJS expert - modules, decorators, DI
168
+
169
+ ### Frontend Specialists
170
+ - **nextjs-engineer**: Next.js expert - app router, server components, SSR
171
+ - **react-engineer**: React expert - hooks, state, components
172
+ - **vue-engineer**: Vue expert - composition API, components
173
+
174
+ ### QA Specialists
175
+ - **api-qa**: API testing expert - REST, GraphQL, validation
176
+ - **web-qa**: Web testing expert - fetch, integration, E2E
177
+ - **playwright-qa**: Browser automation expert - UI testing, visual regression
178
+
179
+ ### Ops Specialists
180
+ - **docker-ops**: Docker expert - builds, compose, containers
181
+ - **vercel-ops**: Vercel deployment expert - serverless, edge
182
+ - **railway-ops**: Railway deployment expert
183
+ - **local-ops-agent**: Local development expert - PM2, ports, processes
184
+
185
+ ## Use Cases
186
+
187
+ 1. **Planning**: Understand what agents you should deploy before starting work
188
+ 2. **Validation**: Verify that auto-configuration will suggest the right agents
189
+ 3. **Learning**: Discover what capabilities are available for your stack
190
+ 4. **Optimization**: Find additional agents that could enhance your workflow
191
+
192
+ ## Tips
193
+
194
+ 1. **Start here**: Run this before `/mpm-auto-configure` to preview recommendations
195
+ 2. **Essential vs Optional**: Focus on essential agents first, add others as needed
196
+ 3. **Stack-specific**: Recommendations are tailored to YOUR detected stack
197
+ 4. **Flexible**: You can always deploy additional agents later or skip some
198
+ 5. **Explanations**: Pay attention to the "Reason" for each recommendation
199
+
200
+ ## Customizing Recommendations
201
+
202
+ After seeing recommendations, you can:
203
+ 1. **Accept all**: Run `/mpm-auto-configure` to deploy all recommended agents
204
+ 2. **Pick and choose**: Deploy specific agents with `/mpm-agents deploy <name>`
205
+ 3. **Skip optional**: Deploy only essential and recommended agents
206
+ 4. **Add more**: Deploy additional agents not in recommendations
207
+
208
+ ## Related Commands
209
+
210
+ - `/mpm-agents-detect` - See what was detected in your project
211
+ - `/mpm-auto-configure` - Automatically deploy recommended agents
212
+ - `/mpm-agents deploy <name>` - Deploy specific agents manually
213
+ - `/mpm-agents` - View all available and deployed agents
214
+ - `/mpm-help agents` - Learn more about agent management
@@ -45,4 +45,78 @@ This will display all deployed agents that are currently available for use.
45
45
  Alternatively, you can use these variations:
46
46
  - `claude-mpm agents list --system` - Show system agents
47
47
  - `claude-mpm agents list --by-tier` - Group agents by precedence tier
48
- - `claude-mpm agents list --all` - Show all agents including undeployed
48
+ - `claude-mpm agents list --all` - Show all agents including undeployed
49
+
50
+ ## Auto-Configuration Subcommands (NEW!)
51
+
52
+ ### Quick Agent Setup
53
+
54
+ Claude MPM now includes intelligent auto-configuration that detects your project and recommends the right agents:
55
+
56
+ #### `agents detect`
57
+ Scan your project to detect toolchain and frameworks:
58
+ ```bash
59
+ claude-mpm agents detect
60
+ ```
61
+
62
+ Shows detected:
63
+ - Programming languages (Python, Node.js, Rust, Go, etc.)
64
+ - Frameworks (FastAPI, Next.js, React, Express, etc.)
65
+ - Testing tools (pytest, Jest, Playwright, etc.)
66
+ - Build tools and package managers
67
+ - Deployment configurations
68
+
69
+ #### `agents recommend`
70
+ Get agent recommendations based on detected toolchain:
71
+ ```bash
72
+ claude-mpm agents recommend
73
+ ```
74
+
75
+ Shows:
76
+ - Essential agents for your stack
77
+ - Recommended complementary agents
78
+ - Optional specialized agents
79
+ - Rationale for each recommendation
80
+
81
+ #### `auto-configure`
82
+ Automatically detect, recommend, and deploy agents:
83
+ ```bash
84
+ claude-mpm auto-configure --preview # See what would be configured
85
+ claude-mpm auto-configure # Interactive configuration
86
+ claude-mpm auto-configure --yes # Auto-apply without prompts
87
+ ```
88
+
89
+ **Example workflow:**
90
+ 1. Run `claude-mpm agents detect` to see what's detected
91
+ 2. Run `claude-mpm agents recommend` to see suggestions
92
+ 3. Run `claude-mpm auto-configure` to apply configuration
93
+ 4. Or skip straight to `claude-mpm auto-configure --yes`
94
+
95
+ ### Supported Stacks
96
+
97
+ **Python:**
98
+ - FastAPI, Flask, Django → fastapi-engineer, python-engineer
99
+ - pytest, unittest → api-qa, python-qa
100
+
101
+ **JavaScript/TypeScript:**
102
+ - Next.js → nextjs-engineer, react-engineer
103
+ - React, Vue, Svelte → react-engineer, web-qa
104
+ - Express, Nest.js → node-engineer, api-qa
105
+ - Jest, Vitest, Playwright → playwright-qa, web-qa
106
+
107
+ **Full-Stack Projects:**
108
+ Automatically recommends both frontend and backend agents based on your complete stack.
109
+
110
+ **Deployment:**
111
+ - Vercel → vercel-ops
112
+ - Railway → railway-ops
113
+ - Docker → docker-ops
114
+ - PM2 → local-ops-agent
115
+
116
+ ## Related Commands
117
+
118
+ For more information on auto-configuration:
119
+ - `/mpm-help auto-configure` - Detailed auto-configuration help
120
+ - `/mpm-agents-detect` - Run detection via slash command
121
+ - `/mpm-agents-recommend` - Show recommendations via slash command
122
+ - `/mpm-auto-configure` - Run auto-configuration via slash command
@@ -0,0 +1,217 @@
1
+ # Automatically configure agents based on project detection
2
+
3
+ Automatically detect your project's toolchain and configure the most appropriate agents.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ /mpm-auto-configure [options]
9
+ ```
10
+
11
+ ## Description
12
+
13
+ This command provides intelligent auto-configuration that:
14
+ 1. Scans your project to detect programming languages, frameworks, and tools
15
+ 2. Recommends the most appropriate agents for your stack
16
+ 3. Optionally deploys the recommended agents with confirmation
17
+
18
+ This is the fastest way to get started with Claude MPM in any project!
19
+
20
+ ## Options
21
+
22
+ - `--preview` - Show what would be configured without making any changes
23
+ - `--yes` - Automatically apply recommendations without prompting
24
+ - `--force` - Force reconfiguration even if agents are already deployed
25
+
26
+ ## Implementation
27
+
28
+ When you run `/mpm-auto-configure`, the PM will:
29
+
30
+ 1. **Detect Your Stack**:
31
+ - Scan for package.json, requirements.txt, Cargo.toml, go.mod, etc.
32
+ - Identify frameworks (FastAPI, Next.js, React, Express, etc.)
33
+ - Detect testing tools (pytest, Jest, Playwright, etc.)
34
+ - Find build tools and deployment configurations
35
+
36
+ 2. **Recommend Agents**:
37
+ - **Essential agents**: Required for your primary stack
38
+ - **Recommended agents**: Complementary agents for full functionality
39
+ - **Optional agents**: Specialized agents for detected tools
40
+
41
+ 3. **Deploy Agents** (with confirmation):
42
+ - Show what will be deployed
43
+ - Request confirmation (unless --yes is used)
44
+ - Deploy agents to your project
45
+ - Verify deployment success
46
+
47
+ ## Examples
48
+
49
+ ### Preview Mode (Recommended First Step)
50
+ ```
51
+ /mpm-auto-configure --preview
52
+ ```
53
+ Shows what would be configured without making changes. Great for understanding recommendations before applying.
54
+
55
+ ### Interactive Configuration
56
+ ```
57
+ /mpm-auto-configure
58
+ ```
59
+ Detect, recommend, and prompt for confirmation before deploying.
60
+
61
+ ### Automatic Configuration
62
+ ```
63
+ /mpm-auto-configure --yes
64
+ ```
65
+ Automatically apply all recommendations without prompting. Best for quick setup.
66
+
67
+ ### Force Reconfiguration
68
+ ```
69
+ /mpm-auto-configure --force
70
+ ```
71
+ Reconfigure agents even if some are already deployed. Useful for stack changes.
72
+
73
+ ## Expected Output
74
+
75
+ ```
76
+ 🤖 Auto-Configuration for Claude MPM
77
+ =====================================
78
+
79
+ Step 1: Detecting Project Stack
80
+ --------------------------------
81
+ ✓ Detected Python 3.11
82
+ ✓ Detected FastAPI 0.104.0
83
+ ✓ Detected pytest 7.4.0
84
+ ✓ Detected Docker configuration
85
+ ✓ Detected Vercel deployment
86
+
87
+ Step 2: Agent Recommendations
88
+ ------------------------------
89
+ Essential Agents (3):
90
+ ✓ fastapi-engineer - FastAPI framework detected
91
+ ✓ python-engineer - Python project support
92
+ ✓ api-qa - API testing and validation
93
+
94
+ Recommended Agents (2):
95
+ ○ docker-ops - Docker configuration found
96
+ ○ vercel-ops - Vercel deployment detected
97
+
98
+ Optional Agents (1):
99
+ ○ playwright-qa - Browser testing capability
100
+
101
+ Step 3: Deploy Agents
102
+ ---------------------
103
+ Deploy 5 agents? (y/n): y
104
+
105
+ Deploying agents...
106
+ ✓ fastapi-engineer deployed
107
+ ✓ python-engineer deployed
108
+ ✓ api-qa deployed
109
+ ✓ docker-ops deployed
110
+ ✓ vercel-ops deployed
111
+
112
+ 🎉 Auto-configuration complete!
113
+ 5 agents deployed successfully.
114
+
115
+ Next steps:
116
+ - Run /mpm-agents to see your deployed agents
117
+ - Start working with specialized agents for your stack
118
+ - Use /mpm-help for more information
119
+ ```
120
+
121
+ ## What Gets Detected
122
+
123
+ ### Languages
124
+ - Python (CPython, PyPy)
125
+ - JavaScript/TypeScript (Node.js, Deno, Bun)
126
+ - Rust
127
+ - Go
128
+ - Java
129
+
130
+ ### Python Frameworks
131
+ - FastAPI
132
+ - Flask
133
+ - Django
134
+ - Starlette
135
+ - Pyramid
136
+
137
+ ### JavaScript/TypeScript Frameworks
138
+ - Next.js
139
+ - React
140
+ - Vue
141
+ - Svelte
142
+ - Angular
143
+ - Express
144
+ - Nest.js
145
+ - Fastify
146
+
147
+ ### Testing Tools
148
+ - pytest (Python)
149
+ - unittest (Python)
150
+ - Jest (JavaScript)
151
+ - Vitest (JavaScript)
152
+ - Playwright (Browser)
153
+ - Cypress (Browser)
154
+
155
+ ### Build Tools
156
+ - Vite
157
+ - Webpack
158
+ - Rollup
159
+ - esbuild
160
+ - Turbopack
161
+
162
+ ### Deployment Platforms
163
+ - Vercel
164
+ - Railway
165
+ - Docker
166
+ - PM2
167
+ - Kubernetes
168
+
169
+ ## Agent Mapping Examples
170
+
171
+ ### Python + FastAPI
172
+ **Essential:**
173
+ - fastapi-engineer
174
+ - python-engineer
175
+ - api-qa
176
+
177
+ **Recommended:**
178
+ - docker-ops (if Docker detected)
179
+ - vercel-ops (if Vercel detected)
180
+
181
+ ### Next.js + React
182
+ **Essential:**
183
+ - nextjs-engineer
184
+ - react-engineer
185
+ - web-qa
186
+
187
+ **Recommended:**
188
+ - playwright-qa (if Playwright detected)
189
+ - vercel-ops (if Vercel detected)
190
+
191
+ ### Full-Stack (FastAPI + React)
192
+ **Essential:**
193
+ - fastapi-engineer
194
+ - python-engineer
195
+ - react-engineer
196
+ - api-qa
197
+ - web-qa
198
+
199
+ **Recommended:**
200
+ - playwright-qa
201
+ - docker-ops
202
+ - local-ops-agent
203
+
204
+ ## Tips
205
+
206
+ 1. **Start with preview**: Always run with `--preview` first to see recommendations
207
+ 2. **Review carefully**: Check that detected stack matches your project
208
+ 3. **Customize later**: You can always deploy/remove agents manually after auto-config
209
+ 4. **Re-run after changes**: Run again with `--force` if you add new frameworks
210
+ 5. **Complementary commands**: Use `/mpm-agents-detect` and `/mpm-agents-recommend` for more details
211
+
212
+ ## Related Commands
213
+
214
+ - `/mpm-agents-detect` - Just show detected toolchain
215
+ - `/mpm-agents-recommend` - Show recommendations without deploying
216
+ - `/mpm-agents` - Manage agents manually
217
+ - `/mpm-help agents` - Learn about manual agent management
@@ -66,6 +66,15 @@ Available Commands:
66
66
  /mpm-agents [list|deploy|remove] [name]
67
67
  Manage agent deployment
68
68
 
69
+ /mpm-auto-configure [--preview] [--yes]
70
+ 🤖 NEW! Automatically configure agents based on your project
71
+
72
+ /mpm-agents-detect
73
+ 🤖 NEW! Detect project toolchain and frameworks
74
+
75
+ /mpm-agents-recommend
76
+ 🤖 NEW! Show recommended agents for your project
77
+
69
78
  /mpm-config [validate|view|status]
70
79
  Manage configuration settings
71
80
 
@@ -118,6 +127,157 @@ Related Commands:
118
127
  /mpm-config Manage configuration
119
128
  ```
120
129
 
130
+ ## Auto-Configuration Commands (NEW!)
131
+
132
+ ### /mpm-auto-configure - Automatic Agent Configuration
133
+
134
+ **Description:**
135
+ Automatically detects your project's toolchain and frameworks, then recommends and optionally deploys the most appropriate agents for your stack.
136
+
137
+ **Usage:**
138
+ ```
139
+ /mpm-auto-configure [options]
140
+ ```
141
+
142
+ **Options:**
143
+ - `--preview` - Show what would be configured without making changes
144
+ - `--yes` - Skip confirmation prompts and apply automatically
145
+ - `--force` - Force reconfiguration even if agents already deployed
146
+
147
+ **Examples:**
148
+ ```
149
+ /mpm-auto-configure --preview # Preview recommendations
150
+ /mpm-auto-configure # Interactive configuration
151
+ /mpm-auto-configure --yes # Auto-apply recommendations
152
+ ```
153
+
154
+ **What it detects:**
155
+ - Programming languages (Python, Node.js, Rust, Go, Java)
156
+ - Frameworks (FastAPI, Flask, Next.js, React, Vue, Express)
157
+ - Testing tools (pytest, Jest, Vitest, Playwright)
158
+ - Build tools (Vite, Webpack, Rollup)
159
+ - Package managers (npm, yarn, pnpm, pip, poetry)
160
+ - Deployment platforms (Vercel, Railway, Docker)
161
+
162
+ **Recommended agents by stack:**
163
+ - **Python + FastAPI**: fastapi-engineer, python-engineer, api-qa
164
+ - **Next.js**: nextjs-engineer, react-engineer, web-qa
165
+ - **React**: react-engineer, web-qa
166
+ - **Full-stack**: Combination of backend + frontend agents
167
+ - **Testing**: playwright-qa, api-qa based on detected test tools
168
+
169
+ ### /mpm-agents-detect - Toolchain Detection
170
+
171
+ **Description:**
172
+ Scans your project to detect programming languages, frameworks, tools, and configuration files.
173
+
174
+ **Usage:**
175
+ ```
176
+ /mpm-agents-detect
177
+ ```
178
+
179
+ **Output:**
180
+ - Detected languages and versions
181
+ - Frameworks and their configurations
182
+ - Testing tools and test frameworks
183
+ - Build tools and bundlers
184
+ - Package managers
185
+ - Deployment configurations
186
+
187
+ **Example:**
188
+ ```
189
+ /mpm-agents-detect
190
+
191
+ Detected Project Stack:
192
+ ======================
193
+ Languages: Python 3.11, Node.js 20.x
194
+ Frameworks: FastAPI 0.104.0, React 18.2.0
195
+ Testing: pytest, Playwright
196
+ Build: Vite 5.0.0
197
+ Package Manager: poetry, npm
198
+ Deployment: Docker, Vercel
199
+ ```
200
+
201
+ ### /mpm-agents-recommend - Agent Recommendations
202
+
203
+ **Description:**
204
+ Based on detected toolchain, shows which agents are recommended for your project with explanations.
205
+
206
+ **Usage:**
207
+ ```
208
+ /mpm-agents-recommend
209
+ ```
210
+
211
+ **Output:**
212
+ - Recommended agents with rationale
213
+ - Agent capabilities and when to use them
214
+ - Suggested deployment order
215
+ - Complementary agent combinations
216
+
217
+ **Example:**
218
+ ```
219
+ /mpm-agents-recommend
220
+
221
+ Recommended Agents for Your Project:
222
+ ===================================
223
+
224
+ Essential Agents:
225
+ ✓ fastapi-engineer - Detected FastAPI framework
226
+ ✓ python-engineer - Python 3.11 project
227
+ ✓ api-qa - API testing and validation
228
+
229
+ Recommended Agents:
230
+ ○ react-engineer - React frontend detected
231
+ ○ web-qa - Web UI testing
232
+ ○ playwright-qa - Playwright tests found
233
+
234
+ Optional Agents:
235
+ ○ docker-ops - Docker configuration found
236
+ ○ vercel-ops - Vercel deployment detected
237
+ ```
238
+
239
+ ## Quick Start with Auto-Configuration
240
+
241
+ For new projects or first-time setup:
242
+
243
+ 1. **Preview what would be configured:**
244
+ ```
245
+ /mpm-auto-configure --preview
246
+ ```
247
+
248
+ 2. **Review recommendations:**
249
+ ```
250
+ /mpm-agents-recommend
251
+ ```
252
+
253
+ 3. **Apply configuration:**
254
+ ```
255
+ /mpm-auto-configure
256
+ ```
257
+
258
+ Or skip straight to auto-apply:
259
+ ```
260
+ /mpm-auto-configure --yes
261
+ ```
262
+
263
+ ## Supported Technology Stacks
264
+
265
+ **Python:**
266
+ - FastAPI, Flask, Django, Starlette
267
+ - pytest, unittest
268
+ - uvicorn, gunicorn
269
+
270
+ **JavaScript/TypeScript:**
271
+ - Next.js, React, Vue, Svelte
272
+ - Express, Nest.js, Fastify
273
+ - Jest, Vitest, Playwright
274
+ - Vite, Webpack, Rollup
275
+
276
+ **Other:**
277
+ - Rust (Cargo, Actix, Rocket)
278
+ - Go (modules, Gin, Echo)
279
+ - Java (Maven, Gradle, Spring Boot)
280
+
121
281
  ## Related Commands
122
282
 
123
283
  - All other `/mpm-*` commands - Access help for any command
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: claude-mpm
3
- Version: 4.13.1
3
+ Version: 4.13.2
4
4
  Summary: Claude Multi-Agent Project Manager - Orchestrate Claude with agent delegation and ticket tracking
5
5
  Author-email: Bob Matsuoka <bob@matsuoka.com>
6
6
  Maintainer: Claude MPM Team
@@ -1,5 +1,5 @@
1
1
  claude_mpm/BUILD_NUMBER,sha256=9JfxhnDtr-8l3kCP2U5TVXSErptHoga8m7XA8zqgGOc,4
2
- claude_mpm/VERSION,sha256=ZWQ9MwsvC5m_OIFP2c-tkiExnFw2ALxqze5YMYSS5AA,7
2
+ claude_mpm/VERSION,sha256=-9bAsjQWLJ_lPOMqq3ZKSFJfFptZVTO0Fx5-5NU0TcA,7
3
3
  claude_mpm/__init__.py,sha256=UCw6j9e_tZQ3kJtTqmdfNv7MHyw9nD1jkj80WurwM2g,2064
4
4
  claude_mpm/__main__.py,sha256=Ro5UBWBoQaSAIoSqWAr7zkbLyvi4sSy28WShqAhKJG0,723
5
5
  claude_mpm/constants.py,sha256=sLjJF6Kw7H4V9WWeaEYltM-77TgXqzEMX5vx4ukM5-0,5977
@@ -16,7 +16,7 @@ claude_mpm/agents/BASE_RESEARCH.md,sha256=2DZhDd5XxWWtsyNTBIwvtNWBu1JpFy5R5SAZDH
16
16
  claude_mpm/agents/INSTRUCTIONS_OLD_DEPRECATED.md,sha256=zQZhrhVq9NLCtSjVX-aC0xcgueemSuPhKyv0SjEOyIQ,25852
17
17
  claude_mpm/agents/MEMORY.md,sha256=KbRwY_RYdOvTvFC2DD-ATfwjHkQWJ5PIjlGws_7RmjI,3307
18
18
  claude_mpm/agents/OUTPUT_STYLE.md,sha256=IYbo4jmICihrfnChbdrRpwVk4VobCcNyYqZqd53VXMk,533
19
- claude_mpm/agents/PM_INSTRUCTIONS.md,sha256=8o2i6D-QZDbPIvZxb7EzvFBvPsYklYQsoJ9cFzn8VaY,27638
19
+ claude_mpm/agents/PM_INSTRUCTIONS.md,sha256=sL-SJVMidqhQudyLW6ANKgwNmCdYtWyeUtuU4i34cBg,30363
20
20
  claude_mpm/agents/WORKFLOW.md,sha256=vJ9iXCVqAaeM_yVlXxbcP3bsL210-1BI3ZAanvWv4hI,9085
21
21
  claude_mpm/agents/__init__.py,sha256=jRFxvV_DIZ-NdENa-703Xu3YpwvlQj6yv-mQ6FgmldM,3220
22
22
  claude_mpm/agents/agent-template.yaml,sha256=mRlz5Yd0SmknTeoJWgFkZXzEF5T7OmGBJGs2-KPT93k,1969
@@ -149,10 +149,13 @@ claude_mpm/cli_module/args.py,sha256=50_Y3AgMNeidtPjQ5-WZ1o-5Y7G2GAGQwMmllYjVScE
149
149
  claude_mpm/cli_module/commands.py,sha256=zZmjP4J19i9PNMA7gCI5Dl--R1u_H4sCt5ZtOadZkY4,7013
150
150
  claude_mpm/cli_module/migration_example.py,sha256=DtQ59RyoBD6r8FIfrjKXCQ8-xnUiOqP5McBiS6_W1Qc,5183
151
151
  claude_mpm/commands/__init__.py,sha256=paX5Ub5-UmRgiQ8UgKWIKwU2-RjLu67OmNJND-fVtjg,588
152
- claude_mpm/commands/mpm-agents.md,sha256=JnYPJ-eWvIEEtiCB6iPu182P2xDBRvU3ArVXQ7h32kU,1341
152
+ claude_mpm/commands/mpm-agents-detect.md,sha256=CL3arw_hMNHWT7SuD59lfBZ0TGMNdokMw12VDcG3AnI,4862
153
+ claude_mpm/commands/mpm-agents-recommend.md,sha256=2TJYFzJLTdULVJ19RK2w802fqSEgYI1BkAaOUgE_l7I,7121
154
+ claude_mpm/commands/mpm-agents.md,sha256=Mq1BOVP6ejRLYZCHE-K1fZ2HaiND_BaYEfc9SO5XCxQ,3586
155
+ claude_mpm/commands/mpm-auto-configure.md,sha256=vJtXiaEiujmozhKhqU8GsO95gHLs0QQAzkyYfqPkgzQ,5130
153
156
  claude_mpm/commands/mpm-config.md,sha256=79Eb-srRpEVV3HCHDHZc8SKec6_LVP6HbXDEVkZKLgw,2929
154
157
  claude_mpm/commands/mpm-doctor.md,sha256=ut5LhFKVRw-2ecjMSPsnaTiRuFXa6Q9t-Wgl3CCnQvk,590
155
- claude_mpm/commands/mpm-help.md,sha256=zfhpE0Fd-wW5zWmYYAMRMT-xYK8saqbw-HXRD7csJHI,2850
158
+ claude_mpm/commands/mpm-help.md,sha256=DGvnR5XLWJVygYCZis2Gh6RP1INj9DycO1FqAdwoegY,6751
156
159
  claude_mpm/commands/mpm-init.md,sha256=wwYHkToq8U5ALdhu8bDPygqAsKZ77aMaai7ZJC3oBqU,16054
157
160
  claude_mpm/commands/mpm-monitor.md,sha256=onTHf9Yac1KkdZdENtY2Q5jyw0A-vZLYgoKkPCtZLUY,12193
158
161
  claude_mpm/commands/mpm-organize.md,sha256=T-ysjhwgfW9irjUj02vuY_1jeMdabO_zxcShyjmqsiM,10153
@@ -819,9 +822,9 @@ claude_mpm/utils/subprocess_utils.py,sha256=D0izRT8anjiUb_JG72zlJR_JAw1cDkb7kalN
819
822
  claude_mpm/validation/__init__.py,sha256=YZhwE3mhit-lslvRLuwfX82xJ_k4haZeKmh4IWaVwtk,156
820
823
  claude_mpm/validation/agent_validator.py,sha256=GprtAvu80VyMXcKGsK_VhYiXWA6BjKHv7O6HKx0AB9w,20917
821
824
  claude_mpm/validation/frontmatter_validator.py,sha256=YpJlYNNYcV8u6hIOi3_jaRsDnzhbcQpjCBE6eyBKaFY,7076
822
- claude_mpm-4.13.1.dist-info/licenses/LICENSE,sha256=lpaivOlPuBZW1ds05uQLJJswy8Rp_HMNieJEbFlqvLk,1072
823
- claude_mpm-4.13.1.dist-info/METADATA,sha256=LFz8M6yorvkQwtrKKtstC5LnFpmt6DzShgeXqFjYzDc,17967
824
- claude_mpm-4.13.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
825
- claude_mpm-4.13.1.dist-info/entry_points.txt,sha256=Vlw3GNi-OtTpKSrez04iNrPmxNxYDpIWxmJCxiZ5Tx8,526
826
- claude_mpm-4.13.1.dist-info/top_level.txt,sha256=1nUg3FEaBySgm8t-s54jK5zoPnu3_eY6EP6IOlekyHA,11
827
- claude_mpm-4.13.1.dist-info/RECORD,,
825
+ claude_mpm-4.13.2.dist-info/licenses/LICENSE,sha256=lpaivOlPuBZW1ds05uQLJJswy8Rp_HMNieJEbFlqvLk,1072
826
+ claude_mpm-4.13.2.dist-info/METADATA,sha256=OLh7_XuogI3lwSVJHN0KoFQXrMJWw667nFCJMuC2WUc,17967
827
+ claude_mpm-4.13.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
828
+ claude_mpm-4.13.2.dist-info/entry_points.txt,sha256=Vlw3GNi-OtTpKSrez04iNrPmxNxYDpIWxmJCxiZ5Tx8,526
829
+ claude_mpm-4.13.2.dist-info/top_level.txt,sha256=1nUg3FEaBySgm8t-s54jK5zoPnu3_eY6EP6IOlekyHA,11
830
+ claude_mpm-4.13.2.dist-info/RECORD,,