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 APIDescriptionBuild AgentsTest AgentsUse AgentsCreate/Enhance Actions
Agentforce DXPro-code tools for Salesforce CLI and VS CodeYesYesYes (*)
Agentforce Python SDKProgrammatic agent creation and managementYes
Testing APIProgrammatic test automationYes
Agent APIChat with agents via REST APIYes
Agentforce Mobile SDKIntegrate Agentforce into your mobile appYes
Apex ActionsCreate actions from Apex classesYes
Lightning TypesImprove UI for complex inputs and outputsYes
Global CopyEnhance copy functionality in custom componentsYes
Apex CitationsExtend custom actions with citationsYes

(*) 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.