Overview of the development process
The figure below presents the development process with Open Autonomy: from the idea of an off-chain service to its deployment in production. If you have completed the quick start guide you have already navigated through a significant part of this process.
This is a summary of each step:
Draft the service idea. Any service that needs to execute its functionality in an autonomous, transparent and decentralized way is a good candidate. You can take a look at some use cases to get an idea of what you can build with Open Autonomy.
Define the FSM specification. Describe the service business logic as a finite-state machine (FSM) in a language understood by the framework. This specification defines what are the states of the service, and how to transit from one to another.
Code the FSM App skill. The actual business logic is encoded in the FSM App that lives inside each agent. Coding the FSM App involves scaffolding the "skeleton" of the classes, and complete the actual details of the actions executed in each state.
Define the agent. Define the components of the agent required to execute your service, including the newly created FSM App. You can reuse already existing components publicly available on a remote registry.
Define the service. This consists in defining the service configuration and declaring what agents constitute the service, together with a number of configuration parameters required.
Publish and mint packages. Those are required steps to make the service publicly available in the remote registry and secure it in the Autonolas Protocol.
Deploy the service. You can deploy directly your service locally for testing purposes. To deploy a production service secured in the Autonolas Protocol you first need to bring the service to the Deployed state in the protocol.
In the next sections, we will explore in detail each of these steps in the development process.
Do you already have an existing agent or service?
If you already have an existing agent (or if you want to create a service with the default
hello_world agent), you can skip to Step 5.