Cert++
Close

Agent Script in Canvas View

Key Takeaway

Inline actions in reasoning instructions, such as Run an Action and Transition, run deterministically before any reasoning takes place. To let the agent decide during reasoning whether and when to move to another subagent, add a transition utility to the subagent's actions available for reasoning.

Canvas view is the default, visual view of Agentforce Builder. In Canvas view, an agent's Agent Script appears as easy-to-read blocks, with shortcuts for adding resources and deterministic logic, so you can build reliable agents without writing raw script. Every change you make in Canvas view is Agent Script, and it stays in sync with Script view.

What Agent Script is

Agent Script is the language for building agents in Agentforce Builder. Agent Script combines flexible natural language instructions for conversation with reliable programmatic expressions for business rules, so agent workflows don't rely only on an LLM's interpretation. Whether you work in Canvas view, in Script view, or in a chat with Agentforce, you are writing Agent Script.

With Agent Script, you decide where the LLM is free to make reasoning decisions and where the agent must run deterministically. You can also store the agent's current state in variables instead of relying on LLM context memory.

Agentforce Specialist Study Guide

Checklist progress

0/204Learned

Explain the components and benefits of hybrid reasoning, including how Agent Script functions in Canvas and Script View

0/6

Benefits of hybrid reasoning

Learn this concept

Agent Script in Canvas View

Learn this concept

Agent Script in Script View

Learn this concept

Canvas versus Script View

Learn this concept

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Agentforce Specialist studiers.