A canny person is clever and able to think quickly. You can also describe a person's behaviour as canny. He was far too canny to risk giving himself away = shrewd
showing self-interest and shrewdness in dealing with others; "a cagey lawyer"; "too clever to be sound"