Terms
The enrollment flow
1
Inspect
The agent reads the AEP advertisement of the service. It lists the supported commands, methods, and credential types.
2
Enroll
The agent enrolls. InFlow can ask the owner to approve the enrollment.
3
Get a credential
The service issues a credential. The InFlow CLI stores it in the encrypted vault.
4
Call the service
The agent calls protected resources with the credential. The baseline authentication header is
Authorization: AEP <jwt>.How AEP connects to ODP and payments
An agent often finds the service first with Discovery (ODP). An ODP action or a paid endpoint can need enrollment. For a paid endpoint, the InFlow CLI sends the AEP credential together with the payment credential.Use AEP
SDKs and specification
AEP has SDKs for Go, Java, Node.js, Python, and Rust in the aep-foundation organization. The Python package isagent-enrollment-protocol on PyPI, with four modules: core, agent, service, and platform.