Students who used Woebot also reported a significant reduction in their symptoms of depression and anxiety, and said that the chatbot made them feel empathised with.
The chatbot, called Woebot, has been developed by researchers from Woebot Labs in San Francisco.
For many people with depression, taking the first step and visiting a doctor can be daunting.
But a new app could help to combat the condition without the need to even leave the house.
Researchers have created a chatbot that has been shown to decrease symptoms of depression and anxiety two times faster than traditional therapy.
Scroll down for video To assess how effective the chatbot is, the researchers tested Woebot on students suffering from anxiety and depression.
If you stop replying at any point, so does the bot.
As part of the learning process they set up two bots, known as a dialog agents, to teach each other about human speech using machine learning algorithms.
The bots were originally left alone to develop their conversational skills.
Boost Juice has defended an online campaign to promote a new smoothie to young adults, following concerns it normalises predatory behaviour.
The Facebook Messenger chatbot aimed at 18-24 year olds engages the customer in conversation before trying to persuade them to play a dating game.