We will discuss the problem of Langlands duality for the principal series category (alias: D-modules on the semi-infinite flag variety). In particular, we will explain how to relate Whittaker invariants to local systems for the Langlands dual group. This work can be understood as a chiralization of the Arkhipov-Bezrukavnikov theory.