Develop Agents

Create and customize your own agent to perform the tasks that you desire. The ABLE toolkit and its associated documentation provide a working development environment and a template agent that can be used as a guide for developing your own agents.

You can use the Agent Building and Learning Environment (ABLE) toolkit to develop your own hybrid intelligent agents. This Java™ framework has its own rule language (ARL) and its own GUI-based interactive development environment, the Able Agent Editor; both are provided to assist in the construction of Able agents.

ABLE 2.0
Both the ABLE toolkit and complete ABLE documentation are available to download in .zip packages.

The iSeries™ Navigator Intelligent Agents console ships with a template agent that you can use as a guideline for developing agents to work with the console. The source code for AbleEserverTemplateAgent is stored in ableplatform.jar, located in QIBM/ProdData/OS400/Able.

AbleEserverTemplateAgent makes use of many of the features available when developing agents using the ABLE framework. It demonstrates how an agent would create a set of capabilities that could be managed through the console. It includes a Customize panel that can be used to alter agent settings and an About panel that is used to display information about the agent. It also shows how an agent uses the Logging Service to log requests and history entries that can be displayed and responded to through the console.

Agent Capabilities

The EServerTemplateAgent has the following capabilities:

Customization Panel

The agent supplies a customization panel that allows you to adjust the interval at which the agent will check if the minute or hour has changed.

Figure 1. An example use of the Customization Panel
You can supply an interface for custom agent behaviors by using the Customization panel.

About Panel

The agent supplies an about panel that allows you to provide detailed information about the agent.

Figure 2. Viewing the template agent's about panel

The About panel provides a dialog for you do to add a description of your agents capabilities.
Related concepts
ABLE agents