To get the feeling of how an agent submission works, you can leverage our pre-built agents. In DIAMBRA Agents repo, together with different source code examples, we also provide pre-built docker images (packages) for some of them.
For example, here you find the pre-built docker image for the random agent correspondent to this source code. As indicated by the python script settings, this random agent will play using a “Random” character in a random game.
Using this pre-built docker image you can easily perform your first submission ever on DIAMBRA platform, and appear in the official online leaderboard by simply typing in your preferred shell the following command:
diambra agent submit diambra/agent-random-1:main
If you want to specify the game on which to run the random agent, use the --gameId
command line argument that our pre-built image accepts, when submitting the docker image as follows: diambra agent submit diambra/agent-random-1:main --gameId tektagt
. Additional similar use cases are covered in the “Arguments and Commands” page.
After running the command, you will receive a submission confirmation, its identification number as well as the url where to see the results, something similar to the following:
diambra agent submit diambra/agent-random-1:main
🖥️ (178) Agent submitted: https://diambra.ai/submission/178
By default, the submission will select the lowest difficulty level (Easy
) of the three available (Easy
, Medium
, Hard
). To change this, you can add the --submission.difficulty
argument: diambra agent submit --submission.difficulty Medium diambra/agent-random-1:main
As shown here, it is possible to embed your agent files (i.e. scripts and weights) in the dependencies docker image and submit only that. Keep in mind that this image needs to be public and will be visible on the platform, so every user will be able to use it for his own submissions.