(A) Do you OK?
(B) Do you agree?


(A) is not good English. You could say , "Do you think that's OK?" but that would be more like asking if something is acceptable and wouldn't necessarily imply that the person asked agreed. You could also say, "Can you OK this?" which would mean that you are asking for permission. Neither would be the same as (B).