A government or organization that works against or opposes another agency or force.
Counter- + agency (an organization or force). This term emerged in 20th-century government and military contexts to describe institutions created specifically to oppose rivals.
The FBI counteracts organized crime, but you might say they act as a counteragency to mob operations—though using 'counteragency' itself is so rare that most people would just say 'opposing agency.'
Complete word intelligence in one call. Free tier — 50 lookups/day.