modify top-level agent - core.py