DO you know Agentforce for Developers ? — Part 1
What is Agentforce for Developers?
Agentforce for Developers is an AI-powered toolset designed to enhance developer productivity and simplify complex coding tasks on the Salesforce Platform. It provides features like chat-driven Apex code generation, real-time code completion, and automated unit test creation. With a strong focus on boilerplate code generation, it helps new developers get up to speed quickly.
Serving as an intelligent pair programmer, Agentforce for Developers leverages anonymized code patterns from CodeGen and xGen-Code, Salesforce’s secure AI models, to guide developers throughout the coding process. It enforces best practices by integrating AI-driven code suggestions, static analysis, and security scanning.
Optimized for Salesforce DX projects, Agentforce for Developers is part of the Salesforce Extension Pack (Expanded) and can be installed in VS Code from the Visual Studio Marketplace. It also comes preinstalled in Code Builder for a seamless development experience.
Trusted Generative AI at Salesforce
At Salesforce, we have built Agentforce solutions with a strong commitment to our five core principles for trusted generative AI:
- Accuracy — Our models prioritize precision, recall, and reliability. Whenever possible, we provide explanations for model outputs and their sources. We encourage human validation before sharing AI-generated content.
- Safety — We actively mitigate bias, toxicity, and harmful outputs using industry-leading safeguards. Our models include privacy protections, ensuring that personally identifiable information (PII) is handled with strict guardrails.
- Honesty — We uphold data integrity by respecting data provenance and ensuring that all data used in our models is consented and properly sourced.
- Empowerment — Our AI solutions are designed to enhance human decision-making by integrating human oversight within the workflow whenever possible.
- Sustainability — We build efficient, right-sized AI models that prioritize accuracy while minimizing environmental impact and reducing carbon footprint.
Salesforce Large Language Models
Agentforce for Developers is powered by custom large language models (LLMs) developed by Salesforce: CodeGen2.5 and xGen-Code. These models are designed to enhance developer productivity and streamline code-related tasks.
- CodeGen2.5 — Part of the evolving Salesforce CodeGen family, CodeGen2.5 proves that a well-trained, smaller model can deliver exceptional performance. It powers the Inline Autocompletions feature in Agentforce for Developers, providing real-time code suggestions as you type.
- xGen-Code — Salesforce’s latest LLM, xGen-Code is fine-tuned for advanced code-related tasks. It enables interactive features like Dev Assistant, offering deeper code comprehension and handling more complex reasoning challenges.