Knowledge and rationality in non-linguistic agents