the labels used are defined in a DTD (Document Type
Definition) file.
For off-line monitoring, which takes place
once the interesting cooperative task has finished,
ADAM3D relies on agent message log files (files con-
taining the history of the interesting events). These
log files must follow the XML structure mentioned
previously
1
. The log files can be generated in dif-
ferent ways. For example, in order to minimize the
logging overload, the agents may record the interest-
ing events in internal variables and write them to a
file on the local disk periodically. Notice that if the
agents are mobile (Ilarri et al., 2006) (i.e., they move
between computers), several log files could be gener-
ated by the agents on different computers: those files
will be appended together for later analysis.
Besides an off-line analysis from log files, it is
also possible to visualize the events and interact with
the 3D scenario in real-time, allowing the on-line
analysis of running agent systems. With the real-
time monitoring capability, the different interesting
events are visualized by ADAM3D as they occur. For
this, ADAM3D launches a monitoring server that lis-
tens on the specified communication port on the local
computer. The agents in the multiagent system that
we want to monitor must be configured in order to
send their events to the monitoring server, instead of
using log files. As in the previous case, if we want
to monitor a multiagent system whose events do not
comply with the XML format required, an intermedi-
ate module can be easily inserted between the agents
and the monitoring server to perform the translation.
We consider that both the off-line and the on-line
monitoring capabilities are interesting. An off-line
monitoring minimizes the overhead imposed on the
multiagent system, as agents do not need to commu-
nicate the events to the monitoring server during their
execution; moreover, in situations of network over-
load, obtaining an accurate view of the system is only
possible by inspecting traces post mortem (Liedek-
erke and Avouris, 1995). We could also use the on-
line monitoring until some problem is observed, and
then analyze why it happened.
4 CONCLUSIONS
In this paper we have presented ADAM3D, a moni-
toring framework for multi-agent systems. Its main
1
Nevertheless, if event logs are already maintained by
the agents in the system that we want to monitor, we can
easily write a translator that converts these logs into the for-
mat required by ADAM3D: in this way, the original agent
system suffers no modifications.
features are:
• It provides 3D representations, which greatly en-
hances the visualization and user interaction.
• Queries can be used to filter the events and obtain
interesting information, which we consider a key
feature to aid in debugging multiagent systems.
• It supports a real-time visualization of the events
generated and also an off-line analysis.
As future work, we plan to analyze the conve-
nience of showing the locations of the different agents
interacting in a distributed system (by situating them
on a map of computers).
ACKNOWLEDGEMENTS
Supported by the CICYT project TIN2004-07999-
C02-02.
REFERENCES
Chelberg, D. M., Gillen, M., Zhou, Q., and Lakshmikumar,
A. (2000). 3D-VDBM: 3D visual debug monitor for
RoboCup. In IASTED International Conference on
Computer Graphics and Imaging (CGIM’00), pages
14–19.
Deeter, K. and Vuong, S. T. (2004). AgentViz: A visualiza-
tion system for mobile agents. In First International
Workshop Mobility Aware Technologies and Applica-
tions (MATA’04), pages 339–348.
Ilarri, S., Trillo, R., and Mena, E. (2006). SPRINGS:
A scalable platform for highly mobile agents in dis-
tributed computing environments. In 4th Interna-
tional WoWMoM 2006 workshop on Mobile Dis-
tributed Computing (MDC’06), pages 633–637. IEEE
Computer Society.
Liedekerke, M. V. and Avouris, N. (1995). Debugging
multi-agent systems. Information and Software Tech-
nology, 37(2):103–112.
Micalizio, R., Torasso, P., and Torta, G. (2004). On-line
monitoring and diagnosis of multi-agent systems: A
model based approach. In 16th Eureopean Conference
on Artificial Intelligence (ECAI’04), pages 848–852.
Mostafa, H. and Bahgat, R. (2005). The agent visualiza-
tion system: a graphical and textual representation
for multi-agent systems. Information Visualization,
4(2):83–94.
Poutakidis, D., Padgham, L., and Winikoff, M. (2002). De-
bugging multi-agent systems using design artifacts:
the case of interaction protocols. In First International
Joint Conference on Autonomous Agents and Multi-
Agent Systems (AAMAS’02), pages 960–967. ACM
Press.
Wooldridge, M. (2002). An Introduction To MultiAgent Sys-
tems. John Wiley and Sons.
WEBIST 2007 - International Conference on Web Information Systems and Technologies
442