claude-mpm 5.4.85__py3-none-any.whl → 5.6.1__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.
Files changed (254) hide show
  1. claude_mpm/VERSION +1 -1
  2. claude_mpm/agents/CLAUDE_MPM_OUTPUT_STYLE.md +8 -5
  3. claude_mpm/agents/{CLAUDE_MPM_FOUNDERS_OUTPUT_STYLE.md → CLAUDE_MPM_RESEARCH_OUTPUT_STYLE.md} +14 -6
  4. claude_mpm/agents/PM_INSTRUCTIONS.md +101 -703
  5. claude_mpm/agents/WORKFLOW.md +2 -0
  6. claude_mpm/agents/templates/circuit-breakers.md +26 -17
  7. claude_mpm/cli/commands/autotodos.py +566 -0
  8. claude_mpm/cli/commands/commander.py +46 -0
  9. claude_mpm/cli/commands/hook_errors.py +60 -60
  10. claude_mpm/cli/commands/monitor.py +2 -2
  11. claude_mpm/cli/commands/mpm_init/core.py +2 -2
  12. claude_mpm/cli/commands/run.py +35 -3
  13. claude_mpm/cli/executor.py +119 -16
  14. claude_mpm/cli/parsers/base_parser.py +71 -1
  15. claude_mpm/cli/parsers/commander_parser.py +83 -0
  16. claude_mpm/cli/parsers/run_parser.py +10 -0
  17. claude_mpm/cli/startup.py +54 -16
  18. claude_mpm/cli/startup_display.py +72 -5
  19. claude_mpm/cli/startup_logging.py +2 -2
  20. claude_mpm/cli/utils.py +7 -3
  21. claude_mpm/commander/__init__.py +72 -0
  22. claude_mpm/commander/adapters/__init__.py +31 -0
  23. claude_mpm/commander/adapters/base.py +191 -0
  24. claude_mpm/commander/adapters/claude_code.py +361 -0
  25. claude_mpm/commander/adapters/communication.py +366 -0
  26. claude_mpm/commander/api/__init__.py +16 -0
  27. claude_mpm/commander/api/app.py +105 -0
  28. claude_mpm/commander/api/errors.py +112 -0
  29. claude_mpm/commander/api/routes/__init__.py +8 -0
  30. claude_mpm/commander/api/routes/events.py +184 -0
  31. claude_mpm/commander/api/routes/inbox.py +171 -0
  32. claude_mpm/commander/api/routes/messages.py +148 -0
  33. claude_mpm/commander/api/routes/projects.py +271 -0
  34. claude_mpm/commander/api/routes/sessions.py +215 -0
  35. claude_mpm/commander/api/routes/work.py +260 -0
  36. claude_mpm/commander/api/schemas.py +182 -0
  37. claude_mpm/commander/chat/__init__.py +7 -0
  38. claude_mpm/commander/chat/cli.py +107 -0
  39. claude_mpm/commander/chat/commands.py +96 -0
  40. claude_mpm/commander/chat/repl.py +310 -0
  41. claude_mpm/commander/config.py +49 -0
  42. claude_mpm/commander/config_loader.py +115 -0
  43. claude_mpm/commander/daemon.py +398 -0
  44. claude_mpm/commander/events/__init__.py +26 -0
  45. claude_mpm/commander/events/manager.py +332 -0
  46. claude_mpm/commander/frameworks/__init__.py +12 -0
  47. claude_mpm/commander/frameworks/base.py +143 -0
  48. claude_mpm/commander/frameworks/claude_code.py +58 -0
  49. claude_mpm/commander/frameworks/mpm.py +62 -0
  50. claude_mpm/commander/inbox/__init__.py +16 -0
  51. claude_mpm/commander/inbox/dedup.py +128 -0
  52. claude_mpm/commander/inbox/inbox.py +224 -0
  53. claude_mpm/commander/inbox/models.py +70 -0
  54. claude_mpm/commander/instance_manager.py +337 -0
  55. claude_mpm/commander/llm/__init__.py +6 -0
  56. claude_mpm/commander/llm/openrouter_client.py +167 -0
  57. claude_mpm/commander/llm/summarizer.py +70 -0
  58. claude_mpm/commander/models/__init__.py +18 -0
  59. claude_mpm/commander/models/events.py +121 -0
  60. claude_mpm/commander/models/project.py +162 -0
  61. claude_mpm/commander/models/work.py +214 -0
  62. claude_mpm/commander/parsing/__init__.py +20 -0
  63. claude_mpm/commander/parsing/extractor.py +132 -0
  64. claude_mpm/commander/parsing/output_parser.py +270 -0
  65. claude_mpm/commander/parsing/patterns.py +100 -0
  66. claude_mpm/commander/persistence/__init__.py +11 -0
  67. claude_mpm/commander/persistence/event_store.py +274 -0
  68. claude_mpm/commander/persistence/state_store.py +309 -0
  69. claude_mpm/commander/persistence/work_store.py +164 -0
  70. claude_mpm/commander/polling/__init__.py +13 -0
  71. claude_mpm/commander/polling/event_detector.py +104 -0
  72. claude_mpm/commander/polling/output_buffer.py +49 -0
  73. claude_mpm/commander/polling/output_poller.py +153 -0
  74. claude_mpm/commander/project_session.py +268 -0
  75. claude_mpm/commander/proxy/__init__.py +12 -0
  76. claude_mpm/commander/proxy/formatter.py +89 -0
  77. claude_mpm/commander/proxy/output_handler.py +191 -0
  78. claude_mpm/commander/proxy/relay.py +155 -0
  79. claude_mpm/commander/registry.py +404 -0
  80. claude_mpm/commander/runtime/__init__.py +10 -0
  81. claude_mpm/commander/runtime/executor.py +191 -0
  82. claude_mpm/commander/runtime/monitor.py +316 -0
  83. claude_mpm/commander/session/__init__.py +6 -0
  84. claude_mpm/commander/session/context.py +81 -0
  85. claude_mpm/commander/session/manager.py +59 -0
  86. claude_mpm/commander/tmux_orchestrator.py +361 -0
  87. claude_mpm/commander/web/__init__.py +1 -0
  88. claude_mpm/commander/work/__init__.py +30 -0
  89. claude_mpm/commander/work/executor.py +189 -0
  90. claude_mpm/commander/work/queue.py +405 -0
  91. claude_mpm/commander/workflow/__init__.py +27 -0
  92. claude_mpm/commander/workflow/event_handler.py +219 -0
  93. claude_mpm/commander/workflow/notifier.py +146 -0
  94. claude_mpm/commands/mpm-config.md +8 -0
  95. claude_mpm/commands/mpm-doctor.md +8 -0
  96. claude_mpm/commands/mpm-help.md +8 -0
  97. claude_mpm/commands/mpm-init.md +8 -0
  98. claude_mpm/commands/mpm-monitor.md +8 -0
  99. claude_mpm/commands/mpm-organize.md +8 -0
  100. claude_mpm/commands/mpm-postmortem.md +8 -0
  101. claude_mpm/commands/mpm-session-resume.md +9 -1
  102. claude_mpm/commands/mpm-status.md +8 -0
  103. claude_mpm/commands/mpm-ticket-view.md +8 -0
  104. claude_mpm/commands/mpm-version.md +8 -0
  105. claude_mpm/commands/mpm.md +8 -0
  106. claude_mpm/config/agent_presets.py +8 -7
  107. claude_mpm/core/config.py +5 -0
  108. claude_mpm/core/hook_manager.py +51 -3
  109. claude_mpm/core/logger.py +10 -7
  110. claude_mpm/core/logging_utils.py +4 -2
  111. claude_mpm/core/output_style_manager.py +15 -5
  112. claude_mpm/core/unified_config.py +10 -6
  113. claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/0.C33zOoyM.css +1 -0
  114. claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/2.CW1J-YuA.css +1 -0
  115. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{Cs_tUR18.js → 1WZnGYqX.js} +1 -1
  116. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{CDuw-vjf.js → 67pF3qNn.js} +1 -1
  117. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{bTOqqlTd.js → 6RxdMKe4.js} +1 -1
  118. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DwBR2MJi.js → 8cZrfX0h.js} +1 -1
  119. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{ZGh7QtNv.js → 9a6T2nm-.js} +1 -1
  120. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{D9lljYKQ.js → B443AUzu.js} +1 -1
  121. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{RJiighC3.js → B8AwtY2H.js} +1 -1
  122. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{uuIeMWc-.js → BF15LAsF.js} +1 -1
  123. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{D3k0OPJN.js → BRcwIQNr.js} +1 -1
  124. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{CyWMqx4W.js → BV6nKitt.js} +1 -1
  125. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{CiIAseT4.js → BViJ8lZt.js} +5 -5
  126. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{CBBdVcY8.js → BcQ-Q0FE.js} +1 -1
  127. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{BovzEFCE.js → Bpyvgze_.js} +1 -1
  128. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BzTRqg-z.js +1 -0
  129. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/C0Fr8dve.js +1 -0
  130. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{eNVUfhuA.js → C3rbW_a-.js} +1 -1
  131. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{GYwsonyD.js → C8WYN38h.js} +1 -1
  132. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{BIF9m_hv.js → C9I8FlXH.js} +1 -1
  133. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{B0uc0UOD.js → CIQcWgO2.js} +3 -3
  134. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{Be7GpZd6.js → CIctN7YN.js} +1 -1
  135. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{Bh0LDWpI.js → CKrS_JZW.js} +2 -2
  136. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DUrLdbGD.js → CR6P9C4A.js} +1 -1
  137. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{B7xVLGWV.js → CRRR9MD_.js} +1 -1
  138. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CRcR2DqT.js +334 -0
  139. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{Dhb8PKl3.js → CSXtMOf0.js} +1 -1
  140. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{BPYeabCQ.js → CT-sbxSk.js} +1 -1
  141. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{sQeU3Y1z.js → CWm6DJsp.js} +1 -1
  142. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{CnA0NrzZ.js → CpqQ1Kzn.js} +1 -1
  143. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{C4B-KCzX.js → D2nGpDRe.js} +1 -1
  144. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DGkLK5U1.js → D9iCMida.js} +1 -1
  145. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{BofRWZRR.js → D9ykgMoY.js} +1 -1
  146. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DmxopI1J.js → DL2Ldur1.js} +1 -1
  147. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{C30mlcqg.js → DPfltzjH.js} +1 -1
  148. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{Vzk33B_K.js → DR8nis88.js} +2 -2
  149. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DI7hHRFL.js → DUliQN2b.js} +1 -1
  150. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{C4JcI4KD.js → DXlhR01x.js} +1 -1
  151. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{bT1r9zLR.js → D_lyTybS.js} +1 -1
  152. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DZX00Y4g.js → DngoTTgh.js} +1 -1
  153. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{CzZX-COe.js → DqkmHtDC.js} +1 -1
  154. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{B7RN905-.js → DsDh8EYs.js} +1 -1
  155. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DLVjFsZ3.js → DypDmXgd.js} +1 -1
  156. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{iEWssX7S.js → IPYC-LnN.js} +1 -1
  157. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/JTLiF7dt.js +24 -0
  158. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DaimHw_p.js → JpevfAFt.js} +1 -1
  159. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DY1XQ8fi.js → R8CEIRAd.js} +1 -1
  160. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{Dle-35c7.js → Zxy7qc-l.js} +2 -2
  161. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/q9Hm6zAU.js +1 -0
  162. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{C_Usid8X.js → qtd3IeO4.js} +2 -2
  163. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{CzeYkLYB.js → ulBFON_C.js} +2 -2
  164. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{Cfqx1Qun.js → wQVh1CoA.js} +1 -1
  165. claude_mpm/dashboard/static/svelte-build/_app/immutable/entry/{app.D6-I5TpK.js → app.Dr7t0z2J.js} +2 -2
  166. claude_mpm/dashboard/static/svelte-build/_app/immutable/entry/start.BGhZHUS3.js +1 -0
  167. claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/{0.m1gL8KXf.js → 0.RgBboRvH.js} +1 -1
  168. claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/{1.CgNOuw-d.js → 1.DG-KkbDf.js} +1 -1
  169. claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/2.D_jnf-x6.js +1 -0
  170. claude_mpm/dashboard/static/svelte-build/_app/version.json +1 -1
  171. claude_mpm/dashboard/static/svelte-build/index.html +9 -9
  172. claude_mpm/experimental/cli_enhancements.py +2 -1
  173. claude_mpm/hooks/claude_hooks/INTEGRATION_EXAMPLE.md +243 -0
  174. claude_mpm/hooks/claude_hooks/README_AUTO_PAUSE.md +403 -0
  175. claude_mpm/hooks/claude_hooks/auto_pause_handler.py +486 -0
  176. claude_mpm/hooks/claude_hooks/event_handlers.py +250 -11
  177. claude_mpm/hooks/claude_hooks/hook_handler.py +106 -89
  178. claude_mpm/hooks/claude_hooks/hook_wrapper.sh +6 -11
  179. claude_mpm/hooks/claude_hooks/installer.py +69 -5
  180. claude_mpm/hooks/claude_hooks/response_tracking.py +3 -1
  181. claude_mpm/hooks/claude_hooks/services/connection_manager.py +20 -0
  182. claude_mpm/hooks/claude_hooks/services/connection_manager_http.py +14 -77
  183. claude_mpm/hooks/claude_hooks/services/subagent_processor.py +30 -6
  184. claude_mpm/hooks/session_resume_hook.py +85 -1
  185. claude_mpm/init.py +1 -1
  186. claude_mpm/scripts/claude-hook-handler.sh +36 -10
  187. claude_mpm/services/agents/agent_recommendation_service.py +8 -8
  188. claude_mpm/services/agents/cache_git_manager.py +1 -1
  189. claude_mpm/services/agents/deployment/remote_agent_discovery_service.py +3 -0
  190. claude_mpm/services/agents/loading/framework_agent_loader.py +75 -2
  191. claude_mpm/services/cli/__init__.py +3 -0
  192. claude_mpm/services/cli/incremental_pause_manager.py +561 -0
  193. claude_mpm/services/cli/session_resume_helper.py +10 -2
  194. claude_mpm/services/delegation_detector.py +175 -0
  195. claude_mpm/services/diagnostics/checks/agent_sources_check.py +30 -0
  196. claude_mpm/services/diagnostics/checks/configuration_check.py +24 -0
  197. claude_mpm/services/diagnostics/checks/installation_check.py +22 -0
  198. claude_mpm/services/diagnostics/checks/mcp_services_check.py +23 -0
  199. claude_mpm/services/diagnostics/doctor_reporter.py +31 -1
  200. claude_mpm/services/diagnostics/models.py +14 -1
  201. claude_mpm/services/event_log.py +325 -0
  202. claude_mpm/services/infrastructure/__init__.py +4 -0
  203. claude_mpm/services/infrastructure/context_usage_tracker.py +291 -0
  204. claude_mpm/services/infrastructure/resume_log_generator.py +24 -5
  205. claude_mpm/services/monitor/daemon_manager.py +15 -4
  206. claude_mpm/services/monitor/management/lifecycle.py +8 -2
  207. claude_mpm/services/monitor/server.py +106 -16
  208. claude_mpm/services/pm_skills_deployer.py +259 -87
  209. claude_mpm/services/skills/git_skill_source_manager.py +51 -2
  210. claude_mpm/services/skills/selective_skill_deployer.py +114 -16
  211. claude_mpm/services/skills/skill_discovery_service.py +57 -3
  212. claude_mpm/services/socketio/handlers/hook.py +14 -7
  213. claude_mpm/services/socketio/server/main.py +12 -4
  214. claude_mpm/skills/bundled/pm/mpm/SKILL.md +38 -0
  215. claude_mpm/skills/bundled/pm/mpm-agent-update-workflow/SKILL.md +75 -0
  216. claude_mpm/skills/bundled/pm/mpm-circuit-breaker-enforcement/SKILL.md +476 -0
  217. claude_mpm/skills/bundled/pm/mpm-config/SKILL.md +29 -0
  218. claude_mpm/skills/bundled/pm/mpm-doctor/SKILL.md +53 -0
  219. claude_mpm/skills/bundled/pm/mpm-help/SKILL.md +35 -0
  220. claude_mpm/skills/bundled/pm/mpm-init/SKILL.md +125 -0
  221. claude_mpm/skills/bundled/pm/mpm-monitor/SKILL.md +32 -0
  222. claude_mpm/skills/bundled/pm/mpm-organize/SKILL.md +121 -0
  223. claude_mpm/skills/bundled/pm/mpm-postmortem/SKILL.md +22 -0
  224. claude_mpm/skills/bundled/pm/mpm-session-management/SKILL.md +312 -0
  225. claude_mpm/skills/bundled/pm/mpm-session-resume/SKILL.md +31 -0
  226. claude_mpm/skills/bundled/pm/mpm-status/SKILL.md +37 -0
  227. claude_mpm/skills/bundled/pm/{pm-teaching-mode → mpm-teaching-mode}/SKILL.md +2 -2
  228. claude_mpm/skills/bundled/pm/mpm-ticket-view/SKILL.md +110 -0
  229. claude_mpm/skills/bundled/pm/mpm-tool-usage-guide/SKILL.md +386 -0
  230. claude_mpm/skills/bundled/pm/mpm-version/SKILL.md +21 -0
  231. claude_mpm/skills/skill_manager.py +4 -4
  232. claude_mpm-5.6.1.dist-info/METADATA +391 -0
  233. {claude_mpm-5.4.85.dist-info → claude_mpm-5.6.1.dist-info}/RECORD +244 -145
  234. claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/0.DWzvg0-y.css +0 -1
  235. claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/2.ThTw9_ym.css +0 -1
  236. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/4TdZjIqw.js +0 -1
  237. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/5shd3_w0.js +0 -24
  238. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BKjSRqUr.js +0 -1
  239. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Da0KfYnO.js +0 -1
  240. claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Dfy6j1xT.js +0 -323
  241. claude_mpm/dashboard/static/svelte-build/_app/immutable/entry/start.NWzMBYRp.js +0 -1
  242. claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/2.C0GcWctS.js +0 -1
  243. claude_mpm-5.4.85.dist-info/METADATA +0 -1023
  244. /claude_mpm/skills/bundled/pm/{pm-bug-reporting/pm-bug-reporting.md → mpm-bug-reporting/SKILL.md} +0 -0
  245. /claude_mpm/skills/bundled/pm/{pm-delegation-patterns → mpm-delegation-patterns}/SKILL.md +0 -0
  246. /claude_mpm/skills/bundled/pm/{pm-git-file-tracking → mpm-git-file-tracking}/SKILL.md +0 -0
  247. /claude_mpm/skills/bundled/pm/{pm-pr-workflow → mpm-pr-workflow}/SKILL.md +0 -0
  248. /claude_mpm/skills/bundled/pm/{pm-ticketing-integration → mpm-ticketing-integration}/SKILL.md +0 -0
  249. /claude_mpm/skills/bundled/pm/{pm-verification-protocols → mpm-verification-protocols}/SKILL.md +0 -0
  250. {claude_mpm-5.4.85.dist-info → claude_mpm-5.6.1.dist-info}/WHEEL +0 -0
  251. {claude_mpm-5.4.85.dist-info → claude_mpm-5.6.1.dist-info}/entry_points.txt +0 -0
  252. {claude_mpm-5.4.85.dist-info → claude_mpm-5.6.1.dist-info}/licenses/LICENSE +0 -0
  253. {claude_mpm-5.4.85.dist-info → claude_mpm-5.6.1.dist-info}/licenses/LICENSE-FAQ.md +0 -0
  254. {claude_mpm-5.4.85.dist-info → claude_mpm-5.6.1.dist-info}/top_level.txt +0 -0
