1. A method, comprising: providing a hierarchical multi-level decision tree structure comprised of internal nodes and leaf nodes, the decision tree structure representing a task; and navigating, using information derived from detected mental states of a user, through levels of the decision tree structure to reach a leaf node to accomplish the task.