Restructured AGI template