TuCSoN4Jason
TuCSoN4Jason
What is TuCSoN4Jason
TuCSoN4Jason (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 AgentSpeak(L) 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.
T4Jn is available under GNU LGPL license.
Getting Started
- download t4jn.jar archive from the Downloads section on its Bitbucket repository
- download the libraries it depends on
- open a command prompt in the folder where you put all the four jars above, then type
- on Linux & Mac OS
java -cp libs/tucson.jar:libs/2p.jar alice.TuCSoN.service.TucsonNodeService - on Windows
java -cp libs/tucson.jar;libs/2p.jar alice.TuCSoN.service.TucsonNodeService
- on Linux & Mac OS
- open a new tab/window of the command prompt in the folder where you put all the four jars above, then type
- on Linux & Mac OS
java -cp t4jn.jar:../libs/jason.jar:../libs/2p.jar:../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j - on Windows
java -cp t4jn.jar;../libs/jason.jar;../libs/2p.jar;../libs/tucson.jar jason.infra.centralised.RunCentralisedMAS t4jn_bookTrading.mas2j
- on Linux & Mac OS
- Jason GUI should appear with the t4jn welcome banner, as depicted below
You should see many prints on Jason GUI, tracking what happens in the MAS.Environment