Salesforce Developers Blog

Write Better Agent Instructions with Agentforce AI Assist

Avatar for Mohith ShrivastavaMohith Shrivastava
AI Assist is your intelligent generative AI partner in Agent Builder, helping you to create clear instructions for Agentforce.
Write Better Agent Instructions with Agentforce AI Assist
May 29, 2025
Listen to this article
0:00 / 0:00

Have you ever noticed that your Agentforce doesn’t follow your instructions as intended? This can result from conflicting or ambiguous instructions, reliance on absolutes, or insufficient guidance on specific business terminology and processes.

Fortunately, Agent Builder now has a generative AI feature, AI Assist. AI Assist assists in creating clearer and more effective instructions for Agentforce by following best practices. It serves as an intelligent partner during Agentforce setup. If Agentforce doesn’t follow instructions as expected, users can request AI Assist suggestions to improve outcomes.

With AI Assist, you can review your existing instructions to spot any conflicting or ambiguous instructions. Additionally, when you need to create a new topic for your Agentforce, AI Assist helps you draft a set of initial instructions.

The accompanying video demonstrates how to use AI Assist to refine instructions or develop new topics for Agentforce.

To learn more about writing effective instructions, check out the resources below.

Resources

About the author

Mohith Shrivastava is a Principal Developer Advocate at Salesforce with 14 years of experience building enterprise-scale products on the Salesforce Platform. Mohith is currently among the lead contributors on Salesforce Stack Exchange, a developer forum where Salesforce Developers can ask questions and share knowledge. You can follow him on LinkedIn.

More Blog Posts

The Salesforce Developer’s Guide to the Winter ’25 Release

The Salesforce Developer’s Guide to the Winter ’25 Release

The Winter '25 release is here! In this post, we highlight what’s new for developers across the Salesforce ecosystem.September 03, 2024

Build Advanced Custom Agent Actions with Code

Build Advanced Custom Agent Actions with Code

Agentforce and its advanced custom agent actions can be created to customize agents using tools like Flow, prompt templates, Apex, and APIs.December 05, 2024

Set Test Context in Agent Builder with Preview Conditions

Set Test Context in Agent Builder with Preview Conditions

Learn how to simulate specific user contexts directly in Agent Builder to streamline your testing process and ensure robust agent behavior.June 26, 2025