Update agent.py
Merge pull request #1 from nnugumanov/patch-6

Update agent.py