The 49ers will retain free-agent wide receiver Kassim Osgood, bringing the 11-year veteran back on a one-year deal to compete for a job on special teams.