Trends in distributed artificial intelligence