asSelfServiceAiAgentConfigurationOrNull