Fleshed out agents/basic.py