fixing agent initialization with proper agent.py code