Cord: Coordinating Trees of AI Agents