MockCertMockCert
Menu

Salesforce conceptsSalesforce Certified Agentforce SpecialistAgent Script

AI-201 AI agents: how agents reason and stay predictable

What AI-201 asks about AI agents: subagents and actions, hybrid reasoning in Atlas, Canvas and Script view, and filters and variables for control.

By MockCert EditorialPublished Nov 19, 2026

3 min read

In the Atlas reasoning engine, a subagent's reasoning instructions are resolved in order with no LLM at all. After it runs an action, an agent keeps checking results for up to seven reasoning loops.

01 What does AI-201 ask about AI agents?

A question asks which part of an agent runs without the LLM, and every option sounds right. Start with the parts. A subagent groups related actions with the instructions that tell the agent how to decide.

The domain's three objectives, and what each one asks about

  1. Objective 3.1: how an agent worksSubagents, actions, instructions, and how Atlas moves between them.
  2. Objective 3.2: hybrid reasoningMixing LLM reasoning with rules; Canvas view and Script view.
  3. Objective 3.3: deterministic behaviorFilters, variables and conditional expressions that control what runs.
Learn the parts, then the reasoning, then the controls that make behavior repeatable.

Atlas resolves those instructions in order, then checks action results in reasoning loops. You edit it in Canvas view or Script view. Filters and conditional statements, built on variables, control what runs.

A subagent is a set of related actions plus instructions.

02 How does an agent decide what to do?

Those parts run inside Atlas. It is graph-based, working like a flowchart with nodes, variables and transitions. Its hybrid reasoning combines LLM-based reasoning with rules-based execution in one engine.

So know which steps skip the LLM. Before reasoning begins, conditional statements are evaluated from variable values, so only the instructions that apply reach the prompt. By default, the starting subagent is the Agent Router.

Conditions are checked before reasoning, so the LLM sees only relevant instructions.

03 Canvas view or Script view?

Both views edit the same thing. Agent Script is the language for building agents in Agentforce Builder, in either view. But changes in Script view can make Canvas view unavailable until you fix the errors.

You can commit an agent with warnings, but not with errors.

Errors block a commit; warnings do not.

04 How do you keep an agent predictable?

Variables are the first tool. They store the agent's current state reliably, instead of relying on LLM context memory. Filters are the second: they let the agent use a subagent or action only when conditions are met.

Expect a security angle too. On customer channels, Salesforce recommends filters that require authentication for subagents and actions that act for a user.

MockCert's readiness by domain helps here: each answer updates your estimate for every domain, so a gap shows early. MockCert is independent of Salesforce.

Variables hold state; filters decide what the agent may use.

Summary

  1. Atlas works like a flowchart and mixes LLM reasoning with rules.
  2. Conditions are evaluated before reasoning, trimming the prompt.
  3. Filters gate subagents and actions on conditions you set.

Sources

  1. The Building Blocks of Agents | Salesforce Help (opens in a new tab)
  2. How Agents Work | Salesforce Help (opens in a new tab)
  3. Agent Script | Salesforce Help (opens in a new tab)
  4. Example: More Reliable Agent Instructions with Agent Script | Salesforce Help (opens in a new tab)
  5. Building Agents in Canvas View | Salesforce Help (opens in a new tab)
  6. Create a Filter to Control Access to Subagents and Actions in the Legacy Builder | Salesforce Help (opens in a new tab)
  7. MockCert: free study guides, quizzes and mock exams