The Scotland internationalist has also previously played for Celtic and Coventry City and now joins the Dons ahead of their winter training camp in Dubai.
Manager Derek McInnes told the club website: “I'm delighted Dylan has joined us - he’s a player I’ve admired for a considerable period. We’ve struggled with injuries in the midfield and bringing in a player of his ability will reinforce that area of the team and benefit us greatly.”