The easiest way to run an AEA is using your development environment.

If you would like to run an AEA from a browser you can use Google Colab. This gist can be opened in Colab and implements the quickstart.

For deployment, we recommend you use Docker.

Building a Docker Image

First, we fetch a directory containing a Dockerfile and some dependencies:

svn export https://github.com/fetchai/agents-aea/branches/master/deploy-image
cd deploy-image
rm -rf scripts
svn export https://github.com/fetchai/docker-images/branches/master/scripts
cd ..

Next, we build the image:

./deploy-image/scripts/docker-build-img.sh -t aea-deploy:latest --

Running a Docker Image

Finally, we run it:

docker run -it aea-deploy:latest

This will run the fetchai/my_first_aea:0.13.0 demo project. You can edit entrypoint.sh to run whatever project you would like.

Deployment

Note

This section is incomplete and will soon be updated.