We went through N'Kob and Timidarte and made it to Agdz shortly before sunset. It was slightly late but we still got to visit the Caid Kasbah, which ended up being one of my favorite places.
It's a 170 year old kasbah that is being restored. You can stop at Casbah Caïd Ali, next door, and they will let you in and show you the place. The views from the rooftop are amazing, and the interior is very interesting to see as well.