code: public UUID spawn(UUID agentID, Class<? extends Agent> agent, Object... params) {
  		final List<UUID> ids = this.spawnService.spawn(1, null, this.janusContext, agentID, agent, params);
  		if (ids.isEmpty()) {
  			return null;
  		}
  		return ids.get(0);
  	}
docs: Spawn an agent of the given type, and pass the parameters to its initialization function.
  
  @param agentID the identifier of the agent to spawn. If <code>null</code> the identifier is randomly selected.
  @param agent the type of the agent to spawn.
  @param params the list of the parameters to pass to the agent initialization function.
  @return the identifier of the agent, never <code>null</code>.