A South Deerfield resident is accused of spitting in the eye and face of an FBI agent Tuesday as agents searched a South Main Street apartment in connection with a weapons investigation at the U.S.