Dwelling in the Dream

December 4, 2008

JADE Tutorial

Filed under: Multi-agent, Research — wrjih @ 8:58 pm

JADE provides online documents, which can be downloaded from the web site.   There are web sites have not include in JADE documentation:

Jade Primer and Tutorial by Jean Vaucher and Ambroise Ncho, 2004.

Administrator’s tutorial

Running JADE with one (MAIN) container.
Using more than one container
Running multiple JADE platforms.
Using the HTTP Message Transport Protocol.

Lecture notes

  • Jade Tutorial, Agent Research Group in Department of Computer Science, University of Bath

November 29, 2008

Running JADE under Eclipse

Filed under: Multi-agent, Programming, Research — wrjih @ 5:05 am

JADE can be run under eclipse ‘Run’ as ‘Java Application’.  Before you setup the execution environment for JADE,  you should add JADE’s .jar files to your project:

  1. go to Project -> Properties
  2. move to Java Build Path
  3. in the “Libraries” tab, press “Add External  JARs” button eClipse project properties
  4. Select all the JADE’s jar files in “Orders and Export” tab

After you setup the classpath for JADE.  You can create a “Run Configuration” for running JADE:

  1. go to Run -> Run Configurations
  2. move to Java Application
  3. in the “main” tab
  4. specify your project name, and
  5. main class is jade.Boot, and
  6. check the Include libraries when searching for a main class

Run JADE main

In the Tab “argument”, program arguments is the arguments that would be used in command line, for example :

-gui jade.Boot [agent_nickname1:java_package1.agent_class1 agent_nickname2:java_package2.agent_class2 ...]

Where the agent_nickname is the nickname for your agent, java_package is the package of your agent, and agent_class is the java class name of your agent.
JADE eclipse Arguments

April 11, 2008

Run TAC Classic AgentWare in Eclipse

Filed under: Multi-agent — Tags: , — wrjih @ 4:04 am

The original document of TAC AgentWare provides the command line instruction for compiling and running the TAC AgentWare. Here will show you how to run the TAC Classic Agent by using Eclispe.

Create a Java project

  1. Create a new Java project in the workspace.
  2. Import the resources of TAC Classic Java AgentWare from the location file system into your TAC project.
    • Move cursor to the package folder src and click the right mouse button, select import
    • Choose General -> File system to import files
    • Check the com and se folders, that is, imports all the files in these two directory
  3. Copy agent.conf and AWManifest.txt to your project’s home directory, which contains a file named .project.

Run TAC classic agent

  1. You can run this project as a Java Application. A dialog box will be shown, pick TACAgent as the main class to run.

October 11, 2006

Agent Tutorial

Filed under: Multi-agent, Research — wrjih @ 5:38 pm

April 28, 2006

JESS and JADE

Filed under: Multi-agent, Research, Rule Engine — wrjih @ 11:01 pm

JESS Agent

  1. University of Technology Aachen, Germany. The Jess Agent is constructed in a way that allows an easy access to the JESS via an agent.
  2. (JessAgent) JADE example. A simple sample JADE Agent that embeds a Jess engine. It instantiates and adds only one behaviour. This behaviour is BasicJessBehaviour that only asserts messages when they arrive and use Jess as a reasoning tool This agent executes the Jess code in the file examples/jess/JadeAgent.clp
  3. (JadeJessProtege) JADE example. Examples for a closer integration of JADE with JESS, optionally also with protege. Aspects are starting a JADE agent from a running JESS engine, interactively developing JADE agent behaviour from a JESS console, and protege ontology support for JADE agents in JESS rules.

Blog at WordPress.com.