Agentforce and Generative AI Reference

Review the reference documentation for Agentforce and Eintein Generative AI developers.

Agent API 

Use Agent API to communicate with AI agents in your org. Create a connected app in your Salesforce org, generate a token, and then start using the API. Take advantage of subagents and actions in Agentforce by sending messages to AI agents.

Agentforce Python SDK 

The Agentforce Python SDK lets you programmatically create, manage, and deploy agents and prompt templates in Salesforce. This SDK uses the Salesforce Metadata API from a Python-based implementation that you can incorporate into your solution.

Agent Script 

Agent Script is the language for building agents in Agentforce Builder. It combines natural language instructions with programmatic expressions to define agent workflows, business rules, and conversational logic.

Agentforce DX 

Agentforce DX provides pro-code tools to create and test agents outside the Agentforce Builder UI.

Agentforce Mobile SDK 

The Agentforce Mobile SDK provides native iOS and Android integration capabilities for Agentforce conversational AI, enabling developers to embed intelligent agent interactions directly into their mobile applications.

Lightning Types 

Discover how to use custom Lightning types to improve the user interface of custom agent actions for Agentforce in Lightning Experience. Custom Lightning types are particularly effective for handling complex inputs and outputs.

Models API 

The Models API provides Apex classes and REST endpoints that connect your application to large language models (LLMs).

Testing API 

Testing API combines Metadata API and Connect API endpoints to build and run tests on AI agents.

Citations 

Use Apex classes to programatically add citations to agent responses.

Metadata and Tooling 

Some Agentforce functionality is available through our Metadata API and Tooling API.

See Also