B.G 5.14
न कर्तृत्वं न कर्माणि लोकस्य सृजति प्रभुः। न कर्मफलसंयोगं स्वभावस्तु प्रवर्तते ॥१४॥
na kartr̥tvaṁ na karmāṇi lokasya sr̥jati prabhuḥ। na karmaphalasaṁyogaṁ svabhāvastu pravartate ॥14॥
Neither the agency to act, nor acts of the world are directly driven by the master (of city of nine gates, i.e. individual soul). Thus, is not united with the results of action. They are but, driven as per their inherent nature.
Gīta Bhāshya 5.14
The word 'prabhu', 'the master', here refers to individual being, as he/she is more capable than inert matter. Individual being does not do in reality, hence is not the agent.
He does not do in reality, thus it is explained in 'na kartr̥tvam', i.e. 'has no agency' verse. Here the individual being is addressed as 'prabhuḥ', the lord, as he is more capable compared to inert matter.