Algorithms for Mobile Agents with Limited Capabilities