The designator agent allows the children of an agent (always aliases) to refer to the agent's attributes. N.B. this is only available in agent queries and actions (i.e. $AgentQuery and $AgentAction) and no other contexts. This is similar to the 'adornment' designator.
In this context, using parent would result in the value being taken from the parent of the original note to which the alias refers.