  We identify the category Shv_{Nilp}(Bun_G) of automorphic sheaves with
nilpotent singular support with its own dual, and relate this structure to the
Serre functor on Shv_{Nilp}(Bun_G) and miraculous duality.
