A Framework for Multi-Agent Planning