Kate Warne was a real person. She worked for Allan Pinkerton in Chicago in the 1850s-60s (including during the Civil War), making her the first female detective in America. And yes, she was awesome.