patchbot

Scan for outdated dependencies and update them across Elixir, Rust, Node, Go, and Python ecosystems. TRIGGER when: user asks about outdated dependencies, "update deps", "dependency check", "what needs updating", or invokes "/patchbot". DO NOT TRIGGER when: user is working on patchbot agent code itself.

Patchbot

Polyglot dependency updater. Detects ecosystems from lockfiles, scans for outdated packages, updates + tests, and optionally creates PRs.

What You Get

  • List of outdated dependencies per ecosystem with current/latest versions
  • Automated update + test run (dry-run by default)
  • Optional PR creation via gh CLI

CLI Usage

# Detect ecosystems and list outdated deps
patchbot scan

# Filter to one ecosystem
patchbot scan --ecosystem rust

# Update and run tests
patchbot update --ecosystem node

# Update, test, and create a PR
patchbot pr --ecosystem elixir --base-branch main

# Dry run (preview only)
patchbot update --ecosystem python --dry-run

Supported Ecosystems

EcosystemLockfilesUpdate commandTest command
Elixirmix.lock, mix.exsmix deps.update --allmix test
RustCargo.lock, Cargo.tomlcargo updatecargo test
Nodepackage-lock.json, yarn.lock, pnpm-lock.yamlnpm updatenpm test
Gogo.sum, go.modgo get -u ./...go test ./...
Pythonrequirements.txt, pyproject.toml, poetry.lock, uv.lockpip install --upgradepytest

MCP Server

patchbot serve

Configure MCP

Add to ~/.mcp.json:

{
  "mcpServers": {
    "patchbot": {
      "command": "patchbot",
      "args": ["serve"]
    }
  }
}

MCP Tools

ToolDescription
patchbot_scanDetect ecosystems and list all outdated deps
patchbot_outdatedList outdated deps for a specific ecosystem
patchbot_updateRun update + tests for an ecosystem (dry_run by default)

Install

cd agents/patchbot
pip install -e .

Requires ecosystem-specific tooling (mix, cargo, npm, go, pip/pytest).