Puella Magi Madoka Magica is an anime produced by SHAFT and Aniplex, directed by Akiyuki Shinbo and written by Gen Urobuchi. It follows Madoka Kaname, a kind 14-year old girl who has a mysterious dream and encounters transfer student Homura Akemi. She also spends time with her friend Sayaka Miki at Mitakihara Middle School. The anime features magical girls who make contracts with Kyubey to fight witches and their minions. Main characters include Mami Tomoe, an experienced magical girl who mentors Madoka and Sayaka, and Kyoko Sakura, a veteran magical girl who appears later in the story.