What problem does it solve? Agent Script is Salesforce's 2025 language for authoring AI agents on the Atlas Reasoning Engine, but it has zero training data in any AI model, so coding assistants cannot write or debug it accurately without structured reference material. ## Core Features & Use Cases - Full Agent Lifecycle: Create, modify, comprehend, deploy, publish, activate, test, and delete Agentforce agents defined by AiAuthoringBundle metadata and .agent files. - Diagnosis Workflows: Diagnose compilation errors, behavioral issues via live preview session traces, and production issues like credit overconsumption and reserved keyword conflicts. - Design Governance: Enforces Agent Spec creation with a hard user-approval gate, backing logic scanning for @InvocableMethod Apex and AutoLaunchedFlow, and subagent map diagrams. - Use Case: Ask the assistant to build a customer service agent with order lookup and escalation; it drafts an Agent Spec, generates the authoring bundle, stubs invocable Apex actions, validates compilation, previews with live actions, and publishes after your approval. ## Quick Start Ask the assistant to create a new Agentforce agent for your use case and let it draft an Agent Spec for your approval before generating any code.