Home / Insights / AI Agents and Automation
AI Agents and Automation
Salesforce Agentforce vs a Custom AI Agent on Your CRM: What You Get and What You Pay For
If your customer data lives in Salesforce, Agentforce is the obvious first option for AI agents. A custom agent built on your own model and orchestration is the obvious alternative. This guide compares what each actually gives you, how each is priced, and the situations in which each one is the better choice.
TopicsAI Agents and AutomationBusiness Operations and IntegrationSoftware Costs and Budgets
Key takeaways
- Agentforce wins when the work happens inside Salesforce, your admins already build with Flow and Apex, and you value native security, audit and release management over control of the model and orchestration.
- A custom agent wins when the workflow spans several systems, Salesforce is one data source among many, you need model choice or unusual reasoning steps, or usage volumes make per-action or per-conversation pricing expensive.
- Agentforce pricing is published: Flex Credits at USD 500 per 100,000 credits (20 credits, or USD 0.10, per standard action), USD 2 per conversation for the conversation model, and per-user add-ons for unmetered employee use. Model your volumes against each option before choosing.
- A custom agent’s costs sit elsewhere: build effort, model API usage, hosting, evaluation and ongoing maintenance. It also consumes Salesforce API capacity, which has daily limits.
- Many organisations end up with both: Agentforce for in-CRM tasks and a custom agent for cross-system workflows, calling Salesforce through its APIs.
On this page
Sales and service leaders are being offered AI agents from two directions. Salesforce is selling Agentforce, its platform for building agents that act on CRM data inside the Salesforce trust boundary. Software partners, including us, are offering custom agents built on a model provider of your choice, connected to Salesforce and your other systems through APIs. Both can draft emails, update opportunities, triage cases and answer customers. They differ in where the logic lives, how they are priced, and how much control you have.
This comparison is for CROs, heads of service, Salesforce platform owners and CTOs deciding where to invest. I will try to be even-handed: there are many situations where Agentforce is simply the better answer, and I will say so. Where I give cost figures, they come from Salesforce’s published pricing at the time of writing or are clearly labelled illustrative assumptions. Our own AI agent development work covers both single-task agents and multi-agent workflows connected to CRMs, ERPs and helpdesks, so we see both sides of this decision regularly.
What Agentforce gives you
Agentforce is Salesforce’s agent platform, built into the same metadata, security model and deployment tooling as the rest of the Salesforce platform.
How agents are built
According to Salesforce’s Agentforce developer guide, agents are assembled in Agentforce Builder using Agent Script, a language that mixes natural-language instructions with programmatic expressions for conditions, transitions and variables. Agents are organised into subagents (the guide notes that what were previously called topics have been called subagents since April 2026, with no functional change), and each subagent uses actions to read and change data. Pro-code teams can use Agentforce DX through the Salesforce CLI and VS Code, and a Python SDK is available for creating and deploying agents programmatically.
Testing and release
Salesforce provides three testing routes: a Testing Center in the UI with CSV-based test definitions, Agentforce DX with YAML test specifications and custom evaluations, and a Testing API. Agents are metadata, so they move through sandboxes and deployment pipelines in the same way as other Salesforce changes.
The practical advantages
- Native data access. Agents act on records with the platform’s sharing and permission model, without building and securing an integration.
- Admin-friendly. Teams that already build with Flow can extend agents with familiar tools.
- One vendor, one contract. Security reviews, data processing terms and support sit with a supplier you already have.
- Channels included. Agents can be deployed into Salesforce’s own service and messaging channels.
What a custom AI agent on your CRM gives you
A custom agent is software you own: an orchestration layer (written directly against model APIs or with a framework such as LangGraph), a set of tools that call Salesforce and other systems through their APIs, a model or models of your choice, and your own monitoring and evaluation.
The practical advantages
- Cross-system workflows. The agent can reason across Salesforce, your ERP, billing, data warehouse, document stores and internal services as equals, rather than treating everything outside the CRM as an external call.
- Model choice. You can use different models for different steps, switch providers, or run open models in your own cloud.
- Control of orchestration. You decide exactly how the agent plans, when it asks a human, what it logs and how it recovers from errors.
- Cost structure you set. You pay for model usage and infrastructure directly rather than through per-action or per-conversation charges.
- Portability. If you move CRM, the agent’s logic survives; only the Salesforce tools need rewriting.
The practical disadvantages
- You build what Salesforce gives you for free: authentication, permission checks that mirror the CRM’s sharing rules, audit logs, an admin interface and a deployment pipeline.
- API limits apply. Salesforce’s API request limits for Enterprise Edition start at 100,000 calls per 24 hours plus 1,000 per Salesforce licence (so an org with 15 licences has 115,000), and allow 25 concurrent long-running requests. A busy agent making several calls per task can consume a meaningful share.
- You own maintenance. Model updates, API changes and evaluation suites need ongoing attention.
Anthropic’s guidance on building effective agents is a good reminder for custom builds: start with the simplest workflow that works, add autonomy only when it measurably helps, and give tool design the same care as user-interface design.
How each option is priced
The two options put cost in different places, which makes headline comparisons misleading. Here is what is published and what is not.
Agentforce pricing
Salesforce’s Agentforce pricing page lists several models at the time of writing:
- Flex Credits: USD 500 per 100,000 credits. Salesforce’s May 2025 pricing announcement set a standard action at 20 credits, or USD 0.10 per action, and said customers on Enterprise Edition or above could get 100,000 credits at no cost through Salesforce Foundations. Unused credits do not roll over, and usage beyond the entitlement is billed in arrears at the contracted rate.
- Conversations: USD 2 per conversation for external-facing agents. Flex Credits and Conversations cannot be used in the same org.
- Per-user add-ons: unmetered employee-facing usage, listed at USD 125 per user per month for the Sales, Service and Field Service add-ons and USD 150 for Industries Clouds.
- Agentforce 1 Editions: from USD 550 per user per month, including the add-on and 2.5 million Flex Credits per org per year.
These are list prices; enterprise agreements vary, and you should confirm current terms with Salesforce.
Custom agent costs
A custom agent has no single price. Its costs are build effort, model API usage (priced per token by the model provider), hosting, monitoring, evaluation and maintenance. Per-task model costs depend heavily on the model, the length of context and the number of steps, so model them from a prototype rather than from a rule of thumb.
| Cost element | Agentforce | Custom agent |
|---|---|---|
| Licence or platform fee | Per action, per conversation or per user | None, beyond your existing CRM licences |
| Model usage | Included in Salesforce pricing | Paid directly to the model provider |
| Build effort | Admin and developer time on platform | Engineering time for orchestration, tools and UI |
| Integration with non-Salesforce systems | Extra work via actions and external calls | Core of the design |
| Security, audit, permissions | Largely native | Built and maintained by you |
| Hosting and monitoring | Included | Your cloud, your tooling |
| Ongoing maintenance | Platform releases plus your configuration | Your code, models and evaluations |
Worked cost scenarios
The scenarios below are illustrative. The Agentforce figures are simple arithmetic on the list prices above; the custom figures rest on assumptions stated in each case. Use them to structure your own model, not as quotes.
Scenario 1: internal sales assistant, 60 sellers
Sellers ask the agent to summarise accounts, draft follow-ups and update opportunities. Assume each seller triggers 15 actions a working day across 21 days, about 18,900 actions a month. On Flex Credits that is 378,000 credits, roughly USD 1,890 a month at list price. On per-user add-ons it would be 60 × USD 125 = USD 7,500 a month, unmetered. A custom agent would need a build project (for example, an assumed 8 to 12 person-weeks for a focused assistant with a handful of tools) plus model usage and hosting. With usage at this level and all data in Salesforce, Agentforce on Flex Credits is likely the simpler and competitive choice.
Scenario 2: customer service agent, 20,000 conversations a month
On the Conversations model at USD 2, that is USD 40,000 a month at list price. If each conversation instead averaged five actions on Flex Credits, it would be 100,000 actions, or USD 10,000 a month. A custom agent’s run cost here is dominated by model usage and hosting, which you would estimate from a prototype; at this volume a custom build can recover its build cost relatively quickly, provided you are prepared to own security, channel integration and escalation. Our reference architecture for customer support agents shows what that involves.
Scenario 3: order-to-cash exceptions across CRM, ERP and billing
An agent investigates failed invoices by reading the opportunity in Salesforce, the order in the ERP and the payment status in billing, then proposes a fix. Most of the work happens outside Salesforce. Agentforce can call external systems, but the logic would be largely external integrations. A custom agent that treats Salesforce as one tool among several is usually the cleaner design, whatever the per-action price.
How to decide: a decision table
Price matters, but architecture fit usually decides. Score your use case against these factors.
| Factor | Points towards Agentforce | Points towards custom |
|---|---|---|
| Where the data and actions live | Mostly in Salesforce | Spread across several systems |
| Team skills | Strong Salesforce admins and developers | Software engineers with API and cloud experience |
| Model requirements | Platform models are acceptable | Need specific models, open models or self-hosting |
| Volume and pricing | Moderate volumes; per-user pricing fits | High volumes where per-action or per-conversation cost dominates |
| Security and compliance review | Prefer one existing vendor | Can review and operate your own stack |
| Speed to first value | Need something live within weeks on CRM data | Can invest in a longer build for a better fit |
| Portability | Committed to Salesforce long term | CRM may change or is one of several |
| Orchestration complexity | Standard patterns: answer, update, route | Unusual reasoning, long-running tasks, multi-agent flows |
If most of your answers fall in the left column, start with Agentforce. If most fall in the right, a custom agent is likely to serve you better. Mixed answers usually point to a hybrid.
The hybrid pattern
Many organisations use Agentforce for tasks that live in the CRM (record updates, summaries, in-app assistance for sellers) and a custom agent for cross-system workflows that call Salesforce through its APIs. The key is to define clear ownership so the two do not compete for the same tasks, and to agree one source of truth for audit logs.
Implementation steps for either path
- Pick one workflow with measurable outcomes (handling time, conversion, error rate). Our guide to scoping a first AI agent pilot covers how.
- Map the data and actions it needs, system by system, and note which live outside Salesforce.
- Estimate volumes: users, tasks per day, actions per task, conversations per month. Run them through the Agentforce pricing models and through a custom cost model.
- Prototype both if the decision is close. A two-week spike on each, against the same evaluation set, gives you real per-task costs and quality.
- Define guardrails: which actions need human approval, which records the agent may change, and what it must never do.
- Build an evaluation set of realistic cases and run it before every change, whether that change is an Agent Script edit or a model upgrade.
- Check API capacity for a custom build against your org’s daily and concurrent limits.
- Plan ownership: who maintains the agent, who reviews its logs, and who decides when it gets more autonomy.
Risks and a pre-decision checklist
Risks with Agentforce
- Pricing and packaging have changed several times since launch; build in a review point and avoid committing to large unused credit volumes, since credits do not roll over.
- Logic built in Agent Script and Flow is tied to the platform.
- Work that is mostly outside Salesforce can become a tangle of external calls.
Risks with a custom agent
- Permission mistakes: the agent must respect the same sharing rules as the user it acts for, which you have to implement.
- Hidden maintenance: model updates, API changes and evaluation upkeep need a named owner and budget.
- API limit exhaustion at peak times.
Checklist
- Workflow chosen and success metrics agreed.
- Data and actions mapped across systems.
- Monthly volumes estimated and priced on each Agentforce model.
- Custom build effort, model usage and run cost estimated from a prototype.
- Security, audit and permission approach documented for each option.
- API capacity checked.
- Owner and review cadence named.
- Exit plan: what happens if you change model, vendor or CRM. Our article on when a custom CRM makes sense covers the wider question.
Frequently asked questions
Is Agentforce cheaper than building our own agent?
It depends on volume and where the work happens. For moderate internal use on Salesforce data, Agentforce is often competitive and much faster to deploy. For high-volume customer conversations or workflows that span several systems, a custom agent frequently costs less to run, though you carry the build and maintenance cost.
Can a custom agent work with Salesforce securely?
Yes, through Salesforce’s APIs with a properly scoped integration user or per-user OAuth, provided the agent enforces the same record access as the user it acts for and logs every action. You build and maintain those controls yourself.
Can we use our preferred model with Agentforce?
Agentforce runs on models provided through the Salesforce platform. If you need a specific model, open models or self-hosting, a custom agent gives you that control. Check Salesforce’s current documentation for model options.
Do we have to choose one or the other?
No. A hybrid is common: Agentforce for in-CRM tasks and a custom agent for cross-system workflows that call Salesforce through its APIs. Define clear ownership of tasks and logs.
How long does each take to get live?
A focused Agentforce agent on existing Salesforce data can typically be piloted in weeks by a capable admin team. A custom agent usually needs a longer build for integration, permissions and monitoring, so plan for a pilot measured in weeks to a few months depending on scope.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- Salesforce: Agentforce pricing — accessed 10 November 2026. Flex Credits, Conversations, per-user add-ons and Agentforce 1 Edition list prices, credit roll-over and overage terms.
- Salesforce: Flexible Agentforce pricing announcement (15 May 2025) — accessed 10 November 2026. 20 Flex Credits (USD 0.10) per action, USD 500 per 100,000 credits, and free credits through Salesforce Foundations.
- Salesforce Developers: Get started with Agentforce agents — accessed 10 November 2026. Agent Script, subagents, Agentforce DX, Python SDK and testing options.
- Salesforce Developers: API request limits and allocations — accessed 10 November 2026. Enterprise Edition daily API allocation and the concurrent long-running request limit.
- Anthropic: Building effective agents (19 December 2024) — accessed 10 November 2026. Start simple, add autonomy when it helps, and design tools carefully.
Related reading
Continue your research
Should your first CRM agent run on Agentforce, a custom stack or both?
We can map one workflow across your systems, price it on each Agentforce model and as a custom build, and recommend the option that fits your volumes and team.
