The RFC introduces the addition of agent instructions into XCM, specifically introducing three
new instructions: SetAgent, RemoveAgent, and TransactAsAgent. These instructions empower a
location to designate an agent to operate on its behalf, enabling the agent to dispatch calls on behalf of the origin. This is particularly beneficial for local accounts, which can act as
agents for remote locations. This reduces the number of Transact instructions the remote
location needs to send. An agent is also able to dispatch calls via XCM using the
TransactAsAgent instruction.
Summary
The RFC introduces the addition of agent instructions into XCM, specifically introducing three new instructions: SetAgent, RemoveAgent, and TransactAsAgent. These instructions empower a location to designate an agent to operate on its behalf, enabling the agent to dispatch calls on behalf of the origin. This is particularly beneficial for local accounts, which can act as agents for remote locations. This reduces the number of Transact instructions the remote location needs to send. An agent is also able to dispatch calls via XCM using the TransactAsAgent instruction.