NFL.com's Ian Rapoport reported Saturday that the Bills agreed to a two-year deal with Kevin Kolb, according to a source with knowledge of the negotiations. Kolb had been in Buffalo for a few days, Rapoport reported.

Kolb agreed to a two-year contract worth up to a maximum of $12 million to $13 million, a source involved in the deal told Rapoport. Those financials suggest the Bills view Kolb -- and nobody else -- as the starter heading into offseason activities. With Kolb amassing roughly $36 million over his first six seasons in the league, the man -- if nothing else -- knows how to play the system.

ESPN's Adam Schefter first reported the news on Kolb, who was released earlier this month by the Arizona Cardinals.

Rapoport reported Friday that Buffalo had reached out to Kolb and his agent Jeff Nalley to investigate where the six-year veteran was physically and mentally after two disappointing, injury-prone seasons in Arizona.

Kolb was reportedly on the radar of the New York Jets and Oakland Raiders. Rex Ryan's search for an adequate passer rages on, while the Raiders are mired in trade talks with the Seattle Seahawks for the rights to Matt Flynn.