service - is the reference to the spawning service.
spawnQueries - the object ot track the spawn queries.
spawningAgent - is the identifier of the agent that has invoked the spawn function, if null, the root agent (Janus kernel) is assumed.
parentContext - is the context in which the agent is created.
agentType - is the type of the created agents.
initializationParameters - is the list of parameters to pass to the agent for its initialization.
agentIds - is the lambda that must be used to compute the UUID of an agent. This lambda should be thread-safe.
agentInstanceCreator - is a lambda that enables to create an instance of agent. This lambda is thread-safe.
skillUninstaller - is the reference to the skill uninstaller.
logger - is the service logger.
factories - the provider of factories tool.