01Chapter 1: How Agentforce limits what an agent can doAn Agentforce agent can read records, call actions, and write replies. Each of those abilities is limited by a separate control. This chapter maps those controls and shows which ones the platform enforces and which ones only guide the model. The remaining chapters cover each control in detail.7 min read
02Chapter 2: Agent types and who the agent runs asAn Agentforce agent never acts as "the AI". Every query it runs and every record it changes happens as some Salesforce user. This chapter covers how the agent type determines that user, and what follows from it for data access, auditing, and risk.7 min read
03Chapter 3: The agent userThis chapter covers the dedicated user that some Agentforce agents run as. It assumes you can administer Salesforce users, profiles, and permission sets, and that you know what an agent, a topic, and an action are. You should also know how object permissions and record sharing combine. The Apex exam7 min read
04Chapter 4: Applying least privilege to an agentThis chapter assumes you can create permission sets in Setup and that you know how object permissions, field-level security, and sharing relate to each other. You should also know what an Agentforce agent, a topic, and an action are. Earlier chapters covered agent types and the agent user. This chap8 min read
05Chapter 5: Granting access with permission setsThis chapter assumes you can create a permission set in Setup, you know the difference between object permissions and field-level security, and you have read the earlier chapters on the agent user and least privilege. Some examples use Salesforce DX metadata and the sf CLI, but you can do the same7 min read
06Chapter 6: Sharing rules and field-level security for agentsThis chapter covers the two settings that decide which records an agent user can see and which fields it can read on those records. It assumes you know how permission sets grant object and field access, and you know the basic sharing model (organization-wide defaults, role hierarchy, sharing rules).7 min read
07Chapter 7: Scoping an agent with topicsThis chapter assumes you know what an Agentforce agent is, what a topic and an action are, and how permission sets work. You should also know that the agent user's permissions (covered in earlier chapters) set the data ceiling. Here you will see how topics set the behavior boundary beneath that ceil6 min read
08Chapter 8: Writing instructions that constrain behaviorThis chapter covers how to write topic instructions for an Agentforce agent so that they limit what the agent says and does. It assumes you can already do the following:7 min read
09Chapter 9: Choosing and limiting actionsAn action is the part of an agent that touches data or systems. Topics and instructions shape what the agent says. Actions decide what the agent can do. This chapter covers how to pick actions for a topic, how to keep their inputs and outputs narrow, and how to check that each one respects the permi8 min read
10Chapter 10: Enforcing permissions inside Apex and Flow actionsThis chapter assumes you can read basic Apex and Flow, and that you know what a permission set, object permission, and field-level security (FLS) are. It builds on the earlier chapters about the agent user, permission sets, and sharing. Here the focus is on the layer that most often breaks the least7 min read
11Chapter 11: What the Einstein Trust Layer addsThis chapter covers the controls the Einstein Trust Layer applies around every call to a large language model (LLM). It also covers the controls it does not provide, which you still have to build with the agent user, permission sets, topics, and actions from the earlier chapters.7 min read
12Chapter 12: Handing off to a humanAn agent with tight permissions, a narrow topic list, and a few well-built actions will still meet requests it must not handle. A customer may ask for a refund, or become upset, or ask something outside every topic. Escalation is the guardrail for those cases. The agent stops, passes the conversatio6 min read
13Chapter 13: Testing guardrails and reviewing agent activityThis chapter assumes you know Salesforce permission sets, profiles, and sharing. It also assumes you know what an Agentforce agent, a topic, and an action are. You should have read the earlier chapters on the agent user, permission sets, topics, instructions, action design, and escalation. Here you 8 min read