Question: how deep are agave roots?
Answer: Agaves usually re-root very easily. Then all you have to do is pot it up until you're ready to move and replant it — of course, that's probably easier said than done. I would try to put it in a 24-inch shallow (18 inches deep or so) pot.