The agent for wide receiver Mario Manningham says the free agent has agreed to terms with the San Francisco 49ers on a two-year contract.