The stand-up comedian will star in and co-write the semiautobiographical comedy, which has scored a pilot order at the streaming service.

Tig Notaro is ready to turn her life into a scripted comedy.

The stand-up comedian — currently the subject of an HBO comedy special and a Netflix documentary — is set to star in and co-write a semiautobiographical comedy for Amazon, The Hollywood Reporter has learned.

The untitled comedy, which has landed a pilot order at the streaming service, will be written by Notaro and Oscar winner Diablo Cody (Juno). Notaro and Cody will executive produce the single-camera entry alongside Louis C.K. The Notaro comedy hails from C.K.'s FX Productions-based Pig Newton banner. Dave Becky of 3 Arts and Blair Breard (Louie) also are attached as executive producers.

Here's the logline : " Tig Notaro has just recovered from an abdominal disease that has left her gaunt, wasted, exhausted and pretty much stripped of everything except her finely honed sense of the absurd. Abruptly summoned home to Pass Christian, Miss., to take her ailing mother off life support, Tig finds herself dealing with her clingy girlfriend, her dysfunctional Gulf Coast family and the loss of the one person who held everything together."

The comedy initially was set up as a script deal at FX but recently moved to Amazon, where it was picked up to pilot.

See more Broadcast TV's New Shows 2015-16

FX Productions and Amazon declined comment.

The deal expands Notaro and C.K.'s relationship, after the latter used his website to release her 2012 stand-up show in which she addressed the death of her mother, as well as recent cancer treatments and personal struggles after being diagnosed with cancer in both breasts.

For her part, the openly gay Notaro wrapped a nationwide stand-up tour in January after the emotional special — which later was released on iTunes — took off. She scored a Showtime documentary, an HBO comedy special and a Netflix documentary, which recently premiered.

Notaro, who has been featured on The Sarah Silverman Program and frequently collaborates with the comedian, also has appeared on Inside Amy Schumer and popped up in Trainwreck.

Louie star C.K., meanwhile, is exec producing Zach Galifianakis FX comedy Baskets and is attached to direct the cabler's Pamela Adlon half-hour pilot Better Things — both via his Pig Newton banner.

Notaro is repped by Integral Entertainment and Ziffren Brittenham. C.K. is with 3 Arts and Sloane Offer. United States of Tara creator Cody, who next has Ricki and the Flash due in theaters, is with WME, MXN and McKuin Frankel.