<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_alias(agent, prefix, alias):
 """Adds an alias mapping with a contract. It has high latency but gives some kind of guarantee."""

    return _broadcast(agent, AddMappingManager, RecordType.record_CNAME,
                      prefix, alias)