Netflix has ordered a new half-hour comedy series starring comedian Maria Bamford, the streaming service announced on Friday.

“Lady Dynamite,” a Netflix production executive produced by Pam Brady, Mitch Hurwitz and Bamford, is based on the life of the series star.

According to the streaming service, occasionally surreal episodes refracted across multiple periods inspired by Bamford’s life, tell the story of a woman “who loses — and then finds — her shit.”

Also read: Matt Smith, John Lithgow Officially Cast in Netflix Series 'The Crown'

The single-camera comedy series has received a 13-episode order.

Bamford, who does a lot of voice work for animated series, has a number of television roles under her belt, including Hurwitz’s “Arrested Development,” on which she played Debrie Bardeaux.

See video: 'Orange Is The New Black' Star Danielle Brooks Names Her Sweetest Taystee Moment

“Lady Dynamite” is the latest addition to Netflix’s original comedy lineup, which already includes “Unbreakable Kimmy Schmidt,” “Grace and Frankie” and “BoJack Horseman.”