Principled Integration of Specialized Components in Complex AI Systems