1. A method comprising: receiving, with a tool of a computing device, data comprising an agent interface file, a uniform resource locator (URL) identifying a name and an initial execution environment of a mobile agent, and a name of a web service; generating a web service definition language (WSDL) file which specifies an interface to use when developing clients for the web service, wherein the WSDL file is generated by translating the agent interface file into WSDL; generating, with the tool of the computing device, a web service interface based on the data, wherein the mobile agent is configured to be moved to different execution environments and to carry an execution state of the mobile agent to the different execution environments; and configuring the web service interface, at least in part, to enable a location of the mobile agent to be identified and for requests to be delegated from the web service to the mobile agent.