Windows Installation
From Agent Factory
Contents |
Installing a Binary Release
Since version 1.0.0, Agent Factory consists of a core Run-Time Environment (RTE), development kits for supported agent-oriented programming languages and plugins.
The Agent Factory Run-Time Environment
The first element to be installed is the Agent Factory RTE. This is necessary to run any Agent Factory applications. This is done by doing the following:
- Create a directory into which you wish to install Agent Factory (C:\agentfactory is one suggestion). This will be referred to below as AF_HOME.
- Download the latest version of the RTE from the download page unzip the archive into your AF_HOME directory. This should create the directories `bin' and `lib' in your AF_HOME directory.
- Set the AF_HOME environment variable to point to the AF_HOME directory you created above (e.g. C:\agentfactory). For more on creating environment variables under Windows, see here.
- Add the "bin" subfolder to the PATH environment variable. In the example above, this would be the C:\agentfactory\bin directory.
The AFAPL2 Development Kit
In order to be able to compile and run agents written in the AFAPL2 programming language, perform the following steps:
- Download the latest version of the development kit from the download page and unzip the archive into your AF_HOME directory (C:\agentfactory)
The Plugin System
Additional plugins are distributed as individual JAR files. These can be installed in one of two ways.
System-Wide Plugins
A plugin can be made available to all Agent Factory programs on the system by downloading it from the download page into the AF_HOME\lib directory (where AF_HOME is the directory into which you installed the RTE, e.g. C:\agentfactory\lib)
Project-Specific Plugins
To make a plugin accessible to only a single project, create a directory called "plugins" in your project directory and save the plugin's JAR file to that directory. For more on where Agent Factory searches for plugins, have a look here.
