Skip to main content

Team Coherence

Keep your AI teams aligned and prevent drift.

MeetLoyd's Team Coherence system monitors your AI agent teams to ensure they stay aligned with their intended objectives. Detect and prevent common failure modes like agents undoing each other's work or getting stuck in correction loops.

Key Concept

Agent failure isn't about intelligence -- it's about drift from original intent. Coherence monitoring catches these issues early.

Automatic Monitoring

Coherence scores are calculated automatically every 5 minutes for all running teams. No manual setup required -- scores update in real-time as your teams operate.

Understanding Coherence Score

Each team has a coherence score from 0-100:

ScoreStatusMeaning
80-100HealthyTeam is well-aligned and productive
60-79WarningSome drift detected, monitor closely
Below 60CriticalSignificant drift, intervention recommended

Drift Patterns Detected

Oscillation

Agents repeatedly undoing each other's work. Agent A makes a change, Agent B reverts it, Agent A re-does it. Symptom: High oscillation score, low productivity.

Feedback Loops

Circular correction chains where Agent A corrects Agent B, Agent B corrects Agent C, and Agent C corrects Agent A. Symptom: High correction rate, no forward progress.

Correction Spikes

Sudden increase in agents correcting each other's work. Symptom: Elevated corrections per hour.

Intent State

Define what your team should accomplish:

  1. Primary Objective -- The main goal (e.g., "Process customer support tickets and resolve issues within SLA")
  2. Secondary Objectives -- Supporting goals (e.g., "Maintain customer satisfaction above 4.5/5")
  3. Constraints -- Boundaries the team must respect
Constraint TypeDescriptionExample
HardNever violate"Never share customer data externally"
SoftMinimize violations"Prefer email over phone contact"

Coherence Budget

Set limits to prevent runaway behavior:

LimitDefaultDescription
Max Concurrent Agents5Agents active simultaneously
Max Actions/Minute30Rate limit on operations
Max Corrections/Hour10Correction threshold
Max Feedback Loop Depth3Circular correction limit

Enforcement Modes

ModeBehavior
WarnAlert but continue operations
PauseAuto-pause team for cooldown period
BlockRequire human intervention to resume

Drift Events

When issues are detected, drift events are created:

Event TypeSeverityDescription
Oscillation DetectedWarning/CriticalAgents undoing each other
Feedback Loop DetectedWarning/CriticalCircular corrections
Correction SpikeWarning/CriticalHigh correction rate
Budget ExceededCriticalRate limits hit

Resolving Events

  1. Acknowledge -- You've seen it, investigating
  2. Resolve -- Issue fixed, document what was done
  3. Dismiss -- False positive, adjust thresholds

Dashboard Views

Tenant Summary

Overview of all monitored teams: teams at risk count, average coherence score, and recent unresolved events.

Team Detail

Deep dive into a specific team: real-time coherence gauge, trend graph (improving/stable/degrading), budget usage meters, and recent events list.

Best Practices

Initial Setup: Start with default budgets and thresholds. Coherence scores calculate automatically. Let the team run for a day to establish a baseline, then tune thresholds based on observed behavior.

Ongoing Monitoring: Check coherence scores daily. Investigate warnings promptly -- don't let drift accumulate. Review feedback loops, as they often indicate unclear responsibilities.

When Drift is Detected: Pause the team if critical. Review recent actions to understand the pattern. Clarify objectives or constraints if needed. Resume with monitoring.

Compliance Verification
Policy verification
Governance Framework
Overall governance
Kill Switch
Emergency controls