Agent Script Reference
This reference covers key concepts and terms associated with Agent Script.
-
Actions - Define executable tasks that an agent can perform, such as running a flow or transitioning to a new topic.
-
Before and After Reasoning - Optional blocks inside a topic that run either before or after the topic executes.
-
Blocks - The structural components of an Agent Script, where each block contains a set of properties that describe data or procedures.
-
Conditional Expressions - Deterministically specify what actions to take or which prompts to include based on the current context.
-
Reasoning Instructions - Instructions that Agentforce resolves into a prompt for the LLM.
-
Supported Operators - The comparison, logical, and arithmetic operators you can use in Agent Script.
-
Tools (Reasoning Actions) - Executable functions that the LLM can choose to call, based on the tool's description and current context.
-
Topics - A set of instructions, actions, and reasoning that defines a job that an agent can do.
-
Utils - Utility functions used as tools, such as transitioning to topics or setting variable values.
-
Variables - Let agents track information across conversation turns.