Obama administration officials are prepared to keep U.S. troops in Afghanistan long enough for today's second-graders to have a shot at fighting in what is already America's longest war, according to a draft U.S.-Afghan agreement obtained by NBC News.

NBC said the draft deal "outlines what appears to be the start of a new, open-ended military commitment in Afghanistan in the name of training and continuing to fight al Qaeda."

It would allow U.S. troops to continue to operate in the country and oblige the United States to fund Afghan security forces "until the end of 2024 and beyond.”

The 25-page bilateral security agreement is set to be debated this week in Kabul by delegates to a traditional Loya Jirga assembly.