Skip to content

A library for JaCaMo applications working with hypermedia environments.

License

Notifications You must be signed in to change notification settings

HyperAgents/jacamo-hypermedia

Repository files navigation

JaCaMo-hypermedia

JaCaMo-hypermedia is a library of CArtAgO artifacts that can be used with JaCaMo to program cognitive agents that operate in hypermedia environments. This library is developed as part of the HyperAgents project.

List of available artifacts:

  • ThingArtifact: an artifact that agents can use to interact with Web Things in a W3C Web of Things environment; this artifact is based on the WoT-TD-Java library.

Getting Started

You can add this library to your JaCaMo application via JitPack:

Step 1: Add the JitPack repository to your build file:

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

Step 2: Add a dependency to JaCaMo-hypermedia:

implementation 'com.github.HyperAgents:jacamo-hypermedia:main-SNAPSHOT'

For the library's version, you can reference any available release tags or the main branch as shown above. Referencing the main branch will access the latest developments, but a release tag would typically point to a more stable version.

Examples, Development and Testing

This repositories includes examples that illustrate how to use the provided artifacts in your JaCaMo application. In addition, if you wish to contribute to this library, the examples provide a quick way to dive into development and testing.

Running the examples

To run the default example on Mac OS and Linux (use the appropriate Gradle wrapper for your OS):

 ./gradlew examples:run

To run a specific example, you can specify the corresponding JaCaMo project file from the examples folder as follows:

./gradlew examples:run -PjcmFile=my_jacamo_application.jcm

Building the library

To build the library on Mac OS and Linux (use the appropriate Gradle wrapper for your OS):

./gradlew test build

About

A library for JaCaMo applications working with hypermedia environments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages