Imagine a gadget that knows your mind better than you do.