- Step1: Add the Java-Action-Storage Maven or Gradle dependency into your LightJason project.
- Step2: Configure the storage backend in your application.yml (e.g., JDBC, Mongo, file).
- Step3: Inject the ActionStorage service into your agent classes.
- Step4: Call storage.log(action) within agent behaviors to record actions.
- Step5: Use storage.query(criteria) or replay() to retrieve and analyze logged actions.