Long-running AI chat sessions often degrade as the model's context window fills, leading to repetition and loss of focus. DriftGuard provides a real-time monitoring solution for AI CLIs like Claude Code, Gemini CLI, Codex CLI, and Cursor. It directly reads session files and analyzes key signals, such as context depth, repetition, and response length, to calculate a comprehensive drift score. This helps users understand when their AI conversation is degrading and offers tools, like a context handoff generation, to ensure productive, focused interactions without losing important session history.
主要功能
01Supports Claude Code, Gemini CLI, Codex CLI, and Cursor
02Configurable drift measurement factors and warning thresholds
03Real-time AI conversation drift monitoring
04Generates comprehensive session handoffs for new sessions
05Directly analyzes session files without external APIs or UI
064 GitHub stars