Skip to main content

A Context-Aware Multi-Agent System as a Middleware for Ambient Intelligence


There is currently a lot of work in Ambient Intelligence—or AmI—reporting on specific scenarios, or on implementations of particular cases. In the same time, there is a common agreement of the fact that AmI applications should be pervasive, covering a large number of devices, assisting a large number of people, and serving a large number of purposes. In an attempt to achieve scalable scenarios and implementations, we have focused our research on the development of a generic middleware layer for the context-aware transfer and exchange of information between devices. This paper presents a model for a such middleware, based on software agents, in which context-awareness is implemented both in the agent’s representation of context information, and in the logical topology of the agent system. The model is oriented towards decentralization of the system and relies mostly on local behavior. The paper also reports on several proof-of-concept applications that have been developed and tested using the proposed model, proving thus the validity of the approach.

This is a preview of subscription content, access via your institution.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8


  1. We will mark with “ P ” graphs and elements that contain ? nodes, regular expressions, and other generic features.

  2. There may be multiple matches between the same pattern and the same graph.

  3. The Ao Dai project has been implemented in collaboration with Thi Thuy Nga Nguyen and Diego Salomone-Bruno, under the supervision of prof. Amal El Fallah Seghrouchni.

  4. Workshop held in collaboration by the National Institute of Informatics in Tokyo and the Laboratory of Computer Science of University Paris 6. Details at

  5. The realization of the platform has been a collaborative effort of Andrei Olaru, Thi Thuy Nga Nguyen and Marius-Tudor Benea, under the supervision of prof. Amal El Fallah Seghrouchni and with the assistance of Cédric Herpson.

  6. Java Agent Development Framework


  8. These features have been developed by Marius Tudor Benea during his internship at LIP6.


  1. Baldauf M, Dustdar S, Rosenberg F (2007) A survey on context-aware systems. Int J Ad Hoc and Ubiquitous Computing 2(4):263–277

    Article  Google Scholar 

  2. Cabri G, Ferrari L, Leonardi L, Zambonelli F (2005) The LAICA project: supporting ambient intelligence via agents and ad-hoc middleware. In: Proceedings of WETICE 2005. 14th IEEE International Workshops on Enabling Technologies. Linköping, Sweden, 13–15 June 2005, pp 39–46

  3. Chen G, Kotz D (2000) A survey of context-aware mobile computing research. Technical Report TR2000-381, Dartmouth College

  4. Chen H, Finin TW, Joshi A, Kagal L, Perich F, Chakraborty D (2004) Intelligent agents meet the semantic web in smart spaces. IEEE Internet Comput 8(6):69–79

    Article  Google Scholar 

  5. Costantini S, Mostarda L, Tocchio A, Tsintza P (2008) DALICA: agent-based ambient intelligence for cultural-heritage scenarios. IEEE Intell Syst 23(2):34–41

    Article  Google Scholar 

  6. Ducatel K, Bogdanowicz M, Scapolo F, Leijten J, Burgelman J (2001) Scenarios for ambient intelligence in 2010. Technical report, Office for Official Publications of the European Communities

  7. El Fallah Seghrouchni A (2008) Intelligence ambiante, les defis scientifiques. Presentation, Colloque Intelligence Ambiante, Forum Atena

  8. El Fallah Seghrouchni A, Breitman K, Sabouret N, Endler M, Charif Y, Briot J (2008) Ambient intelligence applications: introducing the Campus framework. In: 13th IEEE International Conference on Engineering of Complex Computer Systems (ICECCS’2008), pp 165–174

  9. El Fallah Seghrouchni A, Florea AM, Olaru A (2010) Multi-agent systems: a paradigm to design ambient intelligent applications. In: Essaaidi M, Malgeri M, Badica C (eds) intelligent distributed computing IV. Proceedings of the 4th international symposium on Intelligent Distributed Computing-IDC 2010. Studies in computational intelligence, vol 315. Tangier, Morocco, Springer, 16–18 September 2010. ISBN 978-3-642-15210-8 (ISI Proceedings), pp 3–9. doi:10.1007/978-3-642-15211-5_1

  10. El Fallah Seghrouchni A, Olaru A, Nguyen TTN, Salomone D (2010) Ao Dai: agent oriented design for ambient intelligence. In: Proceedings of PRIMA 2010. The 13th international conference on principles and practice of multi-agent systems

  11. Feng L, Apers PMG, Jonker W (2004) Towards context-aware data management for ambient intelligence. In: Galindo F, Takizawa M, Traunmüller R (eds) Proceedings of DEXA 2004. 15th international conference on database and expert systems applications, Zaragoza, Spain, 30 Aug–3 Sept. Lecture notes in computer science, vol 3180. Springer, pp 422–431

  12. Ferber J (1999) Multi-agent systems: an introduction to distributed artificial intelligence. Addison-Wesley

  13. Hagras H, Callaghan V, Colley M, Clarke G, Pounds-Cornish A, Duman H (2004) Creating an ambient-intelligence environment using embedded agents. IEEE Intell Syst 19(6):12–20

    Article  Google Scholar 

  14. Harter A, Hopper A, Steggles P, Ward A, Webster P (2002) The anatomy of a context-aware application. Wirel Netw 8(2):187–197

    MATH  Article  Google Scholar 

  15. Hellenschmidt M (2005) Distributed implementation of a self-organizing appliance middleware. In: Davies N, Kirste T, Schumann H (eds) Mobile computing and ambient intelligence, Dagstuhl Seminar Proceedings, vol 05181. ACM, IBFI, Schloss Dagstuhl, Germany, pp 201–206

    Google Scholar 

  16. Henricksen K, Indulska J (2006) Developing context-aware pervasive computing applications: Models and approach. Pervasive Mob Comput 2(1):37–64

    Article  Google Scholar 

  17. Henricksen K, Indulska J, Rakotonirainy A (2002) Modeling context information in pervasive computing systems. In: Lecture notes in computer science, pp 167–180.

  18. Hong J, Landay J (2001) An infrastructure approach to context-aware computing. Hum-Comput Interact 16(2):287–303

    Article  Google Scholar 

  19. Intanagonwiwat C, Govindan R, Estrin D (2000) Directed diffusion: a scalable and robust communication paradigm for sensor networks. In: Proceedings of MOBICOM 2000, pp 56–67

  20. Johanson B, Fox A, Winograd T (2002) The interactive workspaces project: experiences with ubiquitous computing rooms. In: IEEE pervasive computing, pp 67–74. doi:10.1109/MPRV.2002.1012339

  21. Kindberg T, Fox A (2002) System software for ubiquitous computing. IEEE Pervasive Comput 1(1):70–81

    Article  Google Scholar 

  22. Lech TC, Wienhofen LWM (2005) AmbieAgents: a scalable infrastructure for mobile and context-aware information services. In: Proceedings of the 4th international joint conference on Autonomous Agents and Multiagent Systems (AAMAS 2005), 25–29 Jul 2005. Utrecht, Netherlands, pp 625–631

  23. Muldoon C, O’Hare GMP, Collier RW, O’Grady MJ (2006) Agent factory micro edn: a framework for ambient applications. In: Alexandrov VN, van Albada GD, Sloot PMA, Dongarra J (eds) Proceedings of ICCS 2006. 6th international conference on computational science, Reading, UK, 28–31 May. Lecture notes in computer science, vol 3993. Springer, pp 727–734

  24. Olaru A, Florea AM, El Fallah Seghrouchni A (2011) Graphs and patterns for context-awareness. In: Novais P, Preuveneers D, Corchado J (eds) Ambient intelligence-software and applications. 2nd International Symposium on Ambient Intelligence (ISAmI 2011), University of Salamanca (Spain), 6–8 Apr 2011. Advances in intelligent and soft computing, vol 92. Springer Berlin / Heidelberg, pp 165–172. doi:10.1007/978-3-642-19937-0_21

  25. Olaru A, Gratie C (2011) Agent-based, context-aware information sharing for ambient intelligence. Int J Artif Intell Tools 20(6):985–1000. doi:10.1142/S0218213011000498

    Article  Google Scholar 

  26. Olaru A, Gratie C, Florea AM (2010) Context-aware emergent behaviour in a MAS for information exchange. Scalable Computing: Practice and Experience 11(1):33–42.

    Google Scholar 

  27. Perttunen M, Riekki J, Lassila O (2009) Context representation and reasoning in pervasive computing: a review. International Journal of Multimedia and Ubiquitous Engineering 4(4):1–28

    Google Scholar 

  28. Ramos C, Augusto JC, Shapiro D (2008) Ambient intelligence-the next step for artificial intelligence. IEEE Intell Syst 23(2):15–18

    Article  Google Scholar 

  29. Ranganathan A, Campbell R (2003) A middleware for context-aware agents in ubiquitous computing environments. In: Proceedings of the ACM/IFIP/USENIX 2003 international conference on middleware. Springer, New York, Inc, pp 143–161

  30. Román M, Hess C, Cerqueira R, Ranganathan A, Campbell R, Nahrstedt K (2002) A middleware infrastructure for active spaces. IEEE Pervasive Comput 1(4):74–83

    Article  Google Scholar 

  31. Sadeh NM, Gandon FL, Kwon OB (2005) Ambient intelligence: the MyCampus experience. Technical Report CMU-ISRI-05-123, School of Computer Science, Carnagie Mellon University

  32. Satoh I (2004) Mobile agents for ambient intelligence. In: Proceedings of massively multi-agent systems I. First international workshop, MMAS 2004, Kyoto, Japan, 10–11 Dec 2004. Revised selected and invited papers. Lecture notes in computer science, vol 3446. Springer, pp 187–201

  33. Spanoudakis N, Moraitis P (2006) Agent based architecture in an ambient intelligence context. In: Proceedings of the 4th European Workshop on Multi-Agent Systems (EUMAS’06). Lisbon, Portugal, pp 1–12

  34. Suna A, El Fallah Seghrouchni A (2004) Programming mobile intelligent agents: an operational semantics. Web Intelligence and Agent Systems 5(1):47–67

    Google Scholar 

  35. Weiser M (1993) Some computer science issues in ubiquitous computing. In: Communications-ACM, pp 74–87

Download references


The authors would like to thank Cristian Gratie for the participation in the development of the AmIciTy platform; Thi Thuy Nga Nguyen and Diego Salomone Bruno for their participation in the development of the Ao Dai prototype; and Marius Tudor Benea and again Thi Thuy Nga Nguyen for their participation in the development of the Ao Dai platform, as well as to Cédric Herpson for his assistance and advise.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Andrei Olaru.

Additional information

This work has been supported by CNCSIS–UEFISCSU, project number PNII–IDEI 1315/2008.

Both Andrei Olaru and Adina Magda Florea are main authors of this paper.

Rights and permissions

Reprints and Permissions

About this article

Cite this article

Olaru, A., Florea, A.M. & El Fallah Seghrouchni, A. A Context-Aware Multi-Agent System as a Middleware for Ambient Intelligence. Mobile Netw Appl 18, 429–443 (2013).

Download citation

  • Published:

  • Issue Date:

  • DOI:


  • Ambient intelligence
  • Context-awareness
  • Multi-agent systems