Federal agents raided the offices of three investment firms, officials said Monday, with the raids coming amid widespread speculation of hedge-fund insider trading allegations.