Planning in AI involves choosing a sequence of tasks to achieve a goal. Planning in non-deterministic domains must account for uncertainty, with approaches including sensorless planning for environments with no observations, contingent planning for partially observable non-deterministic environments, and online replanning for unknown environments. An example involves painting a chair and table the same unknown color from two cans of unknown paint, requiring reasoning about percepts obtained during plan execution to solve this partially observable problem.