Disclosed herein are biocompatible materials useful for tissue regeneration and repair, wherein the bioactive polymer may be in the form of a hydrogel, for example a thermoresponsive hydrogel. This bioactive polymer and a resulting hydrogel, may be used for the regeneration of bone tissue. Accordingly, also disclosed herein are methods of treating a bone defect in a mammal, the methods comprising administering a therapeutically effective amount of a hydrogel formed by the bioactive polymer to the mammal to treat the bone defect.