This page lays out two options for connecting a front-end to an AEA. The following diagram illustrates these two options.
The first option is to create a
HTTP Server connection that handles incoming requests from a REST API. In this scenario, the REST API communicates with the AEA and requests are handled by the
HTTP Server connection package. The REST API should send CRUD requests to the
HTTP Server connection (
fetchai/http_server:0.23.6) which translates these into Envelopes to be consumed by the correct skill.
The second option is to create a front-end comprising a stand-alone
Multiplexer with a
P2P connection (
fetchai/p2p_libp2p:0.27.5). In this scenario the Agent Communication Network can be used to send Envelopes from the AEA to the front-end.