Agent Builder —
Build Your First Agent!
Navigate the new 2026 Agent Builder, create the XYZ Company Sales Assistant with Subagents, write Instructions, and have your FIRST real conversation with your AI agent — all step by step.
1. The New Agent Builder Interface (2026)
The complete redesigned UI — Explorer, Canvas, Script, and Preview Panel
| Builder Component | Location | What It Does | 2026 Change |
|---|---|---|---|
| Explorer | Left sidebar | File-based navigator — view all Subagents, Actions, Variables, Data Sources in one place | NEW: Flatter, less digging required |
| Canvas View | Center (main) | Visual block editor — Subagents and Instructions shown as structured blocks. Easier for admins and quick reviews | NEW: Replaces old visual editor. Auto-syncs with Script View |
| Script View | Center (toggle) | Agent Script code editor with syntax highlighting, autocompletion, real-time validation. For pro-code control | NEW: Agent Script language for reliability + flexibility |
| Conversation Preview Panel | Right side | Chat interface to test agent in real time. See reasoning, selected Subagent, Actions called | UPDATED: Much more transparency on agent thinking |
| Agentforce Assistant | Integrated in UI | Built-in AI helper — ask it to generate Subagents, fix errors, refactor logic. Conversational agent building | NEW: Conversational agent creation |
CENTER: Canvas View with Subagent blocks — Instructions and Actions displayed visually OR Script View showing Agent Script
RIGHT: Conversation Preview Panel — test your agent, see reasoning
TOP: Canvas/Script toggle, Save, Activate buttons
The whole interface is modern, flat, with real-time sync between Canvas and Script views
Script View (Code): Full Agent Script language with syntax highlighting and validation. For precise control and production reliability. Both views are ALWAYS in sync — edit Canvas, Script updates. Edit Script, Canvas updates.
2. Terminology Update: Topics — Now Called “Subagents”
April 2026 official change — know both names for interviews
| Old Name (Before April 2026) | New Name (April 2026 onwards) | Definition (No Change) | Example |
|---|---|---|---|
| Topic | Subagent | A category of requests the agent handles. Each Subagent has a Classification Description and Instructions | “Sales Assistant” Subagent handles account queries, opportunity lookups, email drafting |
| Multiple Topics | Multiple Subagents | An agent can have 1, 2, or many Subagents. Agent decides which Subagent handles each user message | Agent with “Sales Subagent” + “Support Subagent” + “HR Subagent” |
| Topic Instruction | Subagent Instruction | Natural language rules for how the agent behaves when handling that Subagent’s requests | “Always show Opportunity amounts in INR. Escalate pricing questions.” |
Options: Service Agent, Sales Agent, Agentforce for Service, Custom Agent. Choose Custom Agent or Build from Scratch
The new builder opens in a modern, flat interface with Explorer sidebar on the left.
- Structured visual format
- Easy to understand
- Perfect for admins
- Auto-syncs with Script
- Full Agent Script syntax
- Exact control
- Production reliability
- Auto-syncs with Canvas
This is Minal’s feedback: “Conversation Preview Panel is the primary testing interface.” Use it to understand exactly what your agent is thinking!
3. Canvas View vs Script View — Two Ways to Build the Same Agent
Visual blocks OR code — both in perfect sync (new in 2026)
| Aspect | Canvas View | Script View |
|---|---|---|
| What You See | Structured visual blocks showing Subagents, Instructions, Actions as UI elements | Agent Script code with syntax highlighting and real-time validation |
| Best For | Admins, quick edits, business logic reviews, learning, presentations | Developers, precise control, production reliability, complex logic |
| Sync | Edit Canvas — Script updates automatically | Edit Script — Canvas updates automatically |
| Syntax | No code knowledge needed | Need to know Agent Script language (human-friendly, not complex) |
| When to Use | Making changes, teaching others, adding instructions, tweaking Subagents | Building from scratch, ensuring reliability, complex routing logic |
4. The Agentforce Reasoning Loop (Unchanged from M1, Critical for Interviews)
What happens under the hood when you chat with your agent
| Step | What Happens | In Your Agent |
|---|---|---|
| 1️⃣ Message In | User sends message through Conversation Preview Panel | “Tell me about ABC Pharma” |
| 2️⃣ Trust Layer | PII masking + toxicity check on input (Module 2) | “Tell me about [ORG_1]” (masked) |
| 3️⃣ Subagent Selection | AI reads Classification Descriptions of all Subagents, picks best match | Selects “Sales Assistant” Subagent (best match) |
| 4️⃣ Load Instructions | AI reads Instructions for selected Subagent | Loads “When asked about Account: provide name, industry, location...” |
| 5️⃣ Plan Actions | AI decides which Actions to call (if any) to gather data | No Actions yet — would plan “Get Account Data” once we add it (M7-M9) |
| 6️⃣ Execute Actions | Actions run (Apex queries Salesforce, Flow runs, APIs called) | N/A for now (no Actions configured) |
| 7️⃣ Generate Response | AI uses Instructions + Action results to write response | AI generates: “I’d love to help with ABC Pharma’s details, but I need data access...” |
| 8️⃣ Trust Layer Output | PII re-inserted + toxicity check on output | Response verified safe before sending |
| 9️⃣ Deliver | Final response sent to user | User sees the friendly, helpful response |
5. Agent Builder — Interview Questions & Answers
Real questions from Agentforce interviews
| Interview Question | Best Answer |
|---|---|
| Explain the new Agentforce Builder (2026) | It has four main components: Explorer sidebar (file-based navigator), Canvas View (visual block editor), Script View (Agent Script code with sync), and Conversation Preview Panel (testing/debugging). Canvas and Script views stay in perfect sync — edit one, the other updates automatically. |
| What’s the difference between Canvas and Script View? | Canvas View = visual blocks (good for admins, quick edits, learning). Script View = Agent Script code (good for developers, precision control). Both show the same agent — just different interfaces. Change Canvas — Script updates. Change Script — Canvas updates. Perfect sync. |
| Why were Topics renamed to Subagents in April 2026? | Terminology update to better reflect architecture — these aren’t just “topics,” they’re semi-autonomous sub-agents, each with their own Instructions and capabilities. No functionality changed — just the name. Know both for interviews! |
| What is a Subagent Classification Description? | Natural language description that tells the AI WHEN to use that Subagent. User message comes in — AI reads ALL Classification Descriptions — picks the Subagent with the best-matching description. Critical for correct routing. |
| Explain the Agentforce reasoning loop | Message — Trust Layer (PII mask) — Subagent Classification (which Subagent?) — Load Instructions (how to behave) — Plan Actions (what to do) — Execute Actions (call Apex/Flow) — Generate Response — Trust Layer (PII restore) — Deliver to user. |
| What is the Conversation Preview Panel? | The built-in testing interface in the new Agent Builder (right side panel). Chat with your agent in real time. See which Subagent was selected, which Actions were called, full reasoning chain. Much more transparent than old Test Panel. |
Module 4 Summary
What you built today — foundation of all future modules
- ✅New Agent Builder (2026) — navigated all panels: Explorer, Canvas View, Script View, Conversation Preview Panel
- ✅Subagent Terminology — Topics renamed to Subagents (April 2026 official change)
- ✅Agent Created — “XYZ Sales Assistant” with name, description, company context
- ✅Subagent Created — “Sales Assistant” with Classification Description
- ✅Instructions Written — 10 behavioral rules + global system prompt
- ✅Canvas & Script Views — understood both modes, saw how they sync perfectly
- ✅Agent Activated — Status = Active
- ✅First Conversation — tested in Conversation Preview Panel (Minal’s primary testing interface)
- ✅Reasoning Loop — understood 9-step flow (critical for interviews)
๐ Ready for Module 5?
Next: TIA Framework Deep Dive — Topics (Subagents), Instructions, and Actions in Depth You’ll learn advanced Subagent configuration, production-quality Instructions, and the four types of Actions: Standard, Flow, Apex, and API. Your agent levels up!
Module 5: TIA Framework Deep Dive —
New interview questions every week
Follow for fresh Salesforce Q&A, free courses, and real interview experiences — straight from the trenches.
Follow Us ↗