TuCSoN4Jason

What is 

 (T4Jn for short) is a Java library enabling Jason agents to exploit TuCSoN coordination services wrapped as Jason internal actions. Jason is a well-known Java-based implementation of the #agentsl() language for BDI agents. TuCSoN is Java-based middleware providing software agents with coordination as a service via programmable logic tuple spaces, called tuple centres.

By combining TuCSoN and Jason, T4Jn aims at providing MAS engineers with a full-featured MAS middleware for cognitive agents, enabling them to exploit both dimensions of agent-oriented software engineering — individual, through #jason() agents; social, via {{tucson/}} tuple centres — in a complete and well-balanced way.
<p/>
T4Jn is available under GNU LGPL license.

Getting Started

<ul style="list-style-type: decimal">
  <li>Download t4jn.jar archive from the Downloads section on its Bitbucket repository</li>
  <li>Download the libraries it depends on:</li>
  <ul style="list-style-type: disc">
    <li>#jason() &mdash; from its Download page (jason.jar)</li>
    <li>#tucson() &mdash; from its Downloads section (tucson.jar)</li>
    <li>#tuprolog() &mdash; from its Download section (2p.jar)</li>
  </ul>
  <li>Open a command prompt in the folder where you put all the four jars above, then type:</li>
  <ul style="list-style-type: disc">
    <li> on Linux & Mac OS </li>
    

java -cp libs/tucson.jar:libs/2p.jar alice.TuCSoN.service.TucsonNodeService

    <li>on Windows</li>
    

java -cp libs/tucson.jar;libs/2p.jar alice.TuCSoN.service.TucsonNodeService

  </ul>
  <li>Open a new tab/window of the command prompt in the folder where you put all the four jars above, then type:</li>
  <ul style="list-style-type: disc">
    <li> on Linux & Mac OS </li>
    

java -cp t4jn.jar:../libs/jason.jar:../libs/2p.jar:../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j

    <li>on Windows</li>
    

java -cp t4jn.jar;../libs/jason.jar;../libs/2p.jar;../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j

  </ul>
  <li>#jason() GUI should appear with the t4jn welcome banner, as depicted below:</li>
  <ul style="list-style-type: none">
    <li>t4jn-running.jpeg</li>
   <li>{t4jn-running.png|width=800|height=300}</li>
  </ul>
</ul>
<p/>
You should see many prints on #jason() GUI, tracking what happens in the MAS.

Logo

Contacts

Giovanni Ciatto email  |  Andrea Omicini email  |  Stefano Mariani email

Links

Official  |  APICe  |  Google Code  |  SourceForge  |  FaceBook

2P  |  A&A  |  MoK  |  ReSpecT  |  T4J  |  T4Jn