FX has greenlit a comedy pilot created by and set to star Cristin Milioti and Nina Pedrad, Variety has learned.

The half-hour comedy follows Maxine, her best friends Natalie and Amy, and stepbrother Landis, as they navigate the abject sh-t-storm that is adulthood.

Maxine (Milioti) is an entitled actress-turned-process-server who takes lemons and makes a fire out of lemons, burning herself and others. Her dysfunctional, tight-knit clan serves as her surrogate family. Natalie (Pedrad) is described as s harp-witted and scientifically inclined. She sells weed and prescription drugs and wants to be the Sheryl Sandberg of weed, but blanches at the term “drug dealer.” The other two roles have yet to be cast.

Milioti and Pedrad wrote the pilot together and will serve as exec producers. Pedrad will serve as showrunner.

“We are so excited to be working with a network as fearless as FX and are honored to potentially join the fives of shows about women on television today,” said Milioti and Pedrad.

Other exec producers are “It’s Always Sunny in Philadelphia’s” Rob McElhenney, Charlie Day and Glenn Howerton, who will produce through their RCG Productions, plus 3 Arts’ Michael Rotenberg and Nick Frenkel.

Milioti is familiar to the FX family from her role “Fargo’s” second season. She played the mother on “How I Met Your Mother,” and also starred in NBC’s comedy “A to Z.” Her film credits include a role in Leonardo DiCaprio’s “The Wolf of Wall Street,” and her stage credits include the Broadway musical “Once” for which she was nominated for a Tony Award for best actress in a musical. She is repped by The Gersh Agency and Untitled Entertainment.

Pedrad — whose sister is “SNL” alum Nasim Pedrad — is a writer and supervising producer on Fox’s “New Girl.” She has written for an appeared in “30 Rock” for which she was nominated for a Writers Guild of America award in 2013 and 2014. She is repped by UTA and 3 Arts.