Step 2 10 min

Monitor Agent Drift

Check drift scores, view fingerprints, and re-baseline when behavior changes intentionally.

Check Drift Status

Get Drift Datatypescript
const drift = await fetch(
  'https://api.mosscomputing.com/v1/agents/{agent_id}/drift',
  { headers: { 'Authorization': 'Bearer ' + access_token } },
).then(r => r.json());
Response200 OK
{
  "stability_score": 78,
  "baseline_established": "2026-06-01",
  "last_window": "2026-08-25",
  "drift_events": [
    {
      "drift_event_id": "drift_001",
      "detected_at": "2026-08-20T14:00:00Z",
      "severity": "medium",
      "description": "Agent began accessing financial data",
      "rebaselined": false
    }
  ]
}

View Behavioral Fingerprint History

Fingerprint Historytypescript
const fingerprints = await fetch(
  'https://api.mosscomputing.com/v1/drift/fingerprint/{agent_id}?history=true',
  { headers: { 'Authorization': 'Bearer ' + access_token } },
).then(r => r.json());

// Each fingerprint shows the agent behavior pattern at a point in time
fingerprints.windows.forEach(w => {
  console.log(w.window_start, w.stability_score, w.intent_distribution);
});

When drift is detected:

  • Review the drift event to understand what changed
  • If intentional, re-baseline the agent
  • If unexpected, investigate and tighten policies
  • If malicious, suspend the agent immediately

Drift Detection complete!

  • Monitor agent behavioral fingerprints over time
  • Get alerts when agents drift from baseline
  • Re-baseline when behavior changes intentionally