I'm not surprised, never expected him to retire.
Now for his contract, I expect Ainge to offer a similar contract that Pierce has, 1 year with another one partially guaranteed or giving KG a player option.
Next summer Howard and Smith are unrestricted, while James Harden is restricted FA.