This is currently an experimental feature. To try it follow this guide.
First, create a new AEA project:
aea create my_aea cd my_aea
Second, run the generator on the sample specification.
aea generate protocol ../examples/protocol_specification_ex/sample.yaml
Third, try generating other protocols by first defining a specification, then running the generator.