Synthetic biology has great potential for future therapeutic applications including autonomous cell programming through the detection of protein signals and the production of desired outputs. Synthetic RNA devices are promising for this purpose. However, the number of available devices is limited due to the difficulty in the detection of endogenous proteins within a cell. Here, we show a strategy to construct synthetic mRNA devices that detect endogenous proteins in living cells, control translation and distinguish cell types. We engineered protein-binding aptamers that have increased stability in the secondary structures of their active conformation. The designed devices can efficiently respond to target proteins including human LIN28A and U1A proteins, while the original aptamers failed to do so. Moreover, mRNA delivery of an LIN28A-responsive device into human induced pluripotent stem cells (hiPSCs) revealed that we can distinguish living hiPSCs and differentiated cells by quantifying endogenous LIN28A protein expression level. Thus, our endogenous protein-driven RNA devices determine live-cell states and program mammalian cells based on intracellular protein information.