This repository contains code examples for dojo
. In order to run these, you must have dojo
installed on your machine with a valid license key. Please refer to the docs for more detailed instructions.
You'll need to clone this repository directly. For example, if you have SSH authentication, you can run:
git clone [email protected]:CompassLabs/dojo_examples.git
This can be run as a CLI with the command:
python -m demo.run
Further info can be obtained with the command:
python -m demo -h
Otherwise you can always copy these code snippets and add them into your own simulations!
We're a small team and dojo
is a very early stage software. If something isn't working as expected, do raise an issue in this repository and we'll do our best to fix whatever is wrong ๐
run.py
: the main runner file containing the simulation loop.agents
: demo agent implementations tracking different metrics.policies
: demo policy implementations defining how an agent should interact with the environmnet.