The Taliban in Afghanistan isn't/wasn't listed officially as terrorist group by the US government. The Taliban in Pakistan, however, is a terrorist organization, according to the US government.
The Taliban in Afghanistan may be morally repugnant, violent fundamentalists, but they are technically not a terrorist organization (in the context of the US)