Able to adapt its behaviour to what it meets. Smartness is responsiveness, and it is not understanding.
Old English smeortan (to hurt, to feel a stinging pain), from Proto-Germanic *smertan; the sense of quickness and wit grew from the older idea of something sharp enough to sting.
Able to adjust its behaviour to what it meets — responsiveness, which is a different thing entirely from understanding.