I'm not wild about this being an attribute, but I don't know of a sane way to detect the agent version at chef runtime. Perhaps @miketheman knows some tricks that could help here?