Adding initial agent code.