Exercise 3: Watcher Agent
Overview
In this exercise, you'll create an intelligent, multi-server agent that monitors and controls pipeline execution.
Building on Exercises 1 and 2, your agent will:
- Coordinate with multiple MCP servers
- Monitor Jenkins pipeline status
- Make intelligent decisions about next steps
- Take corrective actions when needed
- Continue working over time (not just one query)
What You'll Build
A watcher agent that:
- Polls Jenkins for build status
- Uses the MCP protocol to communicate
- Decides when to trigger new builds
- Detects and recovers from failures
- Keeps a record of what it did
Learning Outcomes
✅ Build agents that use multiple tools
✅ Coordinate across multiple servers
✅ Implement polling and monitoring logic
✅ Make intelligent decisions based on system state
✅ Handle long-running workflows
Getting Started
[Complete exercise setup and instructions coming soon]