The CIA is funding federal research into surveillance of Internet chat rooms in an effort to identify possible terrorists.