in AgentDefinition change agent_default_config to agent_init_config