A-MemGuard is a pioneering defense framework for LLM agent memory that shifts from static filtering to a proactive, experience-driven model. It uses consensus-based validation and a dual-memory structure to detect anomalies and distill failures into 'lessons,' effectively cutting attack success rates by over 95%.