Loading video player...
Agent Script is Salesforce's pro-code scripting language for building predictable, enterprise-grade Agentforce agents — announced at Dreamforce 2025, public beta from November 2025. In this video I start by showing a working IT Support Agent built with plain instructions, explain exactly what Agent Script adds on top of it, and rebuild the same agent using Agent Script in VS Code from scratch. What you will learn: ✅ What Agent Script is and why enterprises need it ✅ The two core concepts — Arrow (deterministic) vs Pipe (LLM) ✅ All Agent Script blocks — System, Config, Variables, Language, Start Agent, Subagent ✅ Variables that persist reliably across every conversation turn ✅ Deterministic execution — flows that run in guaranteed sequence ✅ LLM reasoning where you want flexibility ✅ Conditional paths driven by data not LLM judgment ✅ Confirmation gates in code — not suggestions in a prompt ✅ Full build in VS Code with Agentforce DX ✅ Deploy via Salesforce CLI ✅ How to debug using Interaction Summary, Trace tab, and Agent Tracer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔗 GITHUB REPO (Agent Script + All Flows) https://github.com/batra-kapil/AgentScript ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📚 OFFICIAL DOCS Agent Script: https://developer.salesforce.com/docs/ai/agentforce/guide/agent-script.html Variables: https://developer.salesforce.com/docs/ai/agentforce/guide/ascript-ref-variables.html Reasoning Instructions: https://developer.salesforce.com/docs/ai/agentforce/guide/ascript-ref-instructions.html ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⏱ CHAPTERS 00:00 - Intro 02:00 - IT Support Agent Demo 07:15 - Why do you need Agent Script? 08:15 - Agent Script Blocks 10:00 - Agent Script IT Support Agent 17:45 - Canvas View in Agentforce Builder 18:00 - Script View in Agentforce Builder 18:23 - Conclusion ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔔 Subscribe for Agentforce and Salesforce AI content every week 👍 Like if this helped you 💬 Comment below — what should I build next? ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ #AgentScript #Agentforce #Salesforce #SFBolt #SalesforceMVP #SalesforceDeveloper #AgentforceBuilder #SalesforceDeveloper