Agent mode terminal not working

After many months, this is till an issue, here is my full summary of this and related problems: