Restricted free agent Ivan Barbashev agreed to terms with the St. Louis Blues on a two-year contract worth an annual average value of $1.475 million, the team announced Sunday.