Suicide bombers have killed at least two police officers at government offices in the southeastern Afghan town of Khost.
One bomber targeted the department for counter-narcotics, while the second detonated explosives inside the main intelligence headquarters a few hundred metres away.
Taliban insurgents claimed responsibility for the strikes, saying that three members of the Islamist militant group were involved.
There were some casualties from the attack among officials in the intelligence department, another official said, but had no details.
Gunfire also erupted inside the building a short time later.
Afghan and foreign troops have cordoned off the area.
A surge of violence in Afghanistan this year has marked the bloodiest period since the Taliban's removal in 2001.
The violence has raised fears about Afghanistan's stability despite an increase in the number of foreign troops.