arrow_backBack to Chapter

Module: Being a manager of Agents

Interactive Module
infoYou're viewing as a guest — progress won't be saved. Sign in to track your progress.

Being a manager of Agents

Understand what it means to manage your agentic team.

From Individual Contributor to Orchestrator

In the world of Agentic Engineering, your role as a Salesforce Solution Engineer undergoes a fundamental shift. You are no longer just the person writing the Apex trigger or configuring the Flow; you are the Engineering Manager. This transition requires moving away from manual execution and toward high-level orchestration. Your primary responsibility is to define the 'What' and the 'Why,' while the AI agents handle the 'How.' Just as a human manager doesn't micromanage every keystroke but sets clear objectives and success criteria, you must provide your agentic team with the context and constraints they need to succeed.

The Management Workflow

Managing an agentic team involves three core pillars that ensure your requirements are translated into working Salesforce solutions:

  • Strategic Delegation: Breaking down complex Salesforce requirements into smaller, digestible tasks that an agent can execute with high confidence. Instead of asking for a full application, you delegate the creation of a specific LWC, its controller, and the corresponding unit tests as discrete work items.

  • Critical Review: Adopting a 'Trust but Verify' mindset. You must review the code or configuration the agent produces with the same scrutiny you would apply to a junior developer's Pull Request (PR).

  • Iterative Course Correction: Instead of fixing errors yourself, you provide constructive feedback to the agent to help it self-correct. This maintains the integrity of the project history and ensures the agent stays aligned with the intended architecture.

Resource and Token Stewardship

As a manager, you are also responsible for the operational budget of your agentic team. In the world of Large Language Models (LLMs), this means managing your token budget and selecting the right tool for the job. Not every task requires the most expensive, high-reasoning frontier model. Effective managers optimize their resources by:

  • Model Selection: Using powerful models for complex architectural logic and switching to smaller, faster, or cheaper models for repetitive tasks like documentation or simple unit test generation.

  • Context Management: Being selective about what files and metadata you share with the agent. Providing too much irrelevant context can "dilute" the agent's focus and consume unnecessary tokens.

  • Efficiency: Crafting precise prompts to avoid excessive back-and-forth, which saves both time and API credits.

Test Your Understanding

Complete this check to unlock the Discovery Checklist and Implementation Guide.

bolt

Knowledge Check

As a 'Manager' in an agentic workflow, what is your primary responsibility during the build phase?

When an agent generates code that contains a logic error, what is the best 'Managerial' response?

Which of the following are essential components of a 'Managerial' prompt? (Select all that apply)