{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "zizka-ai-sl-zizkadb--detect-drift-in-agent-behavior",
 "repo": "ZIZKA-AI-SL/ZizkaDB",
 "repo_url": "https://github.com/ZIZKA-AI-SL/ZizkaDB",
 "repo_slug": "zizka-ai-sl-zizkadb",
 "title": "Catch drift in agent behaviour and ask about it over MCP",
 "page_title": "How to catch drift in agent behaviour and ask about it over MCP with ZizkaDB",
 "summary": "Use ZizkaDB's baseline to flag when an agent starts behaving differently from its history, and query the record from Cursor or Claude through its MCP server.",
 "who": "A team that changes models or prompts and needs to know when an agent quietly starts acting differently.",
 "problem": "After a model or prompt update, behaviour shifts in small ways that nobody notices until users complain.",
 "outcome": "Drift alerts against past sessions, and the ability to ask your coding assistant why an agent did something, answered from the audit record.",
 "steps": [
  "Log sessions over time with the ZizkaDB SDK so there is history to compare",
  "Call db.baseline(agent) to set drift detection against past sessions",
  "After a model or prompt change, check the drift result before and after",
  "Add the MCP server to Cursor or Claude: command uvx with args zizkadb-mcp and ZIZKADB_HOST set to http://localhost:8000",
  "Ask in your assistant, for example why did support-bot call lookup_order?",
  "Replay sessions where drift shows up to confirm the change"
 ],
 "agent_prompt": "Connect the ZizkaDB MCP server (uvx zizkadb-mcp, ZIZKADB_HOST=http://localhost:8000). Compare <agent>'s behaviour before and after <date of model change> using its baseline, and list the sessions that drifted most with one sentence each on what changed.",
 "agents": [
  "cursor",
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README positions it as support for EU AI Act Article 12 record-keeping, not a compliance guarantee.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "python",
 "requirements": [
  "Docker",
  "Python or TypeScript SDK for integration"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/zizka-ai-sl-zizkadb/detect-drift-in-agent-behavior/",
 "md": "https://dedupedai.com/use-cases/zizka-ai-sl-zizkadb/detect-drift-in-agent-behavior/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/zizka-ai-sl-zizkadb--detect-drift-in-agent-behavior.json",
 "api_version": "v1"
}
