Start implementing agent stuff.