You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an agent in your org from a local agent spec file.
4
+
5
+
# description
6
+
7
+
To generate an agent spec file, run the "agent generate spec" CLI command, which outputs a YAML file with the list of jobs and descriptions that the new agent can perform. Then specify this generated spec file to the --spec flag of this command, along with the name of the new agent.
8
+
9
+
When this command finishes, your org contains the new agent, which you can then edit in the Agent Builder UI. The new agent already has a list of topics and actions that were automatically created from the list of jobs in the provided agent spec file. This command also retrieves all the metadata files associated with the new agent to your local DX project.
10
+
11
+
To open the new agent in your org's Agent Builder UI, run this command: "sf org open agent --name <api-name-of-your-agent>".
12
+
13
+
# flags.spec.summary
14
+
15
+
Path to an agent spec file.
16
+
17
+
# flags.preview.summary
18
+
19
+
Preview the agent without saving in your org.
20
+
21
+
# flags.agent-name.summary
22
+
23
+
Name for the new agent.
24
+
25
+
# flags.agent-api-name.summary
26
+
27
+
API name for the new agent.
28
+
29
+
# flags.user-id.summary
30
+
31
+
Custom user ID for the agent.
32
+
33
+
# flags.enrich-logs.summary
34
+
35
+
Adds agent conversation data to event logs.
36
+
37
+
# flags.tone.summary
38
+
39
+
Conversational style of agent responses.
40
+
41
+
# flags.primary-language.summary
42
+
43
+
Language the agent uses in conversations.
44
+
45
+
# flags.planner-id.summary
46
+
47
+
The GenAiPlanner ID to associate with the agent.
48
+
49
+
# error.missingRequiredFlags
50
+
51
+
Missing required flags: %s
52
+
53
+
# examples
54
+
55
+
- Create an agent called "CustomerSupportAgent" in an org with alias "my-org" using the specified agent spec file:
0 commit comments