An autonomous downhole flow control and isolation device (10, 100) for use in a production well, comprising: a flow control valve (30, 300) locatable within the well at a downhole location, wherein the flow control valve (30, 300) is controlled by an electronics module comprising an on board processor (60, 600); a sensor (50, 500) in communication with the flow control valve (30, 300), wherein the sensor (50, 500) is configured to measure a local process parameter in the vicinity of the flow control and isolation device (10, 100), the sensor (50, 500) being controlled by the electronics module; and wherein the flow control valve (30, 300) is configurable by the electronics module to a flow control configuration in which the flow control valve (30, 300) is adjusted, independently from external instruction, in response to the measured local parameter, measured at a location of the downhole flow control and isolation device (10, 100), to control the fluid flow through the valve (30, 300) during production from the well to achieve a target local process parameter value selected to maintain a surface process parameter of the well within a desired range; and wherein the flow control and isolation device (10, 100) is reconfigurable by the electronics module to act as an isolation valve, wherein the flow control valve (30, 300) of the flow control and isolation device (10, 100) is configured to close the flow path through the flow control valve, independently of external instruction, in response to a pressure indicating a shut-in of the well, wherein when in the closed position the flow control and isolation device (10, 100) maintains a seal and isolates at least a portion of the well. a flow control valve (30, 300) locatable within the well at a downhole location, wherein the flow control valve (30, 300) is controlled by an electronics module comprising an on board processor (60, 600); a sensor (50, 500) in communication with the flow control valve (30, 300), wherein the sensor (50, 500) is configured to measure a local process parameter in the vicinity of the flow control and isolation device (10, 100), the sensor (50, 500) being controlled by the electronics module; and wherein the flow control valve (30, 300) is configurable by the electronics module to a flow control configuration in which the flow control valve (30, 300) is adjusted, independently from external instruction, in response to the measured local parameter, measured at a location of the downhole flow control and isolation device (10, 100), to control the fluid flow through the valve (30, 300) during production from the well to achieve a target local process parameter value selected to maintain a surface process parameter of the well within a desired range; and wherein the flow control and isolation device (10, 100) is reconfigurable by the electronics module to act as an isolation valve, wherein the flow control valve (30, 300) of the flow control and isolation device (10, 100) is configured to close the flow path through the flow control valve, independently of external instruction, in response to a pressure indicating a shut-in of the well, wherein when in the closed position the flow control and isolation device (10, 100) maintains a seal and isolates at least a portion of the well.