Salesforce and Claude Integration
Agentforce vs a Custom Claude Agent: How Do You Decide?
Short answer
Choose Agentforce when the users, data and channels mostly live in Salesforce and your admins will maintain the agent. Choose a custom Claude agent when the work spans many systems, lives in your own product or tools, or needs control over the reasoning loop. Many organizations run both, each where its users and data already are.
- →Decide by where the users and data are, not by which vendor you prefer.
- →Agentforce wins on native channels, sharing model and admin maintainability.
- →Custom Claude agents win on multi-system work and full control of the loop.
- →A hybrid, with one owner per agent, is often the right long-term answer.
This decision gets argued as a platform war. It is really a placement question: where should this particular agent live so that it has the data it needs, reaches the people who use it, and can be maintained by people you actually employ? Answer those three and the choice usually makes itself.
What is the actual difference?
Agentforce is Salesforce’s agent platform. Agents are configured with topics, instructions and actions (Flows, Apex, prompt templates, APIs), run under a dedicated agent user, deploy to Salesforce channels and Slack, and route model calls through Salesforce’s model layer and Einstein Trust Layer. Salesforce supports models from multiple providers there, including Anthropic models; check which ones your org supports.
A custom Claude agent is software your team builds with the Claude API or the Claude Agent SDK. You define the loop, the tools and the interface. It reaches Salesforce through MCP or the REST APIs, and can just as easily reach a warehouse, a ticketing tool or a document store.
Custom Claude agent
An AI agent your team builds and hosts using Anthropic’s Claude models, with its own tools and logic, connected to Salesforce and other systems through MCP or APIs.
Which questions settle the decision?
| Question | Agentforce if... | Custom Claude if... |
|---|---|---|
| Where does the data live? | Mostly Salesforce and Data 360 | Spread across several systems |
| Who uses it? | Customers, or staff inside Salesforce | Staff in other tools, or your product users |
| Which channels? | Salesforce messaging, Experience sites, Slack | Your own app, internal tools, custom UI |
| Who maintains it? | Salesforce admins and developers | A software engineering team |
| How much control of the loop? | Topics and actions are enough | You need custom planning, memory or tools |
| How do you want to pay? | Salesforce consumption fits your budget | Direct model usage fits your budget |
| Compliance boundary | Want it inside the Salesforce trust layer | Your own controls are mature |
Score each question for the specific agent. If five or more point one way, you have your answer. If it is split, look at the maintainer question first: an agent that nobody on staff can confidently change will decay, whatever platform it runs on.
When does a hybrid make sense?
Often. A common pattern, for example: an Agentforce service agent handles customer conversations on web and WhatsApp, grounded in Data 360 and creating cases natively. Behind it, a custom Claude agent prepares weekly account research for the service leadership, reading Salesforce through a read-only MCP connection alongside product usage data in the warehouse. Two agents, two owners, each in the right place.
A hybrid with clean seams
Users
Customers
Web and WhatsApp
Service and ops teams
Slack and Salesforce
Agents
Agentforce agent
Customer conversations
Custom Claude agent
Back-office research
Shared foundation
Data 360
Unified profiles
Salesforce records
Read via MCP for Claude
Warehouse and docs
Seams
Own identity each
One owner each
One truth per fact
The hybrid only works if the seams are clean: one source of truth per fact, documented identities for each agent, and no agent quietly duplicating another’s job. Our integration playbook calls these the four doors and shows how they fit together.
How should you run the decision?
- 01
Write the job in one paragraph
User, task, systems touched, the metric it moves and what a wrong answer costs.
- 02
List the tool calls
Sketch the five to ten actions the agent needs. Count how many leave Salesforce.
- 03
Name the maintainer
Who changes this agent in month seven when policy changes? Pick their platform.
- 04
Model run cost both ways
Conversations per month, actions per conversation, model tier. Compare consumption models.
- 05
Prototype the hardest action
Build the riskiest step in a sandbox on your leading option before committing.
Gartner has predicted that more than 40% of agentic AI projects will be canceled by the end of 2027, citing cost, unclear value and weak risk controls. Platform choice is rarely the cause. Unclear ownership and unmeasured value are. Whatever you choose, record a baseline before launch; the ROI calculator is a quick way to estimate what is at stake.
What does each option look like in month seven?
Launch is the easy part of this comparison. The real difference shows up months later, when a policy changes, a new product launches or a model update shifts behavior. With Agentforce, the change is usually made by a Salesforce admin: edit an instruction, adjust a topic, update the Flow behind an action, run the agent tests and activate a new version. With a custom Claude agent, the change is usually a code change: edit the prompt or tool, run the evaluation suite, deploy through your pipeline.
Neither is better in the abstract. What matters is which team will be on the hook, how fast they can turn a change around, and whether they can see what the agent did. Agentforce gives admins built-in testing and conversation analytics. A custom agent gives engineers full logs and the freedom to instrument anything, but someone has to build that observability. Before you decide, sketch the first three changes you expect after launch and walk through who makes each one, and how long it takes.
- Policy change: admin edits instructions (Agentforce) vs prompt change and deploy (custom).
- New action: new Flow or Apex action (Agentforce) vs new tool and tests (custom).
- Model update: platform-managed route (Agentforce) vs your own evaluation and switch (custom).
If the answer to "who makes this change" is a person who has never touched the platform, that is your signal. For running agents after launch on either platform, see the Agent Care operating model.
SkySync practice
SkySync builds both Agentforce agents and custom Claude agents, so we have no reason to push one. In the Agent Ready assessment we score each candidate agent against the table above, prototype the hardest action, and only then recommend a platform. Every agent we launch goes into Agent Care with a named owner.
What mistakes should you avoid?
- Rebuilding Salesforce in code. If your custom agent reimplements sharing rules, case routing and channel handling, you probably wanted Agentforce.
- Forcing multi-system work into Salesforce. If every action is an external callout, the agent may be happier outside.
- Ignoring the model question. Either way, test the specific models for your task. See multi-model strategy on Salesforce.
- Deciding without the security team. Identity design differs between the two. Bring them in at step one.
Frequently asked questions
Is Agentforce just a wrapper around models like Claude?
No. The model is one component. Agentforce adds topic classification, actions tied to Flows and Apex, the Salesforce sharing model, the Einstein Trust Layer, testing tools, analytics and native channels. Those are the parts that would take a custom build the most time to replicate.
Can a custom Claude agent use Agentforce actions?
Indirectly. A custom agent can call Salesforce APIs, invocable Flows and Apex REST endpoints through MCP or REST, so you can reuse the same business logic. Salesforce has also been adding MCP support on its side; check the release notes for what your edition supports.
Which is faster to launch?
For a Salesforce-native service or sales agent, Agentforce is usually faster because channels, data access and guardrails exist already. For an internal agent that spans many systems, a custom Claude agent can be faster because you are not forcing external work through Salesforce actions.
Can we switch later?
Yes, if you keep instructions, test sets and business logic portable. Store prompts and evaluation sets outside any one console, and implement actions as Flows or APIs that either platform can call. Switching is then a rebuild of the agent layer, not the whole integration.
Go deeper
Claude and Salesforce: The Integration Playbook
MCP, Agentforce, Data 360 and Slack: which door to use, how to secure it, and how to run it after launch
- ✓The Four Doors Model: every way Claude and Salesforce can meet, and what each one is good for
- ✓A decision table for Agentforce vs a custom Claude agent, with the questions that settle it
- ✓An MCP security checklist: integration users, OAuth scopes, read vs write, audit
- ✓How Data 360 grounding changes what an agent can answer correctly