Skip to content

Unsupported Bundle Type: AiAuthoringBundle #3500

@gdecaen-klint

Description

@gdecaen-klint

Summary

Creating a new Agentforce Employee Agent with the new Agentforce Builder, pulling changes doesn't work because the metadata is not supported by the CLI.

Steps To Reproduce

  • Create a Scratch Org with the following definition
{
  "orgName": "Demo Org",
  "edition": "Developer",
  "features": ["EnableSetPasswordInApi", "Einstein1AIPlatform"],
  "settings": {
    "lightningExperienceSettings": {
      "enableS1DesktopEnabled": true
    },
    "mobileSettings": {
      "enableS1EncryptedStoragePref2": false
    },
    "einsteinGptSettings" : {
      "enableEinsteinGptPlatform" : true
    }
  }
}
  • Go to Setup / Einstein / Einstein Generative AI / Agentforce Agents
  • Switch toggle Agentforce to On
  • Click on the button Let's Go in the card 'Try the new Agentforce Builder (Beta)!'
  • Click on the button New Agent in the new tab
  • Select Agentforce Employee Agent template
  • Give a name to the Agent and click Let's Go
  • Run sf project retrieve start

Expected result

AiAuthoringBundle metadata should be retrieved

Actual result

Fail with this error

Error (UnsupportedBundleTypeError): Unsupported Bundle Type: AiAuthoringBundle

System Information

{
  "architecture": "win32-x64",
  "cliVersion": "@salesforce/cli/2.122.6",
  "nodeVersion": "node-v24.13.1",
  "osVersion": "Windows_NT 10.0.26200",
  "rootPath": "C:\\Users\\Guillaume\\AppData\\Roaming\\npm\\node_modules\\@salesforce\\cli",
  "shell": "powershell",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.40 (core)",
    "@oclif/plugin-commands 4.1.40 (core)",
    "@oclif/plugin-help 6.2.37 (core)",
    "@oclif/plugin-not-found 3.2.74 (core)",
    "@oclif/plugin-plugins 5.4.55 (core)",
    "@oclif/plugin-search 1.2.37 (core)",
    "@oclif/plugin-update 4.7.18 (core)",
    "@oclif/plugin-version 2.2.36 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.55 (core)",
    "@oclif/plugin-which 3.2.43 (core)",
    "@salesforce/cli 2.122.6 (core)",
    "agent 1.27.3 (core)",
    "apex 3.9.5 (core)",
    "api 1.3.8 (core)",
    "auth 4.1.4 (core)",
    "code-analyzer 5.9.0 (user) published 15 days ago (Wed Jan 28 2026)",
    "data 4.0.67 (core)",
    "deploy-retrieve 3.24.7 (core)",
    "info 3.4.100 (core)",
    "limits 3.3.74 (core)",
    "marketplace 1.3.8 (core)",
    "org 5.9.64 (core)",
    "packaging 2.25.1 (user) published 4 days ago (Sat Feb 07 2026)",
    "schema 3.3.90 (core)",
    "settings 2.4.54 (core)",
    "signups 2.6.56 (user) published 67 days ago (Sat Dec 06 2025)",
    "sobject 1.4.82 (core)",
    "telemetry 3.6.71 (core)",
    "templates 56.4.7 (core)",
    "trust 3.7.113 (core)",
    "user 3.6.48 (core)",
    "sfdmu 4.39.0 (user) published 20 days ago (Thu Jan 22 2026)",
    "sfdx-git-delta 6.30.0 (user) published 7 days ago (Wed Feb 04 2026)"
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue or pull request that identifies or fixes a buginvestigatingWe're actively investigating this issuevalidatedVersion information for this issue has been validated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions