8.2 · Agents and walletsWorking
Agents and controllers
In messaging-based ecosystems, an agent is software that acts for one party: it holds that party’s keys, keeps its relationships, sends and receives messages, and runs protocols. Deployments often split it in two. The agent speaks the protocols, and a controller holds the business rules and tells the agent what to do.
An analogy
A switchboard, and the office manager who decides which calls to take.
Where it breaks:
- The agent holds signing keys, so whatever it is configured to accept automatically is decided without a person.
- The split between agent and controller is a way of building one, not a rule of any specification (our inference).
Precisely
It acts as a fiduciary on behalf of a single identity owner
How agents talk ARIES-RFC-0004 §2.1.3, and the general patterns of building one ARIES-RFC-0004 §2.1.6.
Diagram
Who can see what
- The controller sees every event the agent reports, which can include the content of messages and credentials.
What this does not do
- An agent does not decide what to trust unless its controller, or its configuration, tells it to.
Verified against
- ARIES-RFC-0004 Aries RFC 0004: Agents