Build a middleware agent wrapper that detects and mitigates user sycophancy using a behavioral gating mechanism. This is vital for enterprise bots meant to provide objective advice.