A tough biocompatible hydrogel having one or more drug delivery components, deformable conductors, and/or rigid electronic components incorporated therein in such a way that robust interfaces are formed between the hydrogel and the various components. The resulting hydrogel device provides a highly deformable hydrogel composite in which the reliability and functionality of the incorporated components are maintained even under states of large deformation, and from which one or more drugs can be delivered in a controlled and sustained manner regardless of the state of deformation.