Lesson 3 of 4 Compute, Observability and Developer Tooling

Monitoring Coordination, Behavioral Drift and Automated Remediation

This lesson describes the components that turn observability data into signals and responses for multi-agent systems: monitoring how agents coordinate, detecting changes in behaviour and quality, and remediating known failure patterns automatically.

Learning outcomes

After completing this lesson, you will be able to:

  • Track coordination failures specific to multi-agent systems.
  • Detect behavioural drift and quality regression.
  • Automate remediation with Azure Monitor alerts and action groups.

Cross-agent coordination tracking

Coordination failures are specific to multi-agent systems: hand-offs that bounce between agents, subagents that never return, approvals that time out, and loops between a generator and a reviewer. Metrics derived from traces (hand-offs per run, maximum depth of delegation, time waiting for approval, runs exceeding iteration caps) are charted in Azure Monitor workbooks or dashboards per workflow, with alerts when they exceed normal ranges.

Select all that apply

Coordination metrics

Exam skills 1.2.6

Pick the metrics that reveal coordination failures between agents.

Log in to try this activity Interactive activities are free with an account.

Behavioural drift and quality regression detection

Behavioural drift is a change in what agents do without a deliberate release: different tool choices, more refusals, longer answers, new hand-off patterns. It can be caused by model updates, changes in user behaviour or changes in tool data. Quality regression is a measured drop in evaluation scores such as task adherence or groundedness. Foundry continuous evaluation samples production traffic, scores it with evaluators and records results, so both can be compared with baselines and alerted on.

Input drift (new intents, languages or document formats) is detected by tracking the distribution of classified intents and comparing it with the evaluation dataset, which shows when the dataset needs new cases.

The following diagram shows a quality regression detected after a model update.

Detecting a quality regression. Continuous evaluation samples production traffic, scores it with evaluators such as task adherence or groundedness, and compares the scores with a baseline. A drop after an unannounced change, such as a model update, crosses the alert threshold. Behavioural drift, such as different tool choices or more refusals, and input drift, such as new intents, are tracked the same way.
Scores are illustrative.
Sort into groups

Drift, regression or input drift?

Exam skills 1.2.6

Classify each change detected in production.

Log in to try this activity Interactive activities are free with an account.

Automated remediation

Known failure patterns can be remediated automatically. An Azure Monitor alert fires on a condition and calls an action group, which can notify people and trigger a Logic App, Azure Function, Automation runbook or webhook. The following table gives examples.

Failure patternSignalAutomated remediation
Model deployment throttledSustained HTTP 429 rateShift traffic to another deployment through the gateway
Tool back end failingTool error rate above thresholdDisable the tool or switch to a fallback
Quality regression after releaseContinuous evaluation score dropRoll back to the previous agent version
Runaway loopsRuns exceeding token budgetLower the cap and page the owning team
Match the pairs

Signals and automatic responses

Exam skills 1.2.6

Match each failure pattern with its automated remediation.

Log in to try this activity Interactive activities are free with an account.
Worked example

Drift after a model update

After a model version upgrade, a claims agent's escalation rate doubled, but error rates and latency were unchanged. The issue was found two weeks later from staff complaints.

Monitoring covered only platform health. Adding escalation rate and tool-choice distribution as behavioural metrics, continuous evaluation of task adherence on sampled traffic, and alerts against baselines would have detected the change within hours. Pinning model versions and evaluating upgrades before rollout would have prevented it.

Check yourself

Why are error metrics not enough to detect quality regression?

Show answer

An agent can return wrong answers without errors. Continuous evaluation scores the answers themselves.

Exam Tips

Remember for the exam

  • Track hand-offs, delegation depth, approval waits and loop caps per workflow.
  • Continuous evaluation detects quality regression that error metrics miss.
  • Alert plus action group plus runbook or Logic App gives automated remediation.