your best bet is to create your own AI packages and tweak them to do what you need them to do.
for something like sweeping you can use "Sandbox" as a template, just set the hours to how you want.
you will also need to add idle markers in your cell for the AI to interact with. sweeping the floor is one such idle marker.
for sleeping you can either use a default sleep package or create your own, and set the bed target to point at the NPC's owned bed. you will also have to determine his sleeping schedule on the schedule tab