Bureau of Military Information
The Bureau of Military Information (BMI) was the first formal and organized American intelligence agency, active during the American Civil War. == Predecessors == Allan Pinkerton was contracted by Federal and a number of state and local governments to solve cases such as train robberies.
Source: Wikipedia — Bureau of Military Information (CC BY-SA 4.0)