loader

Salesforce Agentforce 2026: Complete Developer & Admin Guide to Building AI Agents

Salesforce has fundamentally shifted how businesses think about AI. With Agentforce, the question is no longer “Can AI assist my team?” — it’s “How much of the work can AI actually do on its own?”

This guide covers everything you need to know about Agentforce in 2026: what it is, how it works under the hood, the types of agents you can build, deployment options, and how your team can get started today.

What is Agentforce? (and Why It's not a Chatbot)

Agentforce is Salesforce’s platform for building autonomous AI agents — software that can reason through a problem, decide what to do, take action, and respond, all without a human typing a prompt first.

This is a significant leap from traditional chatbots or even Einstein Copilot (the predecessor). A chatbot follows a script. A copilot waits for a human to ask something. An Agentforce agent can be triggered by an event — an incoming email, a new lead, a case update — and independently execute a multi-step workflow to resolution.

Three layers make this possible:

  • Atlas Reasoning Engine — the AI brain that reads user intent, selects the right topic and action, and generates a contextual response
  • Data 360 (formerly Data Cloud) — grounds the agent in your live CRM data, knowledge articles, and documents via RAG (Retrieval-Augmented Generation)
  • Einstein Trust Layer — masks sensitive PII before it ever reaches the LLM, ensuring enterprise-grade data security and compliance

With Agentforce 3.0 (released June 2025) and Agentforce 360 (GA January 2026), the platform now includes a Command Center for full agent observability, Model Context Protocol (MCP) integration, Agent Script for deterministic control flows, and over 100 prebuilt industry actions.

Agentforce vs Einstein Copilot: What Changed?

If your org previously used Einstein Copilot, you’re already partway there. But the two are fundamentally different:

 Einstein Copilot (old)Agentforce (2026)
TriggerHuman types a promptHuman prompt or automated event
ExecutionSuggests — human approvesActs autonomously, with optional human handoff
ActionsLimited, co-pilot styleFull Apex, Flow, API, Prompt Template support
ChannelsLightning Experience onlyLightning, Mobile, Slack, Experience Cloud, Web, WhatsApp, Email
BuilderEinstein Copilot BuilderNew Agentforce Builder (GA February 2026)

The Agentforce (Default) agent is the direct successor to Einstein Copilot for internal/employee use. Existing Copilot configurations can be migrated into Agentforce topics and actions

Types of Agents

Agentforce supports two primary agent categories, each with distinct deployment surfaces:

Service Agent

Customer-facing. Handles support queries, case deflection, appointment booking, and FAQ resolution — 24/7, without a human in the loop unless escalation is needed.

Deploys to: Experience Cloud portals, external websites, WhatsApp, Facebook Messenger, Email, Enhanced Chat

Employee Agent (including Sales and HR variants)

Internal-facing. Helps sales reps qualify leads, assess deal health, log activities, and surface insights — directly inside the tools they already use.

Deploys to: Salesforce Lightning Experience, Salesforce Mobile, Slack

Both types support natural language multi-turn conversations, human escalation/handoff, and full access to your Salesforce data via SOQL-respecting Apex actions.

How Agentforce Works: The Core Building Blocks

Before building, every developer and admin should understand the key components:

Topics

A topic is an intent category — a named bucket that defines when the agent should engage. Example: “Lead Qualification” or “Order Management.” Each topic has a classification description (used by the Atlas engine to route user messages) and a scope (what the topic covers).

The quality of your classification description directly determines routing accuracy. Write it as if you’re explaining to a colleague when they should handle this type of request.

Instructions

Prompt-level rules inside each topic. These guide how the agent behaves — tone, what to check first, how to handle edge cases, whether to confirm before acting.

Actions

The tools the agent uses to get work done. There are four types:

  • Standard Actions — out-of-the-box (QueryRecords, SummarizeRecord, SendEmail). Always check these first before building custom.
  • Flow Actions — declarative automation via Flow Builder
  • Apex Actions — custom code via @InvocableMethod (most powerful for complex logic)
  • Prompt Template Actions — LLM-powered text generation via Prompt Builder

Agentforce Data Library (ADL)

Upload knowledge articles, PDFs, and policy documents. The ADL indexes them for RAG — so your agent answers from your content, not generic LLM training data.

Conditional Filters

System-level gatekeepers that include or exclude topics/actions based on conditions — deterministic logic that doesn’t rely on the LLM. Think of them as dynamic visibility rules for your agent’s reasoning.

Step-by-Step: Building Your First Agent in 2026

The new Agentforce Builder (GA February 2026) simplifies the process significantly. Here’s the current setup flow:

1. Enable Prerequisites

 
 
Setup → Einstein Setup → Turn on Einstein
Setup → Agents → Turn on Agentforce toggle
Setup → Salesforce Go → Search "Agentforce (Default)" → Get Started → Turn On

2. Create Your Agent

  • Setup → Agents → New Agent
  • Choose template: Agentforce Employee Agent (for Lightning/internal) or Agentforce Service Agent (for customer-facing)
  • Complete the guided wizard

3. Create Topics

In Agent Builder → New Topic. Give it:

  • A clear name (e.g., “Lead Qualification”)
  • A classification description explaining when this topic applies
  • Instructions guiding agent behaviour within this topic

4. Build & Register Actions

For Apex actions, annotate your class with @InvocableMethod:

 
 
apex
@InvocableMethod(
    label='Score Lead'
    description='Returns a qualification score and summary for a Lead based on industry, company size, and activity history.'
)
public static List<Response> scoreLead(List<Request> requests) {
    // your logic here
}

After deploying, register in Setup → Agent Actions → New and select your Apex method. Tick “Show in Conversation” on at least one output — this surfaces results to the user and keeps them in agent memory for follow-up turns.

5. Test in Agent Builder

Use the Conversation Preview panel to simulate real interactions. You can see exactly which topic was selected, which action fired, and the input/output of each call — invaluable for debugging.

6. Activate and Deploy

  • Click Activate in Agent Builder
  • For Lightning Experience: the Agentforce panel appears automatically in the top header bar once the Default agent is enabled — no utility bar configuration needed
  • For Experience Cloud: configure Messaging Settings → create a Messaging Channel → add an Embedded Service Deployment → publish to your site

Apex Actions: The Developer Advantage

If your team has Salesforce developers, Apex actions are where Agentforce becomes genuinely powerful. Unlike standard actions, Apex lets you:

  • Execute complex business logic (scoring algorithms, risk calculations, multi-object queries)
  • Integrate with external APIs via callouts
  • Apply custom sharing and security logic
  • Return rich, structured data to the agent’s conversation context

A few best practices for production-quality actions:

  • Name and describe precisely. The Atlas engine selects actions based on label and description — vague descriptions lead to wrong action selection.
  • Keep actions single-purpose. One action = one capability. This makes them reusable across multiple topics.
  • Test in isolation first. Verify your Apex logic independently before wiring into the agent.
  • Use @InvocableVariable descriptions — they help the engine auto-map conversation context to input fields.

Pricing

Salesforce has evolved its pricing model alongside the platform:

  • Salesforce Foundations (free) — Available for Enterprise Edition and above. Includes 1,000 Agentforce conversations, 250K Data Cloud credits, and access to Agent Builder.
  • Flex Credits model (introduced Summer ’25) — Credits are consumed per action executed, not per conversation. This aligns cost with actual value delivered.
  • Agentforce Service Agent — Starts at $2/conversation for standard usage; enterprise pricing varies.

For accurate pricing based on your org edition and expected volume, we recommend a direct conversation with your Salesforce AE — or reach out to us for an independent assessment.

Why Work With a Salesforce Partner for Agentforce?

Agentforce is genuinely exciting — but getting it right requires more than toggling a few settings. The biggest risks we see in DIY implementations:

  • Poor topic and instruction design leading to wrong action routing
  • Dirty CRM data causing the agent to give confidently wrong answers
  • Missing escalation flows leaving customers stuck with no human fallback
  • Permission and sharing misconfiguration exposing data to the wrong agent users

At Tenetizer Technologies, we’ve helped Salesforce customers across Service Cloud, Sales Cloud, and Experience Cloud build production-ready Agentforce implementations. Our approach:

  1. Org Readiness Assessment — data quality, license check, Einstein prerequisites
  2. Use Case Design — identify the 2-3 highest-value agent workflows for your business
  3. Build & Test — Topics, Apex actions, Data Library setup, channel configuration
  4. Deploy & Monitor — go-live support, Command Center setup, ongoing optimisation

 

Ready to explore what Agentforce can do for your business? Book a free consultation with our team →

Tenetizer Technologies is a Salesforce implementation partner specialising in AI, automation, and custom development. Based in India and USA, serving clients globally.