Getting Started¶
To get started, simply install it through pip [] using one of the options below.
For PyTorch [] with CUDA (recommended):
Bash | |
---|---|
1 |
|
Or, for PyTorch [] with CPU only:
Bash | |
---|---|
1 |
|
Example Usage¶
Here's a simple example:
Python | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
This code should work 'as is'.
Currently, the framework only supports Gymnasium [] environments and is planned to expand to PettingZoo [] for Multi-agent (MARL) tasks, with updated adaptations of CybORG [] environments.
API Structure¶
The frameworks API is designed to be simple and intuitive. We've broken into two main categories: core
and extras
.
Core¶
The primary building blocks you'll use regularly.
Python | |
---|---|
1 2 |
|
Extras¶
Utility methods that you may use occasionally.
Python | |
---|---|
1 2 |
|
Next Steps¶
-
NeuroFlow Agents
Learn how to use NeuroFlow models.
-
Customize
Learn how to build your own models.