Why Ahsoka Is Star Wars' Gandalf (According to Dave Filoni)
There are several similarities between Ahsoka Tano in Star Wars and Gandalf in Lord of the Rings, and they tell a lot about Ahsoka's future.

As Dave Filoni suggested, Ahsoka could be considered the Gandalf of Star Wars. Originally appearing in the Star Wars: The Clone Wars films, Ahsoka went from a character who existed in Star Wars Scout to audience-favorite Jedi, with a legacy that can already be compared with legends like Darth Vader and Luke The characters are compared. Nearly 17 years after the Clone Wars movies, Ahsoka's Star Wars journey is far from over.
Two years after Ahsoka's mysterious return in the Star Wars Rebels finale, the character made the leap to live-action in Rosario Dawson's The Mandalorian. Ahsoka then returned in The Book of Boba Fett, and now the Mandoverse is moving forward with the Ahsoka series. Dave Filoni is writing, producing, and directing The Ahsoka Show, which could solidify Ahsoka's journey to becoming a Star Wars version of Gandalf and draw some parallels between the two characters .
Every Time Dave Filoni’s Ahsoka Story Referenced Gandalf

The first parallel between Ahsoka and Gandalf occurs at the end of Star Wars Rebels season four, which takes Ahsoka back to the story after the events of "The World Between Worlds". Ahsoka is officially dead to everyone except Ezra, but she returns at the end wearing a long white cloak and holding a Staff - very much like Gandalf in The Lord of the Rings: The Two Towers. For this reason, that version of Ahsoka began to be described as "White Ahsoka". In a Q&A after the Star Wars Rebels finale (via Youtube), Dave Filoni confirmed that Tolkien and Gandalf were his inspirations.
In 2019, Star Wars: The Rise of Skywalker was released, and there is a pivotal scene where Rey hears the voices of all the Jedi in front of her. Episode IX hints that Rey is listening to the voices of dead Jedi, including long-dead Star Wars characters like Yoda and Anakin, but also Ahsoka. Ahsoka's voice in The Rise of Skywalker was shocking, as Ahsoka's status after the Rebels finale remains a mystery. However, Filoni then tweeted out a doodle of Gandalf, telling Ahsoka that people thought he was dead too. Most recently, Filoni said Ahsoka is "going to Gandalf state" (via Vanity Fair).
What Ahsoka Being Star Wars’ Gandalf Tells About Her Future

Dave Filoni's "Gandalf State" review summarizes Ahsoka's Star Wars journey since she fought Darth Vader in Star Wars Rebels' "The Twilight of the Apprentice". Ahsoka was facing the most powerful enemy she could ever face, Similar to how Gandalf faced the Balrog. Like Gandalf defeating the Balrog, Ahsoka survives Darth Vader, but they both must embark on a journey of self-discovery before returning. Gandalf returned wiser and stronger in both towers, something similar must have happened to Ahsoka now after the world between worlds.
Ahsoka combines the "official Jedi" setting of the Star Wars prequels with the spontaneity of the Jedi of the original trilogy to form a unique Star Wars character. Dave Filoni has yet to reveal when The Mandalorian and The Book of Boba Fett will end Star Wars Rebels, Ahsoka in Rebels It's possible that the scene in the ending will take place after her appearance in the Mandoverse. If that's the case, the Ahsoka series could show Ahsoka's journey into what Filoni describes as "the Gandalf state." Oddly enough, Ahsoka wears a gray robe in The Mandalorian instead of a white one.