The realm of artificial intelligence (AI) is often shrouded in mystery, particularly when it comes to understanding the concept of agency. However traditional programming focuses on predefined tasks, true AI agency involves a system's ability to carry out actions autonomously and derive decisions based on its understanding of the environment. This