President Obama waves as he poses for the family picture of the G-8 summit at the Lough Erne resort near Enniskillen in Northern Ireland. / Bertrand Langlois, AFP/Getty Images

by Aamer Madhani and Tom Vanden Brook, USA TODAY

by Aamer Madhani and Tom Vanden Brook, USA TODAY

WASHINGTON -- President Obama is expressing guarded optimism about the Taliban's announcement Tuesday that it will sit down for direct peace talks with U.S. and Afghanistan officials.

In comments at the Group of Eight summit in Northern Ireland, Obama said the direct talks are an "important development."

"This is an important first step towards reconciliation, although it is a very early step," Obama told reporters. "We anticipate there will be lots of bumps in the road."

The Taliban will open an office in the Gulf nation of Qatar as early as Tuesday to facilitate direct peace talks with Afghanistan and the United States.

Taliban spokesman Muhammed Naim confirmed at a news conference in Qatar that the group would participate in the talks. Naim said the Taliban is willing to use all legal means to end what it calls the occupation of Afghanistan, according to the Associated Press.

The announcement came as Afghan President Hamid Karzai said Tuesday that Afghan security forces have taken the lead for security operations from NATO.

Obama briefed fellow G-8 leaders about the development Monday night during a working dinner meeting.

There have been efforts since 2010 to engage the Taliban by Afghanistan and the United States, but those attempts have proved fruitless. The relaunch of talks, which are expected to include senior White House and State Department officials, would mark the most serious effort by all sides to come to some sort of political reconciliation just as the United States tries to wind down the war.

The Taliban commitment represents "an important first step toward reconciliation, the process that after 30 years of armed conflict in Afghanistan will certainly promise to be complex, long and messy," said a senior administration official, who spoke about details of the sensitive peace talks on the condition he not be identified..

In the first talks, which could come in a matter of weeks, the administration officials said they expect little substantive beyond U.S., Afghan and Taliban negotiators exchanging agendas.

Among the issues that the U.S. is expected to press the Taliban on are cutting ties to al-Qaeda and returning U.S. Army Sgt. Bowe Bergdahl, who went missing in Afghanistan nearly four years ago and is believed to be held by members of the Taliban-aligned Haqqani network.

The Taliban political commission, which is based in Doha, was authorized by Taliban leader Mullah Omar to begin the talks with American and Afghan officials, according to one administration official.

The officials said they do not know, at this point, who would represent the Taliban delegation in the talks, but expressed confidence it would representative of the entire movement.

While the administration officials said talks with the Taliban mark an important moment in 12-year-old conflict, they said it remained highly uncertain that the talks will lead to peace in the near-term.

"We need to be realistic," warned a second senior administration official. "This is a new development, potentially significant, but peace is not at hand."

Marine Gen. Joseph Dunford, the top commander in Afghanistan, told reporters at the Pentagon on Tuesday that he didn't know what impact the peace talks will have on levels of violence in Afghanistan. Afghan security forces, Dunford said, are losing 100 to 120 soldiers and police officers per week.

The Haqqani network, militants responsible for major attacks in Kabul and deadly assaults on U.S. troops in eastern Afghanistan, are unlikely to be swayed by peace talks, he said.

From what he'd seen, Dunford said, it's "hard to believe they are reconcilable."

Michael O'Hanlon, a military analyst with the Brookings Institution in Washington, said talks will have little effect on military operations in Afghanistan.

"The talks will go slowly and should be accompanied by modest expectations," O'Hanlon said.

The White House said Pakistan played an important role in prodding the Taliban to take part in peace talks.

"They understand that there is no stability in Pakistan without stability in Afghanistan," said one senior administration official.

The administration officials also cautioned that they don't expect the talks to have an immediate impact on reducing the level of violence in Afghanistan.

The U.S. military's combat role is scheduled to cease by the end of 2014, but it remains to be seen what sort of presence Obama will be willing to maintain in Afghanistan beyond next year.

The success of peace talks will likely play an important role in shaping Obama's decision.

"We don't expect that to happen immediately, perhaps even quickly," one senior administration official said. "But we hope it can contribute to that. The levels and nature of our presence are obviously going to be influenced, on one hand by levels of violence in Afghanistan and on the other by the presence or absence of international terrorists."