multi-agent system based on Java