A two levels system for multi-agent architectures modeling