Using UML State Machine Models for More Precise and Flexible JADE Agent Behaviors

  • Martin L. Griss
  • Steven Fonseca
  • Dick Cowan
  • Robert Kessler
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2585)


In order to effectively develop multi-agent systems (MAS) software, a set of models, technologies and tools are needed to support flexible and precise specification and implementation of agent-to-agent conversations, standardized conversation protocols, and corresponding agent behaviors. Experience trying to build complex protocols with the ZEUS and JADE agent toolkits motivated a substantial extension to the JADE agent behavior model. This extension (called SmartAgent) enables more flexible, reusable and precise modeling and implementation of agent behavior. We augment JADE behaviors with uniform message, timing and system events, a multi-level tree of dispatchers that match and route events, and a hierarchical state machine (HSM.) HSM is represented using UML statechart diagrams, and implements a significant subset of UML state machine semantics. Adherence to the UML standard helps bridge object-oriented to agent-oriented programming, and allows us to use industry familiar modeling language and tools such as Rose or Visio. These extensions were tested in a meeting scheduler prototype.


State Machine Agent Behavior Transition Fire Statechart Diagram Exceptional Transition 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    F. Bellifemine, A. Poggi & G. Rimassi, “JADE: A FIPA-Compliant agent framework”, Proc. Practical Applications of Intelligent Agents and Multi-Agents, April 1999, pg 97–108 (See
  2. 2.
    G. Booch, J. Rumbaug & I. Jacobson, The Unified Modeling Language User Guide, Addison-Wesley, 1999Google Scholar
  3. 3.
    RS. Cost, T. Finin, Y. Labrou, X. Luan, Y. Peng, I. Soboroff, J. Mayfield & A. Boughannam, “Jackal: A Java-Based Tool for Agent Development.” Working Notes of the Workshop on Tools for Developing Agents (AAAI’ 98) (AAAI Technical Report).Google Scholar
  4. 4.
    RS. Cost, T. Finin, Y. Labrou, X. Luan, Y. Peng, I. Soboroff, J. Mayfield & A. Boughannam, An Agent-based Infrastructure for Enterprise Integration, ASA/MA, October, 1999, p. 219–33Google Scholar
  5. 5.
    SP Fonseca, ML. Griss, & R. Letsinger, Evaluation of the ZEUS MAS Framework, Hewlett-Packard Laboratories, Technical Report, HPL-2001-154Google Scholar
  6. 6.
    Steven P. Fonseca, Martin L. Griss, Reed Letsinger, An Agent Mediated E-Commerce Environment for the Mobile Shopper, Hewlett-Packard Laboratories, Technical Report, HPL-2001-157Google Scholar
  7. 7.
    E. Gamma, R Helm, R Johnson & J Vlissides, “Design patterns,” Addison-Wesley, 1995.Google Scholar
  8. 8.
    ML Griss & R Letsinger, Games at Work 3-Agent-Mediated E-Commerce Simulation, Workshop, Autonomous Agents 2000, Barcelona, Spain, June 2000. (Also HP Laboratories Technical Report, HPL-2000-52.)Google Scholar
  9. 9.
    ML. Griss, “My Agent Will Call Your Agent,” Software Development Magazine, February. (See also “My Agent Will Call Your Agent But Will It Respond?” Hewlett-Packard Laboratories, Tech Report, TR-HPL-1999-159).Google Scholar
  10. 10.
    ML. Griss, Implementing Product-Line Features By Composing Component Aspects, Proc. First International Software Product-Line Conference, Denver, CO., Aug 2000Google Scholar
  11. 11.
    M. Griss, S. Fonseca, D. Cowan and R. Kessler, SmartAgent: Extending the JADE Agent Behavior Model, Proceedings of SCI SEMAS Workshop, Orlando, Florida, July 2002 (to appear).Google Scholar
  12. 12.
    T Gschwind, M Ferudin, & S Pleisch, ADK-Building Mobile Agents for Network and Systems Management from Reusable Components, ASA/MA. Los Alamitos, IEEE.Google Scholar
  13. 13.
    D Harel and M Politi, Modeling Reactive Systems with Statecharts, McGraw Hill, 1998Google Scholar
  14. 14.
    Huget, Marc-Philippe, Extending Agent UML Protocol Diagrams, Third International Workshop on Agent-Oriented Software Engineering, AAMAS, July 2002, p. 111–122Google Scholar
  15. 15.
    NR. Jennings, and MR. Wooldridge, Agent Technology, Springer.Google Scholar
  16. 16.
    NR. Jennings, On Agent-Based Software Engineering, Artificial Intelligence, March, 2000, vol. 117, no. 2, p. 277–96Google Scholar
  17. 17.
    EA. Kendall, Role Model Designs and Implementations with Aspect-oriented Programming, Proc. Of OOPSLA 99, Oct, Denver, ACM SIGPLAN, p. 353–369 ai18._Koning, Jean-Luc and Romero-Hernandez, Ivan, Generating Machine Processable Representations of Textual Representations of AUML, Third International Workshop on Agent-Oriented Software Engineering, AAMAS, July 2002, p. 39–50Google Scholar
  18. 19.
    R Letsinger,. Three Architectural Principles for the Design of Personalisable Agents, HP Labs Tech Report, HPL-2001-300, December 2001Google Scholar
  19. 20.
    Lind, Jurgen, Patterns in Agent-Oriented Software Engineering, Third International Workshop on Agent-Oriented Software Engineering, AAMAS, July 2002, p. 1–12Google Scholar
  20. 21.
    H. Nwana, D. Nduma, L. Lee, J. Collis, “ZEUS: a toolkit for building distributed multiagent systems”, in Artificial Intelligence Journal, Vol. 13, No. 1, 1999, pp. 129–186. (See Scholar
  21. 22.
    J Odell, H. VD Parunak & B Bauer, Extending UML for Agents, AOIS Workshop at AAAI 2000,
  22. 23.
    M Samek & P Montgomery, State-Oriented Programming, Embedded Systems Engineering, August, 2000, p. 21–43.Google Scholar
  23. 24.
    Wagner, Gerd, A UML Profile for External AOR Models, Third International Workshop on Agent-Oriented Software Engineering, AAMAS, July 2002, p. 99–110Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2003

Authors and Affiliations

  • Martin L. Griss
    • 1
  • Steven Fonseca
    • 2
  • Dick Cowan
    • 1
  • Robert Kessler
    • 3
  1. 1.Software Technology LaboratoryHP LaboratoriesPalo Alto
  2. 2.UC Santa CruzSanta Cruz
  3. 3.University of UtahUtah

Personalised recommendations