Gellar is set to co-star in the CBS pilot Crazy Ones, a single-cam comedy about a father (Williams) and daughter who run an advertising agency together. The former Buffy the Vampire Slayer star will play Sydney Roberts, the intense and driven daughter of Williams’s Simon Roberts.

Gellar last headlined CW’s one-season drama Ringer, a role that was billed as her post-Buffy return to television and was part of the 2011-2012 TV season.

CBS announced the pilot order for Crazy Ones, a project by David E. Kelly, and two drama pilots earlier this month.

Now, these kids are not destined. In fact, loving each other was a byproduct of their destinies in the sense of their destinies brought them together, but them loving each other actually pushed against their destinies. Their destiny is the mission. Their love distracts from that. The mission wins out. This is their great tragedy. ~ anythingbutgrey, about Cangel

Robin Williams and Sarah Michelle Gellar have been cast as father and daughter in Crazy Ones, a single-camera workplace sitcom being devloped for CBS, E! News has confirmed.

And, better yet, it's a David E. Kelley-produced workplace sitcom!

Sarah Michelle Gellar has been keeping busy playing a mommy of two

The Ally McBeal and Boston Legal creator (and master of workplace situation anything) is reportedly teaming with frequent producing partner Bill D'Elia and Arrested Development coexecutive producer Dean Lorey on the pilot—the quality of which we are now holding out so much hope for.

Crazy Ones, which is set in an advertising agency (hmm, do we sense a play on Mad Men?), marks Williams' first TV venture—give or take a handful of guest appearances—since Mork & Mindy, which signed off in 1982.

And consider us tickled to see Gellar headed back to the small screen after Ringer only lasted a single season on the CW.

Now, these kids are not destined. In fact, loving each other was a byproduct of their destinies in the sense of their destinies brought them together, but them loving each other actually pushed against their destinies. Their destiny is the mission. Their love distracts from that. The mission wins out. This is their great tragedy. ~ anythingbutgrey, about Cangel

"Buffy the Vampire Slayer" herself, Sarah Michelle Gellar, is attempting a return to TV. The actress was last seen on CW's "Ringer," which was canceled after one season in early 2012. This time, she's looking to make the audience laugh, and she's got a secret weapon named Robin Williams.

THR reports Gellar has signed on to co-star with Williams in the CBS pilot "Crazy Ones." The show is a single-camera comedy, about an advertising agency run by a father and daughter. Williams plays Simon Roberts, while Gellar plays his driven, yet practical daughter, Sydney.

The pilot's script is written by TV veteran David E. Kelley, who is also the show's producer. If the show goes to series, it would be Williams' first since "Mork & Mindy" ended in 1982.

Now, these kids are not destined. In fact, loving each other was a byproduct of their destinies in the sense of their destinies brought them together, but them loving each other actually pushed against their destinies. Their destiny is the mission. Their love distracts from that. The mission wins out. This is their great tragedy. ~ anythingbutgrey, about Cangel

RELATED | Pilot Season 2013: Get Scoop on This Fall’s (Possible) Newcomers and Who’s in Them

Crazy Ones, from David E. Kelley (Ally McBeal), is a father/daughter workplace comedy set in the world of advertising. Mork & Mindy alum Robin Williams will play Gellar’s character’s dad, and Political Animals‘ James Wolk has signed on as an office hottie (and potential love interest?).

Jason Winer (Modern Family) will direct the pilot.

If the project goes to series, it will be Gellar’s first since The CW cancelled her drama Ringer last year. The actress is, of course, known best for wielding a stake as Joss Whedon’s Buffy the Vampire Slayer for seven seasons.

Now, these kids are not destined. In fact, loving each other was a byproduct of their destinies in the sense of their destinies brought them together, but them loving each other actually pushed against their destinies. Their destiny is the mission. Their love distracts from that. The mission wins out. This is their great tragedy. ~ anythingbutgrey, about Cangel

The former "Buffy" star will play the Oscar winner's daughter in the David E. Kelley workplace comedy pilot.

Sarah Michelle Gellar is coming back to the small screen -- in a comedy.

The former Buffy the Vampire Slayer star will co-headline CBS' workplace comedy Crazy Ones, The Hollywood Reporter has learned.

The single-camera entry revolves around the dynamics between a father named Simon Roberts (Good Will Hunting Oscar winner Robin Williams) and his daughter and is set in the world of advertising.

Gellar will play Sydney Roberts, Simon's daughter. She's described as pretty, intense, driven, organized and burdened with being practical. Sydney is the creative director and life and soul of the Roberts and Roberts Advertising Agency at the center of the comedy. She wants to be her father but is too busy having to parent him.

Political Animals alum James Wolk also co-stars as Zach Cropper, a copywriter at the agency.

For Gellar, the role marks her second potential series-regular role in a half-hour comedy and comes a year after the CW axed her twin drama thriller Ringer. The actress previously shot an ill-fated comedy pilot for HBO in 2009 that failed to go to series.

In addition to her title role in Buffy, the actress has voiced multiple characters in American Dad, Robot Chicken and The Simpsons. On the feature side, her credits include The Grudge and the Scooby-Doo series. She's repped by ICM Partners, Brillstein Entertainment and Morris Yorn.

The casting comes a month after the actress was developing a family comedy written by Men at Work's Shepard Boucher and exec produced by Apartment 23's David Hemingson and Margaret Riley. The project failed to move forward.

Now, these kids are not destined. In fact, loving each other was a byproduct of their destinies in the sense of their destinies brought them together, but them loving each other actually pushed against their destinies. Their destiny is the mission. Their love distracts from that. The mission wins out. This is their great tragedy. ~ anythingbutgrey, about Cangel

Now, these kids are not destined. In fact, loving each other was a byproduct of their destinies in the sense of their destinies brought them together, but them loving each other actually pushed against their destinies. Their destiny is the mission. Their love distracts from that. The mission wins out. This is their great tragedy. ~ anythingbutgrey, about Cangel

Now, these kids are not destined. In fact, loving each other was a byproduct of their destinies in the sense of their destinies brought them together, but them loving each other actually pushed against their destinies. Their destiny is the mission. Their love distracts from that. The mission wins out. This is their great tragedy. ~ anythingbutgrey, about Cangel

Now, these kids are not destined. In fact, loving each other was a byproduct of their destinies in the sense of their destinies brought them together, but them loving each other actually pushed against their destinies. Their destiny is the mission. Their love distracts from that. The mission wins out. This is their great tragedy. ~ anythingbutgrey, about Cangel