I would say it is both very pragmatic and very reasonable approach. Agents will probably not go anywhere, they are indeed useful tools, banning them seems pretty much unrealistic since people will use them anyway.
Torvalds is talking about the use of AI to develop the kernel; not about any kind of AI features included in Linux. (Which would be a user-space thing anyway, and therefore up to the individual distributions.)