Cognitive behavioral therapy (CBT) can be a very effective treatment for depression and anxiety, but managing it through nonfree software, and prescribing this to children, is an extraordinarily bad idea: https://u.fsf.org/2r4