Jacamo-web is an interactive programming IDE based on JaCaMo, a Multi-Agent System (MAS) Oriented Programming platform. The interactive development allows making changes on instances of agents, artefacts and organisations, which means that the system can be updated while it is running.
- Fork this repository
- Go to heroku website, create an app giving any name to it
- On Deploy -> Deployment method choose github
- find your fork of 'jacamo-web'
- 'Deploy branch'
$ git clone https://github.com/jacamo-lang/jacamo-web.git
$ cd jacamo-web
$ ./gradlew run
See http://yourIP:8080 for a web interface (see the console for the right IP:port). You can also try gradle marcos
, gradle bob
, and go to /examples
for more sample projects and information about how to run them.
$ docker build -t jacamo-runrest .
$ docker network create jcm_net
$ docker run -ti --rm --net jcm_net --name host1 -v "$(pwd)":/app jacamo-runrest gradle marcos
$ docker run -ti --rm --net jcm_net --name host2 -v "$(pwd)":/app jacamo-runrest gradle bob_d
These commands build a docker image and launch marcos and bob projects. Usually super user privileges are necessary.
After installing the Heroku Toolbelt you can test the app locally using heroku CLI:
$ ./gradlew stage
$ heroku local web
Your app should now be running on localhost:5000.
$ heroku create
$ git push heroku master
$ heroku open
It uses jacamo-rest on the back-end and provides a web front-end developed in plain javascript, the API jacamo-rest 0.3 bind these parts.
In short, jacao-web provides an interface to develop Multi-Agent Systems interactively allow to send beliefs and plans to agents, inspect, create and destroy them. It is also supported dynamic compiling of CArtAgO artefacts and Moise organisations. The following diagram shows the main functionalities of the interface: