After a free-agent quarterback workout today that also featured Boller and Dennis Dixon, the Ravens have agreed to a one-year deal with Painter, who started eight games last year for an Indianapolis Colts team that was without Peyton Manning. Caldwell, now the Ravens’ quarterbacks coach, was Painter’s head coach for the previous three seasons in Indianapolis.

In his career, Painter, 26, has appeared in 11 games, all but two of them coming this past season. The sixth-round pick out of Purdue has completed 140 of 271 passes (51.7 percent) for 1,624 yards, six touchdowns and 11 interceptions.

He’s expected to compete in training camp for the backup job that is currently held by second-year quarterback Tyrod Taylor. The Ravens have kept only two quarterbacks on their active roster for the previous two seasons.

That could be the direction that they go in again, but even if it is, the Ravens will still need extra quarterbacks to take repetitions in the various offseason camps.

Boller, 30, was certainly the most intriguing name working out for team officials today. He was a former first-round pick by the Ravens who was at one time considered the franchise quarterback. However, he never proved able of filling that role over five seasons in Baltimore and he became a lightning rod for fan discontent.

He played in 53 games with the Ravens, starting 42 of them. He had a 20-22 record in those starts. He completed 56.9 percent of his passes with the Ravens, throwing 45 touchdowns and 44 interceptions.

Boller has spent the past two seasons as a backup with the Oakland Raiders, starting one game in 2011. Dixon, 27, has been with the Pittsburgh Steelers the previous four seasons, starting three games.