Cert++
Close

Agent Script in Script View

Key Takeaway

Canvas view and Script view edit the same Agent Script file. Canvas view underlines validation errors, while Script view gives more detail about them. If changes in Script view make Canvas view unavailable, fix the errors in Script view before you switch back.

Agent Script is the language behind every agent built in Agentforce Builder. It mixes natural-language prompts that an LLM interprets with programmatic logic that runs the same way every time. Script view lets you read and edit that language directly as code. Canvas view shows the same agent as visual blocks.

Agent Script and hybrid reasoning

You write Agent Script whether you work in Canvas view, in Script view, or by chatting with the Agentforce assistant. Agentforce stores the whole agent as Agent Script in a single text file.

Agent Script blends two things that usually live in separate tools: the flexibility of natural-language prompts and the reliability of deterministic, programmatic logic. The blend is called hybrid reasoning. You decide which behaviors are fixed rules and which ones the LLM figures out.

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. 757 members and growing.