Single-protein-based devices that integrate signal sensing with logical operations to generate functional outputs offer exceptional promise for monitoring and modulating biological systems. Engineering such intelligent nanoscale computing agents is challenging, as it requires the integration of sensor domains into a functional protein via intricate allosteric networks. We incorporate a rapamycin-sensitive sensor (uniRapR) and a blue light-responsive LOV2 domain into human Src kinase, creating a protein device that functions as a noncommutative combinatorial logic circuit. In our design, rapamycin activates Src kinase, causing protein localization to focal adhesions, whereas blue light exerts the reverse effect that inactivates Src translocation. Focal adhesion maturation induced by Src activation reduces cell migration dynamics and shifts cell orientation to align along collagen nanolane fibers. Using this protein device, we reversibly control cell orientation by applying the appropriate input signals, a framework that may be useful in tissue engineering and regenerative medicine.