We present a service-oriented scripting language for programming mobile agents in distributed systems. The main novelty of
the language we call Mob, is the integration of the service-oriented and mobile agent paradigms. Mob is also encoded onto a process calculus with a well studied semantics. The encoding provides a specification for the front-end
of the language compiler and allows us to use, for the back-end and for the run-time system, a compiler and a virtual machine
previously developed for the process calculus.