Windows Installation

From Agent Factory

Jump to: navigation, search

Preferred Method of Installation

The preferred mode of installing AFSE is to install the Agent Factory Eclipse Plugin.

The plugin provides basic support for editing agent program files, and also includes the AFSE library, a jar file named afse.jar that contains the entire codebase (including source code). The plugin copies this file into a folder called "agentfactory" that is located in the workspace. Whenever an update to AFSE is installed, this library is automatically overwritten by the plugin.

NOTE: There is currently a small bug in the plugin. The first time you install it, you must do the following: (1) create an Agent Factory Project, and (2) In the project, create a agent program file (e.g. .afapl2, .aspeak). This second step will cause the associated library to be copied into the "agentfactory" folder as described above. We hope to resolve this issue in future versions of the plugin

Minimal Installation

At its core, AFSE is a set of Java classes. As such, you do not need to install any plugins to use it. All that you need to do is to download the latest version of the AFSE codebase, which is located in the file afse.jar. This file can be downloaded from SourceForge.

To develop an agent program, all you need to do is:

  1. simply create a text file with the appropriate extension (depending on the agent programming language you wish to use)
  2. create a Main class (this can be a simple main method, or an extension of the RunConfiguration classes)
  3. run java making sure that you include afse.jar in your class path.

When the agent program is loaded, any syntax errors will be listed, and the agent will not be created until all syntax errors are fixed.

NOTE: For older versions of AFSE, the jar file was named AFLibrary.jar