---
schema_version: "1"
id: c1954fff50eb99aca294d0bb32ef5827e81b2d1a65224eebda4978654ce9d7d1
title: Agentforce and Generative AI Reference
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/genai/agentforce/references/about/about-genai-api.md
canonical_url: https://developer.salesforce.com/docs/ai/agentforce/references/about/about-genai-api.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7364bc81b40d17447b3ecc72ed9c88572549c2a55ef3d352106ae15e66f6158d
products:
  - Agentforce Developer Guide
  - Agentforce and Einstein Generative AI
---
# 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.

- [Agent API Reference](/docs/ai/agentforce/references/agent-api?meta=Summary)

## 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.

- [Agentforce Python SDK Reference](https://github.com/salesforce/agent-sdk/tree/main)

## 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.

- [Agent Script Reference](/docs/ai/agentforce/guide/ascript-reference.html)

## Agentforce DX

Agentforce DX provides pro-code tools to create and test agents outside the Agentforce Builder UI.

- [Agentforce DX Reference](/docs/ai/agentforce/guide/agent-dx-reference.html)

## 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.

- [Agentforce Mobile SDK Reference](/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk)

## 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.

- [Lightning Types Reference](/docs/ai/agentforce/guide/lightning-types-references.html)

## Models API

The Models API provides Apex classes and REST endpoints that connect your application to large language models (LLMs).

- [Models API Apex Reference](/docs/ai/agentforce/references/models-apex-api/models-apex-reference.html)
- [Models API REST Reference](/docs/ai/agentforce/references/models-api?meta=Summary)

## Testing API

Testing API combines Metadata API and Connect API endpoints to build and run tests on AI agents.

- [Testing API Reference](/docs/ai/agentforce/references/testing-api/testing-reference-summary.html)

## Citations

Use Apex classes to programatically add citations to agent responses.

- [Citations Reference](/docs/ai/agentforce/references/citations/citations-reference.html)

## Metadata and Tooling

Some Agentforce functionality is available through our Metadata API and Tooling API.

- [Metadata Types](/docs/ai/agentforce/references/agents-metadata-tooling/agents-metadatav67.html)
- [Tooling Objects](/docs/ai/agentforce/references/agents-metadata-tooling/agents-tooling.html)

## See Also

- [Agentforce Developer Guide](/docs/ai/agentforce/guide/get-started.html)
- [Agent API Developer Guide](/docs/ai/agentforce/guide/agent-api.html)
- [Models API Developer Guide](/docs/ai/agentforce/guide/models-api.html)
