The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the RuleDrift listing page.
Catch the moment your agent drifts from its rules.
RuleDrift tests whether an AI agent still follows important instructions after a conversation becomes long or distracting.
Run it like a test suite when you change a prompt, model, memory system, or agent workflow. It runs locally and does not sit in front of production requests.
Requires Node.js 22+ and Ollama.
No paid model API, account, backend, or telemetry is required.
See the MCP setup guide for client configuration and safety details.
Contributions are welcome—see CONTRIBUTING.md. Licensed under MIT.