Starting with Claude MPM v4.5.0, git sources are now the default for agent deployment. This change improves agent management by:
- Always up-to-date: Agents automatically sync from GitHub repository
- Community contributions: Access latest agent improvements immediately
- Version control: Track agent changes through git history
- Bandwidth efficient: ETag-based caching reduces network usage by 95%+
# ~/.claude-mpm/config/agent_sources.yaml
disable_system_repo: false # Used built-in JSON templates
repositories: [] # No git sources configured# ~/.claude-mpm/config/agent_sources.yaml
disable_system_repo: true # Git sources preferred
repositories:
- url: https://github.com/bobmatnyc/claude-mpm-agents
subdirectory: agents
enabled: true
priority: 100No action required! New installations automatically use git sources.
On first run, Claude MPM will:
- Create
~/.claude-mpm/config/agent_sources.yamlwith git repository configured - Sync agents from GitHub on startup
- Deploy all 39 agents from the git repository
Your existing configuration is preserved. To opt-in to git sources:
# Let Claude MPM create the default git-based configuration
rm ~/.claude-mpm/config/agent_sources.yaml
claude-mpm agents deploy --allThis will:
- Create new configuration with git sources enabled
- Download agents from GitHub
- Deploy all agents
Edit ~/.claude-mpm/config/agent_sources.yaml:
# Set disable_system_repo to true
disable_system_repo: true
# Add the default git repository
repositories:
- url: https://github.com/bobmatnyc/claude-mpm-agents
subdirectory: agents
enabled: true
priority: 100Then redeploy:
claude-mpm agents deploy --all --forceIf you prefer to continue using built-in JSON templates:
# Keep existing behavior
disable_system_repo: false
repositories: []Note: Built-in templates will continue to be supported but won't receive updates as frequently as git sources.
After migration, verify git sources are working:
# Check agent source configuration
claude-mpm doctor
# List deployed agents (should show 39 agents)
claude-mpm agents list
# Verify agents are from git sources
ls -la ~/.claude/agents/Look for log messages indicating git sync:
Agent sync: 39 updated, 0 cached (1234ms)
Solution: Ensure git sources are configured and network is available.
# Check configuration
cat ~/.claude-mpm/config/agent_sources.yaml
# Manually sync agents
claude-mpm agents sync
# Deploy all agents
claude-mpm agents deploy --allPossible causes:
- Network connectivity issues
- GitHub API rate limiting
- Firewall blocking git operations
Solution:
# Check network connectivity
curl -I https://api.github.com
# Check git access
git ls-remote https://github.com/bobmatnyc/claude-mpm-agents
# Use fallback to built-in templates temporarily
echo "disable_system_repo: false" > ~/.claude-mpm/config/agent_sources.yaml
claude-mpm agents deploy --allGit sources sync automatically on startup. To force a sync:
# Force immediate sync
claude-mpm agents sync --force
# Redeploy all agents
claude-mpm agents deploy --all --forceIf you experience issues, you can rollback to built-in templates:
# Create rollback configuration
cat > ~/.claude-mpm/config/agent_sources.yaml << EOF
disable_system_repo: false
repositories: []
EOF
# Redeploy agents from built-in templates
claude-mpm agents deploy --all --forceAgents automatically sync on startup, ensuring you have the latest versions without manual updates.
ETag-based caching means:
- First sync: Downloads all agents (~500KB)
- Subsequent syncs: Only downloads changed agents (typically <50KB)
- 95%+ bandwidth reduction compared to always downloading
Track agent evolution through GitHub:
# View agent history on GitHub
open https://github.com/bobmatnyc/claude-mpm-agents/commits/main/agentsBenefit from community improvements immediately:
- Bug fixes
- New capabilities
- Performance improvements
- Better documentation
You can add your own git repositories:
disable_system_repo: true
repositories:
# Default repository (priority 100)
- url: https://github.com/bobmatnyc/claude-mpm-agents
subdirectory: agents
enabled: true
priority: 100
# Your custom repository (priority 50 = higher precedence)
- url: https://github.com/your-org/your-agents
subdirectory: custom-agents
enabled: true
priority: 50Lower priority number = higher precedence.
For issues or questions:
- Check logs:
claude-mpm doctorfor diagnostic information - GitHub Issues: https://github.com/bobmatnyc/claude-mpm/issues
- Documentation: https://docs.claude-mpm.dev
With git sources enabled, Claude MPM uses a 4-tier discovery system:
- System templates (priority 100): Built-in JSON templates (if not disabled)
- User agents (DEPRECATED):
~/.claude-mpm/agents/(deprecated, use project agents) - Remote agents (priority based on config): Git-sourced agents from cache
- Project agents (highest priority):
.claude-mpm/agents/in your project
The highest version from any source is deployed.
Git sync happens:
- On first run (initial setup)
- On every CLI startup (non-blocking, background)
- When running
claude-mpm agents syncmanually
Sync is:
- Non-blocking: Doesn't prevent CLI startup
- Cached: ETag-based caching minimizes bandwidth
- Fault-tolerant: Falls back to cached agents if network unavailable
~/.claude-mpm/config/agent_sources.yaml
This file is automatically created on first run if it doesn't exist.
Migration Date: 2025-11-30 Minimum Version: v4.5.0 Breaking Changes: None (backward compatible)