10.1 · OperatingSpecialist
Running an agent: topology, storage, keys, scaling
An agent holds keys and relationships for one party. Running one means deciding where its keys live, where its records are kept and for how long, how its controller talks to it, and how it grows with traffic.
Keys. Keep signing and encryption keys where the host cannot copy them, and follow an established practice for their whole lifecycle RFC9901 §9.12. Plan for rotation from the start: a relationship can move to a new identifier DIDCOMM-2.0 §5.3, within the limits the rotation method sets DIDCOMM-2.0 §5.3.3, and a relationship can be ended DIDCOMM-2.0 §5.3.4.
Storage. Connection records, messages and credentials are personal data. Keep what the agent needs to run its protocols, and expire the rest.
Controller. An agent reports events and takes commands; whatever its controller accepts automatically is decided without a person ARIES-RFC-0004 §2.1.6. A wallet split between a server and an app has risks of its own OPENID4VCI-1.0 §13.4.
Scaling. Messaging is one-way and asynchronous DIDCOMM-2.0 §1.3, so an agent grows by queueing and processing messages rather than by holding connections open; transports carry the messages and have their own requirements DIDCOMM-2.0 §8.3.
Each step cites its source above; 8.2 Agents and controllers explains agents and controllers.
- Whoever operates the host can see, and act with, everything the agent holds that is not in a key store it cannot use.
- This page does not size a deployment: capacity depends on message rates and retention, which only measurement settles.
- ARIES-RFC-0004 Aries RFC 0004: Agents
- DIDCOMM-2.0 DIDComm Messaging v2.0
- OPENID4VCI-1.0 OpenID for Verifiable Credential Issuance 1.0
- RFC9901 Selective Disclosure for JSON Web Tokens