With the Rockets hoping to lock up a return to the playoffs, they reached agreement Monday with one of the key players from the last time they were there.

The Rockets will sign point guard Aaron Brooks to a two-year contract Tuesday, with the team hoping to add to its backcourt depth and perimeter shooting, and Brooks hoping to recapture the success of his early seasons in the NBA.

“I just think I can help out,” Brooks, 28, said. “That’s all I want to do. I’m comfortable there. They have a good team and a good coaching staff. It feels good. I’m definitely happy to be coming back.”

Brooks reached agreement on a buyout of his contract with Sacramento on Friday in time to be eligible for the postseason. After playing last season in China, he had talked about a return to the Rockets as a free agent in July, but signed a two-year deal worth $6.6 million with the Kings.

The first player drafted by Daryl Morey as Rockets general manager, Brooks signed for $2.4 million for the rest of the season, with a second season worth $2.5 million at the team’s option, according to an individual with knowledge of the deal.

Brooks, 6-0, was a key to the Rockets’ last playoff season and only playoff series win since 1997 when he averaged 19.6 points and 5.3 assists in 2008-09. The Rockets beat Portland in the first round and took the Lakers to seven games in the second round with Yao Ming going out in Game 3.

“It’s definitely important to get back (to the postseason),” Brooks said. “The fans deserve that. I think the coaches and the team definitely deserve to go.”