Towards a real-time multi-agent system architecture