Agentforce is Salesforce’s suite of autonomous AI agents that handle sales, service and marketing tasks using CRM data and business logic. It combines large language models with Data Cloud and the Atlas Reasoning Engine to reason through requests and act on them directly.
Agentforce lets organizations build autonomous agents across sales, service, marketing and commerce, all under Salesforce’s push for “Agentforce in every app.”
That promise got its first real test at Dreamforce, where 45,000 attendees could try building an agent themselves. Analyst Doug Henschen watched the room and saw the pitch land, customers nodded along at the idea of building on one platform instead of stitching together their own AI tools.
But “clicks, not code” only means something once you ask “what are the building blocks?” This guide breaks down the components behind an agent, what it costs and how to build one.
Key Takeaways
- Agentforce builds autonomous AI agents for sales, service, marketing and platform use cases inside Salesforce
- The Atlas Reasoning Engine evaluates intent, retrieves data through RAG and plans actions using large action models
- Topics define what an agent can handle; actions define what it can do
- Data Cloud grounds every response in business data, though it isn’t strictly mandatory to get started
- Pricing runs on three models; per-conversation, Flex Credits or per-user licensing
The Building Blocks Behind Every Agentforce Agent
Every agent is built from the same set of underlying pieces, regardless of use case.
| Component | What It Does |
| Agent Builder | Where the agent gets created and configured, in natural language |
| Topics | Define what the agent can handle |
| Actions | Let the agent do work through flows, Apex, prompts or APIs |
| Atlas Reasoning Engine | Reasons through requests and decides what to do next |
| Data Cloud | Supplies structured and unstructured business data |
| Search Index | Retrieves relevant data to ground responses in fact |
Agent Builder configuration happens conversationally, describing what the agent should do the way you’d explain a task to a colleague. The agent’s name, avatar and description all get set here, alongside the channels it operates on, like, email, voice, WhatsApp or a self-service portal.
The interface splits into four working areas, such as, a sidebar for navigating between settings, a panel showing the current setting page, a test-drive conversation panel and a middle panel where that test output appears. Some out-of-the-box agents, like a pre-built Sales Agent, come with a guided setup instead of building from a blank slate.
Building Your First Agent in Salesforce Agentforce Step by Step
Building an agent follows a consistent sequence regardless of use case:
- Define the agent’s role and the specific problem it solves
- Create it in Agent Builder, then add a description, channels and settings
- Assign topics that define its scope
- Assign existing actions or build new ones tied to those topics
- Connect data through Salesforce records, Data Cloud or MuleSoft
- Test it using the Atlas Reasoning Engine’s conversation preview
- Review outputs for grounding before deployment
- Monitor live performance through Omni Supervisor and refine topics and data over time
What’s Doing the Thinking in Agentforce?
Atlas is the reasoning layer behind every Agentforce response and it works in three connected stages rather than a simple decision tree.
First, it evaluates intent, identifying the relevant topic or goal behind whatever a user just asked. Second, it retrieves data, using retrieval augmented generation to pull structured and unstructured information relevant to that request. Third, it plans and acts, relying on large action models rather than rigid if-then logic to figure out the sequence of steps needed and then triggering the right business process.
This is a meaningfully different approach from a traditional chatbot. Instead of matching a query to a scripted response, Atlas builds something closer to a small action plan, checks that plan against real data and only then responds or executes. An answer that isn’t properly grounded gets flagged rather than delivered with false confidence, which is also why messy source data tends to produce vague or stalled responses instead of confidently wrong ones.
What an Agentforce Agent Can and Can’t Touch?
Topics set the scope of what an agent can do, functioning as categories like order management, appointment scheduling or account support. An agent with no topic assigned for a given task simply can’t handle it, which is the core guardrail built into the whole system. During Salesforce’s own product demos, agents routinely answered some customer questions and failed on others purely because the relevant topic hadn’t been assigned yet.
Actions sit underneath topics and do the work. An action can reference a Flow, Apex code, a prompt or a MuleSoft API when the required data lives outside Salesforce entirely. Admins can assign existing actions to a topic from a simple checklist or build new ones by picking a reference action type and pointing it at the right process or API. Once a MuleSoft action is wired in, the agent can query that external system the same way a human user would.
Creating a New Topic Action
Building a new action starts with picking a reference type, Apex, Flow, a prompt, or a MuleSoft API, then pointing it at the right process or endpoint. MuleSoft actions let an agent query external data the same way a human user would.
Where Does Agentforce Get Its Facts From?
Data Cloud isn’t strictly required to run Agentforce, but nearly every meaningful deployment depends on it. It unifies structured Salesforce records with unstructured sources like emails and call notes, using a vector database to make that content usable by the agent.
Retrieval Augmented Generation (RAG)
RAG connects Data Cloud to the Atlas Reasoning Engine, enriching a user’s prompt with relevant business context before the underlying LLM generates a response. Data cleanliness alone can make two identical agent configurations perform very differently.
New Data Streams
When data lives outside Salesforce, in Snowflake or elsewhere, Agentforce connects it through Data Cloud ingestion, zero-copy access, or a MuleSoft API. An external order management system is a typical case needing one of these routes.
Data Graphs
Data Graphs visualize relationships between data model objects, letting admins confirm the right data is reachable before an agent goes live. Real-time versions also speed up identity resolution across customer touchpoints.
Prompt Builder
Every action traces back to a prompt and Prompt Builder is where it gets created or refined. Admins pick the underlying model, then preview and test output directly, keeping prompt engineering largely low-code. A search index is part of this same process. It retrieves the specific data RAG needs so the final response stays grounded rather than generic.
What Does Salesforce Agentforce Cost?
Salesforce runs three pricing models simultaneously and picking the wrong one is one of the more common costly mistakes in an Agentforce rollout.
| Model | Structure | Best For |
| Per-Conversation | $2 per resolved interaction | Simple, predictable customer-facing volume |
| Flex Credits | ~$0.10 per action, 20 to 30 credits per action | High-volume or variable usage across teams |
| Per-User Licensing | $125 to $550+ per user, per month | Employee-facing agents used daily |
Source: Salesforce
Data Cloud is effectively a prerequisite for serious deployments and frequently becomes the largest line item in total cost, sometimes exceeding the Agentforce license itself. Enterprise Edition customers get a free tier through Salesforce Foundations, including a starting allotment of Flex Credits and conversations, which is the recommended way to test before committing to a paid model.
Benefits and Limitations of Agentforce
Agentforce automates repetitive sales, service and operational tasks across multiple channels and its guardrail system through topics keeps agents from wandering outside their assigned scope. Omni Supervisor, originally built for monitoring human service teams, now gives managers the same real-time visibility into live agent conversations and trends.
The limitations trace back to the same dependencies that make it work well in the first place. An agent is only as good as the topics, actions and data it can reach and a poorly structured knowledge base produces incomplete or generic answers no matter how well the agent itself is configured. External system access still requires setup through Data Cloud, zero-copy or MuleSoft and licensing requirements vary meaningfully depending on your existing Salesforce edition and how many of these components you’re already paying for elsewhere.
Use Cases for Agentforce
Agentforce gets tailored differently depending on which part of the business it’s supporting.
- Service Agents handle customer inquiries and troubleshoot issues conversationally, escalating to a human only when the request genuinely needs one
- Sales Agents engage leads proactively, answer product questions and arrange meetings without a rep manually stepping in
- Sales Coaches get trained on a company’s own playbook to give new reps real-time guidance on objection handling and deal strategy
Each of these draws on the same underlying components like topics that define scope, actions that do the work and Data Cloud grounding the responses in whatever data that specific role needs.
FAQs
How do I enable Agentforce in my Salesforce org?
Enterprise Edition and above includes access to Agentforce through Salesforce Foundations, with a starting free tier of Flex Credits and conversations. From Setup, Agent Builder is where you create and configure your first agent once the feature is enabled on your org.
What pricing or licensing is required for Salesforce Agentforce?
Salesforce offers three models. $2 per conversation for customer-facing agents, Flex Credits at roughly $0.10 per action for variable usage or per-user licenses starting around $125 per month for employee-facing agents. Data Cloud isn’t strictly mandatory but is required for most real deployments and is often the largest cost in a full rollout.
Which Salesforce clouds and systems does Agentforce integrate with?
Agentforce works across Sales, Service, Marketing and Commerce Cloud natively and connects to external systems through MuleSoft APIs, Data Cloud ingestion or zero-copy access. This lets an agent reach data stored outside Salesforce, such as an ERP system or a data warehouse like Snowflake, without a full migration.
What security, compliance and data privacy controls does Agentforce use?
Topics act as the main guardrail, locking what an agent can see or do to whatever’s assigned there. Regulated industries like finance and healthcare often need more, like, audit trails, data residency and that usually means a higher license tier.
Where can I find demos, implementation guides, or case studies for Agentforce?
Trailhead and Salesforce’s Agentforce pages cover setup basics. For a real sense of deployment, Dreamforce recordings and customer case studies show more than product pages do.






