steps towards #222
at least now agents no longer generate parse errors