Bio Agent is used to extract information from multiple service providers. It is based on Java Agent DEvelopment framework (JADE). The following code is used to create an agent to print "Hello World!" and prints its name.
import jade.core.Agent;
public class HelloAgent extends Agent
{
protected void setup()
{
System.out.println("Hello World!");
System.out.println("My name is "+ getLocalName());
}
}
To comile and run above agent, use the following commands
javac HelloAgent.java java jade.Boot BioAgent:HelloAgent
For further reading visit my blog, Inter-Platform Agent Mobility with JADE and JIPMS ,briefly explains how to make an agent mobile.