TypeError: agent_go () prend 0 arguments de position mais 1 a été donné

It's simply because your function accepts no argument but you have
given some argument, remove it and run again should solve issue :)
Friendly Fowl