Prepare the lychee mixture: In a small pot, whisk together the lychee juice and agar agar powder. Bring to a full boil over medium heat, whisking for 60 seconds to dissolve the agar agar. Turn off the heat, cover, and leave the pot on the warm stovetop to keep the mixture liquid.
Prepare the coconut mixture: In another small pot, whisk together the coconut milk and agar agar powder. Bring to a full boil over medium heat, whisking for 60 seconds. Turn off the heat, cover, and leave the pot on the warm stovetop to keep the mixture liquid.
Let the lychee mixture cool slightly until no longer steaming hot but still liquid. Pour 1⁄2 cup (125 ml) into an 8 × 6-inch rectangular container. Let it set at room temperature until firm to the touch but still slightly warm, keeping the remaining lychee mixture covered and warm.
Let the coconut mixture cool slightly until no longer steaming hot but still liquid. Slowly pour 1⁄2 cup (125 ml) over the back of a spoon onto the firm lychee layer to prevent breaking it. Let it set at room temperature until firm to the touch but still slightly warm, without moving the container. Keep the remaining coconut mixture covered and warm.
Continue alternating the lychee and coconut mixtures, letting each layer set until firm to the touch before adding the next. If either mixture begins to thicken, gently reheat it until liquid again. Repeat until all the liquid is used.
Cover and refrigerate for at least 4 hours or overnight until the jelly is set. Run a thin knife around the edges to loosen the jelly, then cut into squares and serve chilled.