@@ -1,1023 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: claude-mpm
3
- Version: 5.4.85
4
- Summary: Claude Multi-Agent Project Manager - Orchestrate Claude with agent delegation and ticket tracking
5
- Author-email: Bob Matsuoka <bob@matsuoka.com>
6
- Maintainer: Claude MPM Team
7
- License: Elastic-2.0
8
- Project-URL: Homepage, https://github.com/bobmatnyc/claude-mpm
9
- Project-URL: Repository, https://github.com/bobmatnyc/claude-mpm.git
10
- Project-URL: Issues, https://github.com/bobmatnyc/claude-mpm/issues
11
- Project-URL: Documentation, https://github.com/bobmatnyc/claude-mpm/blob/main/README.md
12
- Keywords: claude,orchestration,multi-agent,ticket-management
13
- Classifier: Development Status :: 3 - Alpha
14
- Classifier: Intended Audience :: Developers
15
- Classifier: License :: Other/Proprietary License
16
- Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Classifier: Programming Language :: Python :: 3.13
20
- Requires-Python: >=3.11
21
- Description-Content-Type: text/markdown
22
- License-File: LICENSE
23
- License-File: LICENSE-FAQ.md
24
- Requires-Dist: ai-trackdown-pytools>=1.4.0
25
- Requires-Dist: pyyaml>=6.0
26
- Requires-Dist: python-dotenv>=0.19.0
27
- Requires-Dist: click>=8.0.0
28
- Requires-Dist: pexpect>=4.8.0
29
- Requires-Dist: psutil>=5.9.0
30
- Requires-Dist: requests>=2.25.0
31
- Requires-Dist: flask>=3.0.0
32
- Requires-Dist: flask-cors>=4.0.0
33
- Requires-Dist: watchdog>=3.0.0
34
- Requires-Dist: python-socketio>=5.14.0
35
- Requires-Dist: aiohttp>=3.9.0
36
- Requires-Dist: aiohttp-cors<0.8.0,>=0.7.0
37
- Requires-Dist: python-engineio>=4.8.0
38
- Requires-Dist: aiofiles>=23.0.0
39
- Requires-Dist: websockets>=12.0
40
- Requires-Dist: python-frontmatter>=1.0.0
41
- Requires-Dist: mistune>=3.0.0
42
- Requires-Dist: tree-sitter>=0.21.0
43
- Requires-Dist: ijson>=3.2.0
44
- Requires-Dist: toml>=0.10.2
45
- Requires-Dist: packaging>=21.0
46
- Requires-Dist: pydantic>=2.0.0
47
- Requires-Dist: pydantic-settings>=2.0.0
48
- Requires-Dist: rich>=13.0.0
49
- Requires-Dist: questionary>=2.0.0
50
- Requires-Dist: pyee>=13.0.0
51
- Requires-Dist: pathspec>=0.11.0
52
- Provides-Extra: mcp
53
- Requires-Dist: mcp>=0.1.0; extra == "mcp"
54
- Requires-Dist: mcp-vector-search>=0.1.0; extra == "mcp"
55
- Requires-Dist: mcp-browser>=0.1.0; extra == "mcp"
56
- Requires-Dist: mcp-ticketer>=0.1.0; extra == "mcp"
57
- Provides-Extra: dev
58
- Requires-Dist: pytest>=7.0; extra == "dev"
59
- Requires-Dist: pytest-asyncio; extra == "dev"
60
- Requires-Dist: pytest-cov; extra == "dev"
61
- Requires-Dist: ruff>=0.8.0; extra == "dev"
62
- Requires-Dist: pylint>=3.0.0; extra == "dev"
63
- Requires-Dist: pre-commit; extra == "dev"
64
- Requires-Dist: mypy>=1.0.0; extra == "dev"
65
- Requires-Dist: types-PyYAML>=6.0.0; extra == "dev"
66
- Requires-Dist: types-requests>=2.25.0; extra == "dev"
67
- Provides-Extra: eval
68
- Requires-Dist: deepeval>=1.0.0; extra == "eval"
69
- Requires-Dist: pytest>=7.4.0; extra == "eval"
70
- Requires-Dist: pytest-asyncio>=0.21.0; extra == "eval"
71
- Requires-Dist: pytest-timeout>=2.1.0; extra == "eval"
72
- Provides-Extra: docs
73
- Requires-Dist: sphinx>=7.2.0; extra == "docs"
74
- Requires-Dist: sphinx-rtd-theme>=1.3.0; extra == "docs"
75
- Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
76
- Provides-Extra: monitor
77
- Requires-Dist: python-socketio>=5.14.0; extra == "monitor"
78
- Requires-Dist: aiohttp>=3.9.0; extra == "monitor"
79
- Requires-Dist: aiohttp-cors<0.8.0,>=0.7.0; extra == "monitor"
80
- Requires-Dist: python-engineio>=4.8.0; extra == "monitor"
81
- Requires-Dist: aiofiles>=23.0.0; extra == "monitor"
82
- Requires-Dist: websockets>=12.0; extra == "monitor"
83
- Provides-Extra: data-processing
84
- Requires-Dist: pandas>=2.1.0; extra == "data-processing"
85
- Requires-Dist: openpyxl>=3.1.0; extra == "data-processing"
86
- Requires-Dist: xlsxwriter>=3.1.0; extra == "data-processing"
87
- Requires-Dist: numpy>=1.24.0; extra == "data-processing"
88
- Requires-Dist: pyarrow>=14.0.0; extra == "data-processing"
89
- Requires-Dist: dask>=2023.12.0; extra == "data-processing"
90
- Requires-Dist: polars>=0.19.0; extra == "data-processing"
91
- Requires-Dist: xlrd>=2.0.0; extra == "data-processing"
92
- Requires-Dist: xlwt>=1.3.0; extra == "data-processing"
93
- Requires-Dist: csvkit>=1.3.0; extra == "data-processing"
94
- Requires-Dist: tabulate>=0.9.0; extra == "data-processing"
95
- Requires-Dist: python-dateutil>=2.8.0; extra == "data-processing"
96
- Requires-Dist: lxml>=4.9.0; extra == "data-processing"
97
- Requires-Dist: sqlalchemy>=2.0.0; extra == "data-processing"
98
- Requires-Dist: psycopg2-binary>=2.9.0; extra == "data-processing"
99
- Requires-Dist: pymongo>=4.5.0; extra == "data-processing"
100
- Requires-Dist: redis>=5.0.0; extra == "data-processing"
101
- Requires-Dist: beautifulsoup4>=4.12.0; extra == "data-processing"
102
- Requires-Dist: jsonschema>=4.19.0; extra == "data-processing"
103
- Provides-Extra: memory
104
- Requires-Dist: kuzu-memory>=1.1.5; extra == "memory"
105
- Dynamic: license-file
106
-
107
- # Claude MPM - Multi-Agent Project Manager
108
-
109
- A powerful orchestration framework for **Claude Code (CLI)** that enables multi-agent workflows, session management, and real-time monitoring through a streamlined Rich-based interface.
110
-
111
- > **⚠️ Important**: Claude MPM **requires Claude Code CLI** (v1.0.92+), not Claude Desktop (app). All MCP integrations work with Claude Code's CLI interface only.
112
- >
113
- > **Don't have Claude Code?** Install from: https://docs.anthropic.com/en/docs/claude-code
114
- >
115
- > **Version Requirements:**
116
- > - Minimum: v1.0.92 (hooks support)
117
- > - Recommended: v2.0.30+ (latest features)
118
-
119
- > **Quick Start**: See [docs/user/getting-started.md](docs/getting-started/README.md) to get running in 5 minutes!
120
-
121
- ---
122
-
123
- > **🆕 NEW for Founders!** Not a software engineer? **[Start with our Absolute Beginner's Guide](docs/absolute-beginners-guide.md)** — designed specifically for non-technical founders and business leaders who want to understand and oversee their technical projects. No coding experience required!
124
-
125
- ---
126
-
127
- ## 🚀 What's New in v5.0
128
-
129
- ### Git Repository Integration for Agents & Skills
130
-
131
- Claude MPM now supports **Git repositories** for distributing and managing agents and skills - the most requested feature from our community!
132
-
133
- **🎯 Key Highlights:**
134
- - **📦 Massive Library**: 47+ agents and hundreds of skills deployed automatically from curated repositories
135
- - **🏢 Official Content**: Anthropic's official skills repository included by default
136
- - **🔧 Fully Extensible**: Add your own agent/skill repositories with immediate testing
137
- - **🌳 Smart Organization**: Hierarchical BASE-AGENT.md inheritance for shared templates
138
- - **📊 Clear Visibility**: Two-phase progress bars show sync and deployment status
139
- - **✅ Fail-Fast Testing**: Test repositories before they cause startup issues
140
-
141
- #### Quick Start: Add Your Own Repository
142
-
143
- ```bash
144
- # Add custom agent repository (with immediate testing)
145
- claude-mpm agent-source add https://github.com/yourorg/your-agents
146
-
147
- # Add custom skill repository
148
- claude-mpm skill-source add https://github.com/yourorg/your-skills
149
-
150
- # Test repository without saving
151
- claude-mpm agent-source add https://github.com/yourorg/your-agents --test
152
-
153
- # List all configured sources
154
- claude-mpm agent-source list
155
- ```
156
-
157
- #### Default Repositories
158
-
159
- **Agents** (47+ agents):
160
- - 🏢 System: `bobmatnyc/claude-mpm-agents` - Core agent templates
161
-
162
- **Skills** (17 bundled, optional external):
163
- - 📦 **Bundled**: 17 skills included in core installation (no external repo)
164
- - 🏢 **Optional**: `bobmatnyc/claude-mpm-skills` - Community skills (not enabled by default)
165
- - 🔧 **Custom**: Add your own via `~/.claude/skills/` or `.claude/skills/`
166
-
167
- **What This Means:**
168
- - ✅ **Bundled Skills**: Work immediately, no external dependencies
169
- - ✅ **Offline Support**: Core skills work without internet
170
- - ✅ **Automatic Setup**: Agents deploy from Git on first run
171
- - ✅ **Always Updated**: Agent repositories sync on startup
172
- - ✅ **Nested Support**: Repositories with subdirectories are automatically flattened
173
- - ✅ **Template Inheritance**: BASE-AGENT.md files cascade from parent directories
174
- - ✅ **Priority System**: Control which sources win when multiple repos provide the same agent/skill
175
-
176
- #### Hierarchical Organization Example
177
-
178
- Support for BASE-AGENT.md enables powerful template inheritance:
179
-
180
- ```
181
- your-agents/
182
- BASE-AGENT.md # Root shared content (all agents inherit)
183
- engineering/
184
- BASE-AGENT.md # Engineering-specific (engineering/* agents inherit)
185
- python/
186
- fastapi-engineer.md # Inherits both BASE files
187
- ```
188
-
189
- See [docs/features/hierarchical-base-agents.md](docs/features/hierarchical-base-agents.md) for complete guide.
190
-
191
- ## Features
192
-
193
- ### 🎯 Multi-Agent Orchestration
194
-
195
- - **47+ Specialized Agents**: Comprehensive coverage from Git repositories (Python, Rust, QA, Security, Ops, etc.)
196
- - **Smart Task Routing**: PM agent intelligently delegates work to specialist agents
197
- - **Session Management**: Resume previous sessions with `--resume`
198
- - **Resume Log System**: Proactive context management with automatic 10k-token session logs at 70%/85%/95% thresholds
199
-
200
- ### 📦 Git Repository Integration (NEW in v5.0)
201
-
202
- - **🏢 Curated Content**: Default repositories with 47+ agents and hundreds of skills
203
- - **🎯 Official Skills**: Anthropic's official skills included by default
204
- - **🔧 Custom Repositories**: Add your own via CLI or configuration
205
- - **🌳 Nested Support**: Automatic flattening of nested directory structures
206
- - **📝 Template Inheritance**: BASE-AGENT.md for hierarchical organization
207
- - **✅ Immediate Testing**: Fail-fast validation when adding repositories
208
- - **📊 Progress Visibility**: Two-phase progress bars (sync + deployment)
209
- - **⚡ Smart Caching**: ETag-based caching reduces bandwidth by 95%+
210
-
211
- ### 🎯 Skills System
212
-
213
- - **17 Bundled Skills**: Production-ready skills included in core installation (no external repo required)
214
- - **Custom Skills**: Add your own project-specific or user-level skills locally
215
- - **Three-Tier Organization**: Bundled/user/project skills with priority resolution
216
- - **Auto-Linking**: Skills automatically linked to relevant agents
217
- - **Interactive Configuration**: Skills wizard via `claude-mpm configure`
218
- - **Version Tracking**: Semantic versioning for all skills
219
- - **Community Contributions**: Submit PRs to add skills to the bundled collection
220
-
221
- ### 🔌 Advanced Integration
222
-
223
- - **MCP Integration**: Full support for Model Context Protocol services
224
- - **Real-Time Monitoring**: Live dashboard with `--monitor` flag
225
- - **Multi-Project Support**: Per-session working directories
226
- - **Git Integration**: View diffs and track changes across projects
227
-
228
- ### ⚡ Performance & Security
229
-
230
- - **Simplified Architecture**: ~3,700 lines removed for better performance
231
- - **Enhanced Security**: Comprehensive input validation and sanitization
232
- - **Intelligent Caching**: File-based instruction caching for optimal performance
233
- - ✅ Eliminates ARG_MAX limits on Linux (exceeds by 19.1%) and Windows (exceeds by 476%)
234
- - ✅ ~200ms faster agent startup with hash-based cache invalidation
235
- - ✅ Automatic and transparent (no configuration required)
236
-
237
- ## Quick Installation
238
-
239
- ### Prerequisites
240
-
241
- **Before installing Claude MPM**, ensure you have:
242
-
243
- 1. **Python 3.10+** (3.11+ recommended for optimal compatibility)
244
- 2. **Claude Code CLI v1.0.92+** (required!)
245
-
246
- ```bash
247
- # Verify Claude Code is installed
248
- claude --version
249
-
250
- # If not installed, get it from:
251
- # https://docs.anthropic.com/en/docs/claude-code
252
- ```
253
-
254
- ### Install Claude MPM
255
-
256
- Choose your preferred installation method:
257
-
258
- **Homebrew (macOS):**
259
- ```bash
260
- # Basic installation
261
- brew install claude-mpm
262
-
263
- # Install with monitoring dashboard (recommended)
264
- brew install claude-mpm --with-monitor
265
- ```
266
-
267
- **pipx/uvx (recommended for isolated installation):**
268
- ```bash
269
- # Basic installation
270
- pipx install claude-mpm
271
-
272
- # Or with uv tool (permanent installation)
273
- uv tool install claude-mpm
274
-
275
- # Or with uvx (one-off execution)
276
- uvx claude-mpm
277
-
278
- # Install with monitoring dashboard (recommended)
279
- pipx install "claude-mpm[monitor]"
280
- uv tool install "claude-mpm[monitor]"
281
- ```
282
-
283
- **pip/uv (system-wide installation):**
284
- ```bash
285
- # Basic installation
286
- pip install claude-mpm
287
-
288
- # Or with uv (faster)
289
- uv tool install claude-mpm
290
-
291
- # Install with monitoring dashboard (recommended)
292
- pip install "claude-mpm[monitor]"
293
- uv tool install "claude-mpm[monitor]"
294
- ```
295
-
296
- ### Verify Installation
297
-
298
- ```bash
299
- # Check versions
300
- claude-mpm --version
301
- claude --version
302
-
303
- # Run diagnostics (checks Claude Code compatibility)
304
- claude-mpm doctor
305
-
306
- # Verify Git repositories are synced
307
- ls ~/.claude/agents/ # Should show 47+ agents
308
-
309
- # Bundled skills are in Python package (always available)
310
- # Custom skills go in ~/.claude/skills/ or .claude/skills/
311
-
312
- # Check agent sources
313
- claude-mpm agent-source list
314
-
315
- # Check skill sources (only if you've added external sources)
316
- claude-mpm skill-source list
317
- ```
318
-
319
- **What You Should See:**
320
- - ✅ 47+ agents deployed to `~/.claude/agents/`
321
- - ✅ 17 bundled skills (in Python package, no separate deployment needed)
322
- - ✅ Agent sources configured (system repositories)
323
- - ✅ Skill sources empty by default (bundled skills only)
324
- - ✅ Progress bars showing sync and deployment phases for agents
325
-
326
- **💡 Optional Dependencies**:
327
- - `[monitor]` - Full monitoring dashboard with Socket.IO and async web server components
328
- - `[mcp]` - Additional MCP services (mcp-browser, mcp-ticketer) - most users won't need this
329
-
330
- **🎉 Pipx Support Now Fully Functional!** Recent improvements ensure complete compatibility:
331
- - ✅ Socket.IO daemon script path resolution (fixed)
332
- - ✅ Commands directory access (fixed)
333
- - ✅ Resource files properly packaged for pipx environments
334
- - ✅ Python 3.13+ fully supported
335
-
336
- ## 🤝 Recommended Partner Products
337
-
338
- Claude MPM works excellently with these complementary MCP tools. While optional, we **strongly recommend** installing them for enhanced capabilities:
339
-
340
- ### kuzu-memory - Advanced Memory Management
341
-
342
- **What it does**: Provides persistent, project-specific knowledge graphs that enable agents to learn and retain context across sessions. Your agents will remember project patterns, architectural decisions, and important context automatically.
343
-
344
- **Installation:**
345
- ```bash
346
- pipx install kuzu-memory
347
- # Or with uv
348
- uv tool install kuzu-memory
349
- ```
350
-
351
- **Benefits with Claude MPM:**
352
- - 🧠 **Persistent Context**: Agents remember project-specific patterns and decisions across sessions
353
- - 🎯 **Intelligent Prompts**: Automatically enriches agent prompts with relevant historical context
354
- - 📊 **Knowledge Graphs**: Structured storage of project knowledge, not just flat memory
355
- - 🔄 **Seamless Integration**: Works transparently in the background with zero configuration
356
- - 💡 **Smart Learning**: Agents improve over time as they learn your project's patterns
357
-
358
- **Perfect for**: Long-running projects, teams needing consistent context, complex codebases with deep architectural patterns.
359
-
360
- **Learn more**: [kuzu-memory on PyPI](https://pypi.org/project/kuzu-memory/) | [GitHub Repository](https://github.com/bobmatnyc/kuzu-memory)
361
-
362
- ---
363
-
364
- ### mcp-vector-search - Semantic Code Search
365
-
366
- **What it does**: Enables semantic code search across your entire codebase using AI embeddings. Find code by what it *does*, not just what it's *named*. Search for "authentication logic" and find relevant functions even if they're named differently.
367
-
368
- **Installation:**
369
- ```bash
370
- pipx install mcp-vector-search
371
- # Or with uv
372
- uv tool install mcp-vector-search
373
- ```
374
-
375
- **Benefits with Claude MPM:**
376
- - 🔍 **Semantic Discovery**: Find code by intent and functionality, not just keywords
377
- - 🎯 **Context-Aware**: Understand code relationships and similarities automatically
378
- - ⚡ **Fast Indexing**: Efficient vector embeddings for large codebases
379
- - 🔄 **Live Updates**: Automatically tracks code changes and updates index
380
- - 📊 **Pattern Recognition**: Discover similar code patterns and potential refactoring opportunities
381
-
382
- **Use with**: `/mpm-search "authentication logic"` command in Claude Code sessions or `claude-mpm search` CLI command.
383
-
384
- **Perfect for**: Large codebases, discovering existing functionality, finding similar implementations, architectural exploration.
385
-
386
- **Learn more**: [mcp-vector-search on PyPI](https://pypi.org/project/mcp-vector-search/) | [GitHub Repository](https://github.com/bobmatnyc/mcp-vector-search)
387
-
388
- ---
389
-
390
- ### Quick Setup - Both Tools
391
-
392
- Install both recommended tools in one go:
393
-
394
- ```bash
395
- pipx install kuzu-memory
396
- pipx install mcp-vector-search
397
-
398
- # Or with uv
399
- uv tool install kuzu-memory
400
- uv tool install mcp-vector-search
401
- ```
402
-
403
- Then verify they're working:
404
-
405
- ```bash
406
- claude-mpm verify
407
- ```
408
-
409
- **That's it!** These tools integrate automatically with Claude MPM once installed. No additional configuration needed.
410
-
411
- **That's it!** See [docs/user/getting-started.md](docs/user/getting-started.md) for immediate usage.
412
-
413
- ## Cache Management
414
-
415
- Claude MPM maintains a local cache of agent templates at `~/.claude-mpm/cache/agents/`.
416
-
417
- ### Cache Structure
418
-
419
- ```
420
- ~/.claude-mpm/cache/agents/
421
- └── bobmatnyc/
422
- └── claude-mpm-agents/
423
- ├── .git/ # Git repository
424
- ├── agents/ # 45+ agent templates
425
- └── docs/
426
- ```
427
-
428
- > **Note**: Prior to v5.4.23, agents were cached to `~/.claude-mpm/cache/remote-agents/`. This has been standardized to `~/.claude-mpm/cache/agents/`. Existing caches are automatically migrated.
429
-
430
- ### Git Workflow (Optional)
431
-
432
- If your cache is a git repository, you can manage agents with git operations:
433
-
434
- ```bash
435
- # Check cache status
436
- claude-mpm agents cache-status
437
-
438
- # Pull latest agents
439
- claude-mpm agents cache-pull
440
-
441
- # Commit local changes
442
- claude-mpm agents cache-commit --message "feat: update agents"
443
-
444
- # Push changes
445
- claude-mpm agents cache-push
446
-
447
- # Full sync workflow
448
- claude-mpm agents cache-sync
449
- ```
450
-
451
- **Or use Makefile targets:**
452
-
453
- ```bash
454
- make agents-cache-status # Show git status
455
- make agents-cache-pull # Pull latest
456
- make agents-cache-sync # Full sync (pull + commit + push)
457
- make deploy-agents # Deploy with auto-pull
458
- ```
459
-
460
- ### HTTP Sync Fallback
461
-
462
- If cache is not a git repository, Claude MPM automatically falls back to HTTP sync with GitHub API.
463
-
464
- ### Migration from Legacy Cache
465
-
466
- If you have an old `cache/agents/` directory, run the migration script:
467
-
468
- ```bash
469
- python scripts/migrate_cache_to_remote_agents.py
470
- ```
471
-
472
- **See also:** [docs/CACHE_MANAGEMENT.md](docs/CACHE_MANAGEMENT.md) for comprehensive cache management guide.
473
-
474
- ## Quick Usage
475
-
476
- ```bash
477
- # Start interactive mode (recommended)
478
- claude-mpm
479
-
480
- # Start with monitoring dashboard
481
- claude-mpm run --monitor
482
-
483
- # Use semantic code search (auto-installs mcp-vector-search on first use)
484
- claude-mpm search "authentication logic"
485
- # or inside Claude Code session:
486
- /mpm-search "authentication logic"
487
-
488
- # Use MCP Gateway for external tool integration
489
- claude-mpm mcp
490
-
491
- # Run comprehensive health diagnostics
492
- claude-mpm doctor
493
-
494
- # Generate detailed diagnostic report with MCP service analysis
495
- claude-mpm doctor --verbose --output-file doctor-report.md
496
-
497
- # Run specific diagnostic checks including MCP services
498
- claude-mpm doctor --checks installation configuration agents mcp
499
-
500
- # Check MCP service status specifically
501
- claude-mpm doctor --checks mcp --verbose
502
-
503
- # Verify MCP services installation and configuration
504
- claude-mpm verify
505
-
506
- # Auto-fix MCP service issues
507
- claude-mpm verify --fix
508
-
509
- # Verify specific service
510
- claude-mpm verify --service kuzu-memory
511
-
512
- # Get JSON output for automation
513
- claude-mpm verify --json
514
-
515
- # Manage memory for large conversation histories
516
- claude-mpm cleanup-memory
517
-
518
- # Check for updates (including Claude Code compatibility)
519
- claude-mpm doctor --checks updates
520
- ```
521
-
522
- **💡 Update Checking**: Claude MPM automatically checks for updates and verifies Claude Code compatibility on startup. Configure in `~/.claude-mpm/configuration.yaml` or see [docs/update-checking.md](docs/update-checking.md).
523
-
524
- See [docs/user/getting-started.md](docs/user/getting-started.md) for complete usage examples.
525
-
526
- ## Managing Agent & Skill Repositories
527
-
528
- Claude MPM uses **Git repositories** to distribute and manage agents and skills. This provides automatic updates, version control, and easy sharing of agent/skill libraries.
529
-
530
- ### Quick Start
531
-
532
- ```bash
533
- # Add custom agent repository
534
- claude-mpm agent-source add https://github.com/yourorg/your-agents
535
-
536
- # Add custom skill repository
537
- claude-mpm skill-source add https://github.com/yourorg/your-skills
538
-
539
- # Test repository without saving (fail-fast validation)
540
- claude-mpm agent-source add https://github.com/yourorg/your-agents --test
541
-
542
- # List configured sources
543
- claude-mpm agent-source list
544
- claude-mpm skill-source list
545
-
546
- # Update from all sources
547
- claude-mpm agent-source update
548
- claude-mpm skill-source update
549
- ```
550
-
551
- ### Priority System
552
-
553
- When multiple sources provide the same agent/skill, priority controls which one wins:
554
-
555
- - **Lower number = Higher precedence** (priority 10 beats priority 100)
556
- - **Local agents/skills** (`.claude-mpm/agents/`, `.claude-mpm/skills/`) always override
557
- - **System defaults** provide fallback
558
-
559
- **Example Configuration:**
560
-
561
- ```yaml
562
- # ~/.claude-mpm/config/agent_sources.yaml
563
- repositories:
564
- - url: https://github.com/myteam/agents
565
- priority: 10 # Highest precedence (custom agents)
566
-
567
- - url: https://github.com/bobmatnyc/claude-mpm-agents
568
- priority: 100 # System default (official agents)
569
- ```
570
-
571
- ### Hierarchical Organization with BASE-AGENT.md
572
-
573
- Support for BASE-AGENT.md enables powerful template inheritance:
574
-
575
- ```
576
- your-agents/
577
- BASE-AGENT.md # Root shared content (all agents inherit)
578
- engineering/
579
- BASE-AGENT.md # Engineering-specific (engineering/* inherit)
580
- python/
581
- fastapi-engineer.md # Inherits both BASE files
582
- django-engineer.md # Inherits both BASE files
583
- rust/
584
- systems-engineer.md # Inherits both BASE files
585
- ```
586
-
587
- **How It Works:**
588
- 1. **Cascading Inheritance**: Each agent inherits from all BASE-AGENT.md files in parent directories
589
- 2. **Automatic Flattening**: Nested repositories are automatically flattened during deployment
590
- 3. **DRY Templates**: Share common instructions across related agents
591
- 4. **Maintainability**: Update shared content in one place
592
-
593
- See [docs/features/hierarchical-base-agents.md](docs/features/hierarchical-base-agents.md) for complete guide.
594
-
595
- ### Configuration via YAML
596
-
597
- Edit configuration files directly:
598
- - **Agents**: `~/.claude-mpm/config/agent_sources.yaml`
599
- - **Skills**: `~/.claude-mpm/config/skill_sources.yaml`
600
-
601
- **Example agent_sources.yaml:**
602
-
603
- ```yaml
604
- repositories:
605
- - url: https://github.com/bobmatnyc/claude-mpm-agents
606
- priority: 100
607
- enabled: true
608
-
609
- - url: https://github.com/yourorg/custom-agents
610
- priority: 10
611
- enabled: true
612
- ```
613
-
614
- ### Benefits
615
-
616
- ✅ **Always Up-to-Date**: Repositories sync automatically on startup
617
- ✅ **Bandwidth Efficient**: ETag-based caching reduces network usage by 95%+
618
- ✅ **Version Control**: Track changes through Git history
619
- ✅ **Immediate Testing**: Fail-fast validation prevents startup issues
620
- ✅ **Nested Support**: Automatic flattening of directory structures
621
- ✅ **Template Inheritance**: BASE-AGENT.md for DRY principles
622
- ✅ **Progress Visibility**: Two-phase progress bars (sync + deployment)
623
- ✅ **Community Access**: Latest improvements available immediately
624
- ✅ **Organization Libraries**: Share team-specific content across projects
625
-
626
- ### Documentation
627
-
628
- - **[Agent Sources User Guide](docs/user/agent-sources.md)** - Complete guide with examples
629
- - **[CLI Reference](docs/reference/cli-agent-source.md)** - All `agent-source` commands
630
- - **[Hierarchical BASE-AGENT.md](docs/features/hierarchical-base-agents.md)** - Template inheritance guide
631
- - **[Migration Guide](docs/migration/agent-sources-git-default-v4.5.0.md)** - Upgrading from v4.4.x
632
- - **[Troubleshooting](docs/user/troubleshooting.md#agent-source-issues)** - Common issues and solutions
633
-
634
- ## Skills Deployment
635
-
636
- Skills are automatically deployed from Git repositories, just like agents. Claude MPM includes **hundreds of skills** from curated repositories:
637
-
638
- - **System Skills**: Community skills from `bobmatnyc/claude-mpm-skills`
639
- - **Official Skills**: Anthropic's official skills from `anthropics/skills`
640
- - **Custom Skills**: Add your own skill repositories
641
-
642
- ### Quick Usage
643
-
644
- ```bash
645
- # Skills are automatically deployed on first run
646
- # No manual deployment needed!
647
-
648
- # Add custom skill repository
649
- claude-mpm skill-source add https://github.com/yourorg/custom-skills
650
-
651
- # List configured skill sources
652
- claude-mpm skill-source list
653
-
654
- # Update skills from all sources
655
- claude-mpm skill-source update
656
- ```
657
-
658
- ### How Skills Work
659
-
660
- 1. **Automatic Deployment**: All skills from configured repositories deploy on startup
661
- 2. **Three-Tier Organization**:
662
- - **Bundled**: System and official skills (hundreds)
663
- - **User**: Custom skills in `~/.config/claude-mpm/skills/`
664
- - **Project**: Project-specific skills in `.claude-mpm/skills/`
665
- 3. **Priority Resolution**: Project → User → Bundled (local always wins)
666
- 4. **Auto-Linking**: Skills automatically linked to relevant agents
667
- 5. **Version Tracking**: All skills support semantic versioning
668
-
669
- ### Technology → Skills Mapping
670
-
671
- The Research agent automatically analyzes your project and recommends relevant skills:
672
-
673
- | Your Technology | Auto-Recommended Skills |
674
- |-----------------|-------------------------|
675
- | Python + pytest | test-driven-development, python-style |
676
- | FastAPI/Flask | backend-engineer |
677
- | React/Next.js | frontend-development, web-frameworks |
678
- | Docker | docker-workflow |
679
- | GitHub Actions | ci-cd-pipeline-builder |
680
- | Playwright | webapp-testing |
681
-
682
- ### Interactive Management
683
-
684
- ```bash
685
- # Interactive skills wizard
686
- claude-mpm configure
687
- # Choose option 2: Skills Management
688
-
689
- # Features:
690
- # - View all deployed skills
691
- # - Configure skill assignments to agents
692
- # - Auto-link skills based on agent roles
693
- # - Manage custom skill repositories
694
- ```
695
-
696
- ### Important Notes
697
-
698
- - ⚠️ Skills load at **Claude Code startup only** - restart required after adding repositories
699
- - ✅ Batch add related skill repositories to minimize restarts
700
- - ✅ Research agent automatically recommends missing skills during project analysis
701
- - See [Skills Deployment Guide](docs/guides/skills-deployment-guide.md) for comprehensive details
702
- - See [Skills Quick Reference](docs/reference/skills-quick-reference.md) for command reference
703
-
704
-
705
- ## Architecture
706
-
707
- Claude MPM features a clean, service-oriented architecture:
708
-
709
- - **Streamlined Rich Interface**: Removed complex TUI system (~2,500 lines) for cleaner user experience
710
- - **MCP Integration**: Full support for Model Context Protocol services with automatic detection
711
- - **Service-Oriented Architecture**: Simplified five specialized service domains
712
- - **Interface-Based Contracts**: All services implement explicit interfaces
713
- - **Enhanced Performance**: ~3,700 lines removed for better startup time and maintainability
714
- - **Enhanced Security**: Comprehensive input validation and sanitization framework
715
-
716
- See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for detailed architecture information.
717
-
718
- ## Key Capabilities
719
-
720
- ### Multi-Agent Orchestration
721
-
722
- Claude MPM includes 15 specialized agents:
723
-
724
- #### Core Development
725
- - **Engineer** - Software development and implementation
726
- - **Research** - Code analysis and research
727
- - **Documentation** - Documentation creation and maintenance
728
- - **QA** - Testing and quality assurance
729
- - **Security** - Security analysis and implementation
730
-
731
- #### Language-Specific Engineers
732
- - **Python Engineer (v2.3.0)** - Type-safe, async-first Python with SOA patterns for non-trivial applications
733
- - Service-oriented architecture with ABC interfaces for applications
734
- - Lightweight script patterns for automation and one-off tasks
735
- - Clear decision criteria for when to use DI/SOA vs simple functions
736
- - Dependency injection containers with auto-resolution
737
- - Use for: Web applications, microservices, data pipelines (DI/SOA) or scripts, CLI tools, notebooks (simple functions)
738
-
739
- - **Rust Engineer (v1.1.0)** - Memory-safe, high-performance systems with trait-based service architecture
740
- - Dependency injection with traits (constructor injection, trait objects)
741
- - Service-oriented architecture patterns (repository, builder)
742
- - Decision criteria for when to use DI/SOA vs simple code
743
- - Async programming with tokio and zero-cost abstractions
744
- - Use for: Web services, microservices (DI/SOA) or CLI tools, scripts (simple code)
745
-
746
- #### Operations & Infrastructure
747
- - **Ops** - Operations and deployment with advanced git commit authority and security verification (v2.2.2+)
748
- - **Version Control** - Git and version management
749
- - **Data Engineer** - Data pipeline and ETL development
750
-
751
- #### Web Development
752
- - **Web UI** - Frontend and UI development
753
- - **Web QA** - Web testing and E2E validation
754
-
755
- #### Project Management
756
- - **Ticketing** - Issue tracking and management
757
- - **Project Organizer** - File organization and structure
758
- - **Memory Manager** - Project memory and context management
759
-
760
- #### Code Quality
761
- - **Refactoring Engineer** - Code refactoring and optimization
762
- - **Code Analyzer** - Static code analysis with AST and tree-sitter
763
-
764
- ### Agent Memory System
765
-
766
- **NEW in v5.4.13**: Runtime memory loading for instant updates and better efficiency.
767
-
768
- **How It Works:**
769
- - **Memory Files**: Store agent memories in `.claude-mpm/memories/{agent_id}.md` (e.g., `engineer.md`, `qa.md`)
770
- - **Runtime Loading**: Memories loaded dynamically when agents are delegated to (no restart required)
771
- - **Instant Updates**: Memory changes take effect immediately
772
- - **Event Observability**: Memory loading tracked via EventBus (`agent.memory.loaded` events)
773
-
774
- **Memory Format:**
775
- Agents learn project-specific patterns using a simple markdown list format and can update memories via JSON response fields (`remember` for incremental updates, `MEMORIES` for complete replacement).
776
-
777
- **See:** [Memory Flow Architecture](docs/architecture/memory-flow.md) for complete technical details.
778
-
779
- ### Skills System
780
-
781
- Claude MPM includes a powerful skills system that eliminates redundant agent guidance through reusable skill modules:
782
-
783
- **20 Bundled Skills** covering essential development workflows (all versioned starting at 0.1.0):
784
- - Git workflow, TDD, code review, systematic debugging
785
- - API documentation, refactoring patterns, performance profiling
786
- - Docker containerization, database migrations, security scanning
787
- - JSON/PDF/XLSX handling, async testing, ImageMagick operations
788
- - Local development servers: Next.js, FastAPI, Vite, Express
789
- - Web performance: Lighthouse metrics, Core Web Vitals optimization
790
-
791
- **Three-Tier Organization:**
792
- - **Bundled**: Core skills included with Claude MPM (~15,000 lines of reusable guidance)
793
- - **User**: Custom skills in `~/.config/claude-mpm/skills/`
794
- - **Project**: Project-specific skills in `.claude-mpm/skills/`
795
-
796
- **Version Tracking:**
797
- - All skills support semantic versioning (MAJOR.MINOR.PATCH)
798
- - Check versions with `/mpm-version` command in Claude Code
799
- - See [Skills Versioning Guide](docs/user/skills-versioning.md) for details
800
-
801
- **Quick Access:**
802
- ```bash
803
- # Interactive skills management
804
- claude-mpm configure
805
- # Choose option 2: Skills Management
806
-
807
- # Auto-link skills to agents based on their roles
808
- # Configure custom skill assignments
809
- # View current skill mappings
810
- ```
811
-
812
- Skills are automatically injected into agent prompts, reducing template size by 85% while maintaining full capability coverage.
813
-
814
- ### MCP Gateway (Model Context Protocol)
815
-
816
- Claude MPM includes a powerful MCP Gateway that enables:
817
- - Integration with external tools and services
818
- - Custom tool development
819
- - Protocol-based communication
820
- - Extensible architecture
821
-
822
- See [MCP Gateway Documentation](docs/developer/13-mcp-gateway/README.md) for details.
823
-
824
- ### Memory Management
825
-
826
- Large conversation histories can consume 2GB+ of memory. Use the `cleanup-memory` command to manage Claude conversation history:
827
-
828
- ```bash
829
- # Clean up old conversation history
830
- claude-mpm cleanup-memory
831
-
832
- # Keep only recent conversations
833
- claude-mpm cleanup-memory --days 7
834
- ```
835
-
836
- ### Resume Log System
837
-
838
- **NEW in v4.17.2** - Proactive context management for seamless session continuity.
839
-
840
- The Resume Log System automatically generates structured 10k-token logs when approaching Claude's context window limits, enabling you to resume work without losing important context.
841
-
842
- **Key Features**:
843
- - 🎯 **Graduated Thresholds**: Warnings at 70% (60k buffer), 85% (30k buffer), and 95% (10k buffer)
844
- - 📋 **Structured Logs**: 10k-token budget intelligently distributed across 7 key sections
845
- - 🔄 **Seamless Resumption**: Automatically loads previous session context on startup
846
- - 📁 **Human-Readable**: Markdown format for both Claude and human review
847
- - ⚙️ **Zero-Configuration**: Works automatically with sensible defaults
848
-
849
- **How It Works**:
850
- 1. Monitor token usage continuously throughout session
851
- 2. Display proactive warnings at 70%, 85%, and 95% thresholds
852
- 3. Automatically generate resume log when approaching limits
853
- 4. Load previous resume log when starting new session
854
- 5. Continue work seamlessly with full context preservation
855
-
856
- **Example Resume Log Structure**:
857
- ```markdown
858
- # Session Resume Log: 20251101_115000
859
-
860
- ## Context Metrics (500 tokens)
861
- - Token usage and percentage
862
-
863
- ## Mission Summary (1,000 tokens)
864
- - Overall goal and purpose
865
-
866
- ## Accomplishments (2,000 tokens)
867
- - What was completed
868
-
869
- ## Key Findings (2,500 tokens)
870
- - Important discoveries
871
-
872
- ## Decisions & Rationale (1,500 tokens)
873
- - Why choices were made
874
-
875
- ## Next Steps (1,500 tokens)
876
- - What to do next
877
-
878
- ## Critical Context (1,000 tokens)
879
- - Essential state, IDs, paths
880
- ```
881
-
882
- **Configuration** (`.claude-mpm/configuration.yaml`):
883
- ```yaml
884
- context_management:
885
- enabled: true
886
- budget_total: 200000
887
- thresholds:
888
- caution: 0.70 # First warning - plan transition
889
- warning: 0.85 # Strong warning - wrap up
890
- critical: 0.95 # Urgent - stop new work
891
- resume_logs:
892
- enabled: true
893
- auto_generate: true
894
- max_tokens: 10000
895
- storage_dir: ".claude-mpm/resume-logs"
896
- ```
897
-
898
- **QA Status**: 40/41 tests passing (97.6% coverage), APPROVED FOR PRODUCTION ✅
899
-
900
- See [docs/user/resume-logs.md](docs/user/resume-logs.md) for complete documentation.
901
-
902
- ### Real-Time Monitoring
903
- The `--monitor` flag opens a web dashboard showing live agent activity, file operations, and session management.
904
-
905
- See [docs/reference/MEMORY.md](docs/reference/MEMORY.md) and [docs/developer/11-dashboard/README.md](docs/developer/11-dashboard/README.md) for details.
906
-
907
-
908
- ## 📚 Documentation
909
-
910
- **👉 [Complete Documentation Hub](docs/README.md)** - Start here for all documentation!
911
-
912
- ### Quick Links by User Type
913
-
914
- #### 👥 For Users
915
- - **[🚀 5-Minute Quick Start](docs/user/quickstart.md)** - Get running immediately
916
- - **[📦 Installation Guide](docs/user/installation.md)** - All installation methods
917
- - **[📖 User Guide](docs/user/README.md)** - Complete user documentation
918
- - **[❓ FAQ](docs/guides/FAQ.md)** - Common questions answered
919
-
920
- #### 💻 For Developers
921
- - **[🏗️ Architecture Overview](docs/developer/ARCHITECTURE.md)** - Service-oriented system design
922
- - **[💻 Developer Guide](docs/developer/README.md)** - Complete development documentation
923
- - **[🧪 Contributing](docs/developer/03-development/README.md)** - How to contribute
924
- - **[📊 API Reference](docs/API.md)** - Complete API documentation
925
-
926
- #### 🤖 For Agent Creators
927
- - **[🤖 Agent System](docs/AGENTS.md)** - Complete agent development guide
928
- - **[📝 Creation Guide](docs/developer/07-agent-system/creation-guide.md)** - Step-by-step tutorials
929
- - **[📋 Schema Reference](docs/developer/10-schemas/agent_schema_documentation.md)** - Agent format specifications
930
-
931
- #### 🚀 For Operations
932
- - **[🚀 Deployment](docs/DEPLOYMENT.md)** - Release management & versioning
933
- - **[📊 Monitoring](docs/MONITOR.md)** - Real-time dashboard & metrics
934
- - **[🐛 Troubleshooting](docs/TROUBLESHOOTING.md)** - Enhanced `doctor` command with detailed reports and auto-fix capabilities
935
-
936
- ### 🎯 Documentation Features
937
- - **Single Entry Point**: [docs/README.md](docs/README.md) is your navigation hub
938
- - **Clear User Paths**: Organized by user type and experience level
939
- - **Cross-Referenced**: Links between related topics and sections
940
- - **Up-to-Date**: Version 4.16.3 with web performance optimization skill
941
-
942
- ## Recent Updates (v5.0) 🎉
943
-
944
- **Major Release**: Git Repository Integration for Agents & Skills
945
-
946
- **🚀 What's New:**
947
- - **Git Repository Support**: Agents and skills now deploy from Git repositories
948
- - **47+ Agents**: Comprehensive agent library from curated repositories
949
- - **Hundreds of Skills**: System skills + Official Anthropic skills automatically deployed
950
- - **Hierarchical BASE-AGENT.md**: Template inheritance for DRY principles
951
- - **Nested Repository Support**: Automatic flattening of directory structures
952
- - **Immediate Testing**: Fail-fast validation when adding repositories
953
- - **Two-Phase Progress**: Clear visibility during sync and deployment
954
- - **ETag Caching**: 95%+ bandwidth reduction with intelligent caching
955
-
956
- **🔧 Repository Management:**
957
- - `claude-mpm agent-source add/list/update` - Manage agent repositories
958
- - `claude-mpm skill-source add/list/update` - Manage skill repositories
959
- - Priority-based resolution for multiple sources
960
- - YAML configuration support
961
-
962
- **📚 Documentation:**
963
- - Complete guides for Git repository integration
964
- - Hierarchical BASE-AGENT.md documentation
965
- - Migration guides for existing installations
966
- - Troubleshooting and best practices
967
-
968
- **🎯 Benefits:**
969
- - Always up-to-date content from repositories
970
- - Community-driven agent and skill libraries
971
- - Easy sharing of organizational content
972
- - Version control for all templates
973
-
974
- See [CHANGELOG.md](CHANGELOG.md) for full history and [docs/user/MIGRATION.md](docs/user/MIGRATION.md) for upgrade instructions.
975
-
976
- ## 📜 License
977
-
978
- [![License](https://img.shields.io/badge/License-Elastic_2.0-blue.svg)](LICENSE)
979
-
980
- Licensed under the [Elastic License 2.0](LICENSE) - free for internal use and commercial products.
981
-
982
- **Main restriction:** Cannot offer as a hosted SaaS service without a commercial license.
983
-
984
- 📖 [Licensing FAQ](LICENSE-FAQ.md) | 💼 Commercial licensing: bob@matsuoka.com
985
-
986
- ## Development
987
-
988
- ### Quick Development Setup
989
- ```bash
990
- # Complete development setup with code formatting and quality tools
991
- make dev-complete
992
-
993
- # Or step by step:
994
- make setup-dev # Install in development mode
995
- make setup-pre-commit # Set up automated code formatting
996
- ```
997
-
998
- ### Code Quality & Formatting
999
- The project uses automated code formatting and quality checks:
1000
- - **Black** for code formatting
1001
- - **isort** for import sorting
1002
- - **flake8** for linting
1003
- - **mypy** for type checking
1004
- - **Pre-commit hooks** for automatic enforcement
1005
-
1006
- See [docs/developer/CODE_FORMATTING.md](docs/developer/CODE_FORMATTING.md) for details.
1007
-
1008
- ### Contributing
1009
- Contributions are welcome! Please see our [project structure guide](docs/reference/STRUCTURE.md) and follow the established patterns.
1010
-
1011
- **Development Workflow**:
1012
- 1. Run `make dev-complete` to set up your environment
1013
- 2. Code formatting happens automatically on commit
1014
- 3. All code must pass quality checks before merging
1015
-
1016
- ### Project Structure
1017
- See [docs/reference/STRUCTURE.md](docs/reference/STRUCTURE.md) for codebase organization.
1018
-
1019
- ## Credits
1020
-
1021
- - Based on [claude-multiagent-pm](https://github.com/kfsone/claude-multiagent-pm)
1022
- - Enhanced for [Claude Code (CLI)](https://docs.anthropic.com/en/docs/claude-code) integration
1023
- - Built with ❤️ by the Claude MPM community