Add, format, sync, and re-organize AGF messages