disable agent with memory