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