agentId = config.getId();
loadScheduler(config.getScheduler());
loadState(config.getState());
loadTransports(config.getTransport(), onBoot);
// All agents have a local transport
transport.register(new LocalTransportBuilder()
.withConfig(new LocalTransportConfig(agentId))
.withHandle(receiver).build());
}