I also drive an AGM battery with these BMWs for the first time, but current batteries have an exhaust hose when they gas. I just sold a Toyota that didn't have an AGM, a lead acid battery, I changed it and it had an appropriate hose that went outside.
But again, what good is the open window when the AGM is in the trunk. You worry where you don't need to.
Up until four weeks ago, both of my BMWs were constant for about 6 months without a break on the charger, on the AGM-compatible charger, and nothing happened, neither exploded or gasified the passenger compartment.
That should calm you down.