What is an AEA?AEA stands for "Autonomous Economic Agent". An AEA can represent an individual, organisation or object and looks after its owner's interests. AEAs act independently of constant user input and autonomously execute actions to achieve their prescribed goals. Their purpose is to create economic value for their owners.
How do AEAs talk to each other when they do not know each other?For an Autonomous Economic Agent (AEA) to talk to other AEAs, it first needs to find them. Once it does, it should ensure that they both use the same protocol for communication, and if so, they then have to send messages to each other.
The AEA framework, together with some of the services it provides, address all three problems. You can read more about search and discovery here, protocols here, and the Agent Communication Network (ACN) here.
How does an AEA use blockchain?The AEA framework enables agents to interact with blockchains to settle transactions. Currently, the framework has native support for three different networks: Fetch.ai, Ethereum and Cosmos.
You can read more about the framework's integration with the different blockchains here and gain a high level overview here.
How does one install third party libraries?The framework supports the use of third-party libraries hosted on PyPI. You can directly reference the external dependencies of an AEA package (e.g. skill) in its configuration file. From inside an AEA's project directory, the
installcommand can be used to install all the dependencies of the AEA listed in the configuration files of any of it's packages.
How does one connect to a database?You have two options to connect to a database: using the built-in storage solution or using a custom ORM (object-relational mapping) library and backend.
The use of the built-in storage is explained here. For a detailed example of how to use an ORM, follow the ORM guide.
How does one connect a frontend?There are multiple options. The most obvious is using an HTTP server connection and creating a client that communicates with this connection.
You can find a more detailed discussion here.
Is the AEA framework ideal for agent-based modelling?The goal of agent-based modelling (ABM) is to study the unknown (often complex) behaviour of systems comprised of agents with known (much simpler) behaviour. ABM is a popular technique for studying biological and social systems. Despite some similarities between ABM and the AEA framework, the two have fundamentally different goals. ABM's goal is not the design of agents or solving specific practical or engineering problems. Although it would be potentially possible, it would likely be inefficient to use the AEA framework for that kind of problem.
You can find more details on the application areas of the AEA framework here.
When a new AEA is created, is the
All AEA projects by default hold the
vendor folder populated with some default packages?
fetchai/signing:0.11.0protocols. These (as all other packages installed from the registry) are placed in the
You can find more details about the file structure here.
Is there a standardization for private key files?Currently, the private keys are stored in
.txtfiles. This is temporary and will be improved soon.