The San Francisco 49ers have agreed to terms with offensive lineman Barry Sims, according to John Clayton of ESPN.com. The 49ers beat out the rival St. Louis Rams for his services. Sims agreed to a two-year deal, but financial terms weren't available.