They Are Not Above the Law
Don't worry, FBI agents are not above the law. Oftentimes, they're investigated by their own bureau. They are supposed to be upheld to the standards of the FBI. If they're found to be breaking policy or using resources for their own gain, they will be investigated and maybe even fired.