The present invention relates to a gel composition, comprising first and second gel-forming moieties which bind reversibly to one another to form a gel. The binding of the moieties is sensitive to the level of an analyte, and either or both of the gel-forming moieties are attached to cross-linked particulate entities such that the interstices between the entities allow gel-sol and sol-gel transformation, and yet are not so small that the analyte cannot diffuse therethrough. The invention also provides drug delivery systems and sensors for detecting an analyte utilizing such a gel.