Electric compressor, like a home aircon unit.
With a 0.9kWh NiMH battery (usable capacity about half that), the Yaris hybrid gets about 5-10 minutes of aircon before the engine kicks in. The engine runs for maybe a minute and then turns off again.
Theo