firebase agent impolemented