Add ag as a dependency