A device includes a sensor configured to determine a condition associated with a nucleus pulposus, a reservoir configured to include a first agent capable of affecting the condition associated with the nucleus pulposus, a control element configured to provide access to the reservoir, and a controller in communication with the sensor and the control element. The controller is configured to manipulate the control element to provide access to the reservoir in response to the condition determined by the sensor.