Updated agent docs and started local variable syntax