AIR env API

(unstable)