The House had already passed the nearly $1 trillion farm bill that will set agriculture policy for the next five years. President Obama has said he would sign it into law.
The bill could be passed before the spring planting season. That's significant because farmers need to know early how it might affect prices and what to expect for their corn, wheat or tobacco yields.
The bill changes the current agricultural subsidy system that's been in place 80 years.
It ends direct payments to farmers for planting crops and replaces them with a beefed-up crop insurance program.
The government will make crop insurance cheaper and it will pay out some benefits at lower levels than it did previously. That will make farming less risky for some. The federal government could be more on the hook if crop prices plummet or if a disaster hits.
"This is not your father's Farm Bill. It's a new direction for American agriculture policy," said Sen. Debbie Stabenow, a Michigan Democrat who chairs the Senate agriculture panel.
The changes to food stamps would trim $8 billion from the program over the next 10 years.
Lawmakers say the deal will prevent 16 states and the District of Columbia from doling out more generous food stamps to people who get federal help to heat or cool their homes, even if the help is as little as $1. They stress the move won't cut families from food stamps, it will just shrink the amount some families get.
Oh Deere! Nice earnings for tractor maker
Advocates for the poor are irate. The newly-proposed reductions come just months after the $11 cut from food stamp checks that went into effect on Nov. 1, when the recession-era boost in funding ended.
Meanwhile, the bill ensures that the federal government will avoid re-implementing a 1940s era subsidy program that could have caused the price of milk to double to $7 a gallon from the current national average of $3.50.