The higher rank Askey-Wilson algebra was recently constructed in the n-fold tensor product of Uq(sl 2 ). In this paper we prove a class of identities inside this algebra, which generalize the defining relations of the rank one Askey-Wilson algebra. We extend the known construction algorithm by several equivalent methods, using a novel coaction. These allow to simplify calculations significantly. At the same time, this provides a proof of the corresponding relations for the higher rank q-Bannai-Ito algebra. µ {2,4,5,8} 2 µ {2,4,5,8} 3 (Λ) ⊗ 1, with µ {2,4,5,8} 3Again, the idea is that each element of A but the maximum a m corresponds to an application of ∆, whereas τ L fills up the holes. However, as opposed to Definition 2.3, we now run through the elements of A in decreasing order, from right to left. This is why we refer to the algorithm of Definition 2.5 as the left extension process.