>Genes, proteins and processes such as evolution don’t have goals, but a person certainly does. So, too, do plants and bacteria, on more-simple levels
If we're expanding the scope of what we consider to have agency and goal directedness why stop there? Evolution is analogous to a hill climbing algorithm which also has the same properties.