- An agent understands language, decides what to do, and acts. A chatbot only answers.
- Every example in this notebook uses one company: Meridian Power. Same company, every module.
- Learn the 360 Card first (0.5). It is the shape of every good answer: rule, gain, price, limits.
0.1 The Map: One Agent, Six Layers
Concept
- Read the layers bottom to top. Each one stands on the layer below.
- 1. Identity: Which user the agent runs as. Question: What may it touch?
- 2. Reasoning: How one turn is built and resolved.
- 3. Routing: Which specialist handles this message.
- 4. Doing: Actions, and the script that ties them together.
- 5. Knowing: Grounding, prompt templates, retrieval.
- 6. Trusting: Determinism, guardrails, security.
- On top sits Operations — where the agent runs, how you test it, what it costs, how you ship it.
- If an answer feels lost in an interview, name the layer first, then go one step down.
Rule: Name the layer before you answer. Identity, reasoning, routing, doing, knowing, trusting.
Gain: You never freeze. Every Agentforce question belongs to exactly one layer.
Price: It is a mental model, not a Salesforce feature. Do not quote it as product architecture.
Limits: 20 active agents per org. 15 subagents per agent. 15 actions per subagent.
Mirror — feature-list thinking: You can name every button and still not explain why an agent misbehaved.
Later: This map is also your revision order. Weak on a layer means weak on its modules.
At volume: One agent cannot span a large enterprise. The 15-subagent ceiling forces an orchestrator plus specialists.
Core Q&A
A: Start with what makes it different from a chatbot.
- A chatbot follows a decision tree somebody drew in advance. Off the tree, it fails.
- An agent reads the request, picks one specialist, and calls real actions that write to Salesforce.
- Underneath, six layers. Identity decides which user it runs as, and that is the hard ceiling on what it can touch.
- Reasoning turns your instructions into a finished prompt before the model is ever asked.
- Routing picks exactly one subagent. Doing is the actions. Knowing is grounding.
- Trusting is where you decide which parts the model is allowed to influence at all.
- The stronger answer names the layer the question is really about, rather than listing features.
Follow-ups (Scenario-Based)
A1: It sits on the knowing layer, and it is required only for some grounding.
- Record data, related lists, Flow and Apex grounding need no Data 360 at all.
- Retrieval from documents does — that is where Data Library, search index, and retriever live.
- Common mistake: Saying Agentforce needs Data Cloud. It does not, unless you are grounding on unstructured content.
- One more dependency worth knowing: The Einstein Trust Layer settings page needs Data 360 before it will display.
A2: Frame it as predictability of input, not capability.
- Flow is right when the steps are always the same and the input is structured.
- An agent earns its cost when the input is human language and the path varies.
- Flow is also free. Agent conversations consume credits, so volume matters.
- Architect answer: Most real solutions use both. The agent handles the conversation, while Flow performs the deterministic work behind it.