Sub topic 14
Developer Edition limits and common setup problems
This chapter assumes you have already signed up for a Developer Edition org, enabled Agentforce, assigned permission sets, and built at least one agent with a topic and an action. It also assumes you can read basic Apex and use the Salesforce CLI (sf). The chapter covers where a Developer Edition org falls short of production, and how to diagnose the setup problems you are most likely to hit.
What a Developer Edition org is for
A Developer Edition org is a free environment for learning and prototyping. It runs the same platform as production, so Apex, flows, and Agentforce Builder behave the same way. It differs in size, in support, and in which paid features are included. Treat it as a place to prove that an agent design works. Do not treat it as a place to run real customer conversations.
Salesforce changes allocations and feature availability often. The table below describes the kinds of limits you should expect. Confirm the current numbers in Salesforce Help and in your org's Company Information page before you rely on any of them.
| Area | What to expect in Developer Edition | Why it matters for agents |
|---|---|---|
| Data storage | A few megabytes of record storage | Large test data sets fail to load. |
| User licenses | A small fixed number of full licenses | You cannot give many testers their own user. |
| API requests | A daily cap that is much lower than production | Heavy CLI deployments and external tests can hit it. |
| AI usage | A limited allotment of AI requests or credits | Many preview conversations can use it up. |
| Channels | Some channels need extra licenses or setup | You may be able to build an agent you cannot deploy widely. |
| Support and uptime | No production support agreement | You troubleshoot with documentation and community help. |
| Inactivity | Unused orgs can be deleted | Log in regularly and keep your source in version control. |
Limits that do not change
Apex governor limits apply in full. Your invocable method from the earlier chapter runs inside one transaction. That transaction allows a fixed number of SOQL queries and DML statements. Agents often call an action once per user turn, so a bulk-safe action is still the right design. The GetOpenCaseCountAction class is written that way: it makes one aggregate query for all requests instead of one query per request.
Limits that are about licensing
Some features exist in the org but are tied to a license or an allotment of usage. Data Cloud is provisioned for Agentforce Developer Edition orgs, but its capacity is small. Treat any feature that consumes credits as metered, even if you never see a bill in a developer org. When an allotment runs out, the symptom is usually a generic failure in the preview, not a clear "quota exceeded" message. Check usage pages in Setup before you assume your configuration is wrong.
Channels and activation in a developer org
Activating an agent makes it available to the channels you connect. In a Developer Edition org, the builder's conversation preview and Salesforce-internal surfaces are the most dependable places to test. Channels that involve outside systems are more variable. This includes web messaging, Slack, and voice. They can require extra licenses, a public site or Experience Cloud site, a verified domain, or a phone number.
Plan your testing in this order:
- Test in the builder's conversation preview until behavior is stable.
- Test in an internal channel that your org supports.
- Try an external channel only after you have confirmed that the license and setup requirements are met.
If a channel option is missing or greyed out, assume a licensing or setup prerequisite first. Do not assume a bug.
A troubleshooting method
Most setup problems fall into five layers. Work from the bottom up, because a failure at a lower layer makes everything above it look broken.
Common problems and fixes
The Agentforce settings are missing
If you cannot find Agentforce Agents or the generative AI settings in Setup, check three things:
- You signed up for an org edition that includes Agentforce. A regular Developer Edition org from an older sign-up page may not.
- You are looking in the right place. Use the Quick Find box in Setup and search for "Agentforce" and "Einstein Setup".
- Provisioning has finished. Data Cloud and related features can take a while to appear after you enable them. Log out and back in before you assume it failed.
If the features are still absent after provisioning, the org probably does not include them. Create a new Agentforce Developer Edition org instead of trying to patch the old one.
The builder opens but you cannot create or edit agents
This is nearly always a permission problem. Confirm that your own user has the permission sets for building and testing agents, and that the assignment saved. Permission set changes can require you to refresh the page or log in again. The user who builds an agent is not the same as the user the agent runs as, so check both.
The custom action does not appear in the builder
Work through this checklist:
- The class is deployed. Run
sf project deploy startand read the result for errors. - The class has an
@InvocableMethodannotation on apublic staticmethod. - The method takes a
Listand returns aList. Invocable methods must do both. - The class has at most one invocable method.
- You refreshed the action picker in the builder.
This command pair deploys source and opens the org so you can check:
sf project deploy start --source-dir force-app --target-org agentforce-dev
sf org open --target-org agentforce-devIf the deployment reports that it targets the wrong org, list your orgs with sf org list and confirm the alias. A deployment to the wrong org is a common cause of "I deployed it and nothing changed".
The action appears but returns nothing or wrong results
The agent calls actions as the agent user, not as you. That user needs access to the Apex class and to the objects and fields the class reads. The sample class uses with sharing, so record visibility also applies. If you can see 12 open cases in your own session and the agent reports 0, the agent user probably cannot see those cases.
Check, in this order:
- The Apex class is enabled in a permission set assigned to the agent user.
- That user has read access to the Case object and the fields used in the query.
- Sharing settings let that user see the account's cases.
- The test account actually has open cases. The sample class returns 0 for an account with none, which is correct behavior and easy to mistake for a failure.
The agent picks the wrong topic or ignores instructions
Topic choice depends on the topic's name, description, and scope. Two topics with overlapping descriptions compete with each other. Make each description say what is in scope and, where it helps, what is out of scope. For instructions, keep them short, numbered, and specific about when to call each action. The sample topic from earlier works because step 2 names the action and step 3 says what to do when the action returns no result.
Change one thing at a time and retest. If you change the description, the instructions, and an action together, you cannot tell which change helped.
The preview fails with a generic error
Open the debug or plan view in the conversation preview, if your builder version offers it. Look for which step failed: topic selection, action input, action execution, or response generation. Then match the failing step to the layers in the diagram above.
If no step is shown and every message fails, suspect the following, in this order:
- The generative AI features are not fully enabled.
- The AI usage allotment is exhausted.
- A temporary service problem. Wait and retry before you change configuration.
The agent works until you edit it
Activated agents are usually versioned. Edits are made to a draft, and the live behavior does not change until you activate the new version. If your change has no effect, check that you saved the draft, that you re-ran the preview against that version, and that you activated it.
Habits that prevent most problems
- Keep your project in source control and deploy with the CLI, so a deleted or expired org is a minor loss.
- Write down the alias, username, and purpose of each org. Use a consistent alias such as
agentforce-dev. - Keep test data small and deterministic. Create a known account with a known number of open cases, then assert the agent's answer against it.
- Log in to the org regularly so it is not treated as inactive.
- Read release notes each season. Names, menu locations, and limits for Agentforce change faster than for most platform features.
Exercise
You built the Get Open Case Count action. In your own session, the Apex method returns 5 for an account. In the agent preview, the agent says the account has 0 open cases, with no error. List the first three things you check, in order.
Show answer
First, confirm that the agent user has the Apex class enabled in an assigned permission set. Second, confirm that the agent user has read access to Case and the queried fields. Third, confirm that sharing lets the agent user see that account's cases, because the class runs with sharing. The method returns 0 when no records are visible, so a missing-access problem looks like a correct answer instead of an error.
Exercise
You deployed a new Apex class with an @InvocableMethod, but it does not show in the builder's action list. Name four causes you can check without changing the class logic.
Show answer
Any four of these: the deployment failed or went to a different org; the method is not public static; the method does not take and return a List; the class has more than one invocable method; the builder page has not been refreshed; the Apex class is not accessible to the user who is building the agent.