Pattern [11]

Goal Setting & Monitoring

Health Checks / Watchdogs / APM (Application Performance Monitoring)

> Agentic Definition

Mechanisms for agents to define high-level objectives, break them into trackable sub-goals, and continuously monitor progress towards completion. The agent checks: "Am I closer to the goal than I was 5 minutes ago?"

> Description

Mechanisms for agents to define high-level objectives, break them into trackable sub-goals, and continuously monitor progress towards completion. The agent checks: "Am I closer to the goal than I was 5 minutes ago?"

≈ How It Maps to Health Checks / APM

Monitoring system health and progress toward a defined state.

≠ Key Divergence

Traditional monitoring checks system metrics (CPU usage, latency, error rate). Agentic monitoring checks semantic progress (e.g., "Have we gathered enough research data yet?", "Is the draft complete?"). It requires "Metacognition" — thinking about thinking.

> Key Takeaway

Adapt: You need to build "Manager Agents" whose only job is to supervise "Worker Agents." You are automating middle management.

Frequently Asked Questions

When should I use the Goal Setting & Monitoring pattern?

Mechanisms for agents to define high-level objectives, break them into trackable sub-goals, and continuously monitor progress towards completion. The agent checks: "Am I closer to the goal than I was 5 minutes ago?"

How does Goal Setting & Monitoring relate to Health Checks / Watchdogs / APM (Application Performance Monitoring)?

Monitoring system health and progress toward a defined state. However, there is a key divergence: Traditional monitoring checks system metrics (CPU usage, latency, error rate). Agentic monitoring checks semantic progress (e.g., "Have we gathered enough research data yet?", "Is the draft complete?"). It requires "Metacognition" — thinking about thinking.

What are the production trade-offs of Goal Setting & Monitoring?

Essential to prevent agents from getting stuck in infinite loops ("doom loops") or declaring premature success. Monitoring consumes tokens. Balance oversight frequency against cost.

Sign up to unlock code examples & production notes

Get full access to all 21 patterns with code comparisons, production considerations, and architecture diagrams.

No credit card required.