A rational agent makes decisions based on knowledge it has (agent acting in the real world under resource constraints).
An ideal rational agent will act to “maximise its expected performance measure” on the basis of provided information by ‘percepts’ from the environment. However rational doesn’t mean perfect or omniscient.