Fixing dependency conflict issue in Agent