Get Started with Agentforce Agents
Bring the power of conversational AI to your business with Agentforce agents. Build a trusted and customizable AI assistant that empowers your users to get more done in Salesforce. Accelerate your Agentforce integration with our APIs and other developer resources.
Feature or API | Description | Build Agents | Test Agents | Use Agents | Create/Enhance Actions |
---|---|---|---|---|---|
Agentforce DX | Pro-code tools for Salesforce CLI and VS Code | Yes | Yes | Yes (*) | |
Agentforce Python SDK | Programmatic agent creation and management | Yes | |||
Testing API | Programmatic test automation | Yes | |||
Agent API | Chat with agents via REST API | Yes | |||
Agentforce Mobile SDK | Integrate Agentforce into your mobile app | Yes | |||
Apex Actions | Create actions from Apex classes | Yes | |||
Lightning Types | Improve UI for complex inputs and outputs | Yes | |||
Global Copy | Enhance copy functionality in custom components | Yes | |||
Apex Citations | Extend custom actions with citations | Yes |
(*) The agent preview
Salesforce CLI command, which you can use to interact with an active agent, is meant for testing purposes only.
Build agents programmatically using Agentforce developer tools.
Use pro-code tools such as Salesforce CLI and VS Code to create and manage agents.
The Agentforce Python SDK provides a programmatic way to create, manage, and deploy AI agents in Salesforce.
Use Testing API, Agentforce DX, or the Testing Center to test your Agentforce agents.
Use Testing API to build test metadata, execute tests, poll for results, and programmatically retrieve detailed test results.
Use pro-code tools like Salesforce CLI and VS Code to author, manage, and deploy agent test specifications as metadata to your org.
To generate and run tests through the Salesforce UI, see the Agentforce Testing Center.
Use the Agent API to communicate with AI agents directly from an API. Start sessions, send messages to the AI agent, receive messages, and end sessions with the API.
You can also access an invocable action to chat with an agent. See Calling an Agent from a Flow or Apex Class in Salesforce Help.
The Agentforce Mobile SDK empowers you to integrate Salesforce's feature-rich, trusted AI platform directly into your native iOS and Android mobile applications. By leveraging the Agentforce Mobile SDK, you can deliver cutting-edge, intelligent, and conversational AI experiences to your mobile users, enhancing engagement and providing seamless access to information and actions.
Create and enhance agent actions with these pro-code solutions.
Use generative AI to quickly create an OpenAPI document for your Apex REST class and activate the API for use in Agentforce. Deploy the class, the OpenAPI document, and associated metadata to your org's API catalog. Then use Agentforce Builder to create an agent action based on the methods in the class.
Improve the user interface of custom actions for agents in Lightning Experience. Custom Lightning types are particularly effective for handling complex inputs and outputs.
Provide a consistent way for users to copy information from UI components in Agentforce responses, enhancing usability and saving time.
Extend custom actions with citations Apex classes. Create inline citations with custom labels for knowledge articles, data from PDF files, and external URLs.
- Salesforce Help: Agentforce Agents
- Trailhead: Agents and Agentforce Basics