smooth computer movement

I have been trying to figure out how to move computer controlled characters in my game, but it seems when I do the movement is really jerky. What I am trying to do is just have the computer characters move in a random direction every so often.

you’ll have to provide a little more detail on what is NOT working for you.
in the meantime you might want to lookup PandaAI, as that library might provide you with everything you need for having non-player-characters moving around, and in an intelligent manner even.