Senate Majority Leader Harry Reid of Nev., left, and Senate Minority Leader Mitch McConnell of Ky., right, attend a ceremony to award the Congressional Gold Medal posthumously to Constantino Brumidi in recognition of his artistic contributions to the US Capitol building, Wednesday, July 11, 2012, on Capitol Hill in Washington. (AP Photo/J. Scott Applewhite) Senate Majority Leader Harry Reid (D-Nev.), left, and Senate Minority Leader Mitch McConnell (R-Ky.)  (J. Scott Applewhite/AP)

Senate leaders were closing in on a deal Monday to raise the debt ceiling and reopen the government, with leaders of both parties expressing optimism that they will reach agreement soon.

Senate Majority Leader Harry M. Reid (D-Nev.) said he was "very optimistic" of reaching a deal soon, indicating as he opened the Senate floor for the day that he and Sen. Minority Leader Mitch McConnell (R-Ky.) were conducting "constructive, good-faith" negotiations.

McConnell likewise said "discussions continue" and said he shared Reid's "optimism that we're going to get a result."

One framework under consideration, according to a Senate source, was a deal that would fund federal agencies until Jan. 15 and raise the debt limit until Feb. 15.

The proposal would meet a Democratic demand that budget talks take place before a new round of sequestration cuts takes effect in January. Not yet settled between the sides is whether it would address a tax on medical devices.

Republicans are pushing for a delay or elimination of the tax but Democrats have resisted, citing their long-held position of not making concessions in exchange for raising the debt ceiling.

Reid and McConnell met multiple times Monday to discuss that proposal, which would require the two sides to open negotiations over a broader budget plan in coming months.

As a small group of Democratic negotiators left Reid’s office Monday afternoon, Sen. Amy Klobacher (D-Minn.) told reporters that the negotiations were “very productive” but that she could not say whether the current proposal was something House Speaker John Boehner (R-Ohio) could accept.

“One thing at a time,” she said.

Jackie Kucinich contributed to this report.