You are welcome to talk with one another, in English, as much as you like, about your work in the assignment. That includes getting clear on what the programming problems are, getting clear on how you might solve them, and discussing why specific algorithms may or may not constitute possible solutions, and figuring out how you can test hypotheses about agents.
However, what you hand in should be your own work.
Finally, use the same care in asking questions of a friend as you would in asking us for help. Ask specific questions to resolve impasses and guide your learning. Do not simply request solutions. The point of the assignment is to gain skills and experience to understand AI and programming better. Exams will test whether you have these skills. Anyway, that's what you're here for.
For more details see the DCS academic integrity policy.