agent model
aip and package changes