Sean Hayes has developed an LGBTQ series for Netflix with Mike Schur.

The Will & Grace star has teamed up with The Good Place showrunner for a queer, spy cartoon called Q-Force, and it’s already been given a 10-episode order from Netflix.

The project will focus on a “handsome secret agent and his team of fellow LGBTQ superspies”  who are “constantly underestimated by their colleagues” and must “prove themselves times and again as they embark on extraordinary professional (and personal) adventures.”

Hayes will reportedly voice the lead character, who is being touted as a “gay James Bond”.

Gabe Liedman (Brooklyn Nine-Nine, PEN15), will act as showrunner and executive producer alongside Hayes and Schur, as well as Todd Milliner (Grimm) and David Miner (30 Rock, Unbreakable Kimmy Schmidt).

“A spy TV series is so tough, because they’re so expensive,” said Milliner. “We were thinking how do we get to do gay spy and every week, and the only way to do that is animated, because we can do all of the fun parts of a James Bond film.

“We can travel, we can have big chase sequences; animation is allowing us that freedom.”

Hayes added: “Also, I don’t know that the studios would greenlight a feature with a leading character that’s gay in that genre. Hopefully they will, but that doesn’t seem like right now.

“I’ve been friends with Mike for a long, long, long time, and I was literally driving my car to work, and he was walking.

“I pulled over and I rolled down my window and I said. ‘Hey Mike, would you want to work on something together?” He’s like, ‘What is it?’ And I said ‘Gay James Bond’, and he said, ‘Yeah, I would do that’. So that’s how it all kind of started.”

No other cast members have been announced, and the premiere date is yet to be confirmed.

Related: Madonna threw some major shade at Sean Hayes while filming Will & Grace.