New skill: investigating-agentforce-architecture

Render a design-time architecture document and Mermaid graph for a single Agentforce agent — planner, topics, actions, flows, Apex, prompt templates, and NGA plugins.

June 12, 2026

New skill: investigating-agentforce-architecture

The investigating-agentforce-architecture skill produces a declared architecture snapshot for a single Agentforce agent, so you can see how a bot is wired together at design time.

What it does

Render a design-time architecture document + Mermaid graph for one Agentforce agent (planner, topics, actions, flows, Apex, prompt templates, NGA plugins).

Details

  • Reads design-time metadata only — BotDefinition + GenAi* Tooling objects + Metadata API retrieve. No runtime audit data.
  • Input: an agent_api_name (the BotDefinition.DeveloperName) and an org alias. Optionally pin a version; otherwise the active BotVersion resolves.
  • Output: a normalized metadata_tree.json plus a human-readable architecture.md with an invocation graph rendered as Mermaid.
  • Fast: 30–45s typical (≤60s hard cap), a 3–5× speedup over a naive sequential implementation.

Example prompts: "document the architecture of MyAgent in my-org-alias" or "draw the invocation graph for MySalesAgent v5".

3D Agent Astro flying with a rounded background landscape behind.
Get timely developer updates delivered to your inbox.

Sign up to receive the monthly Salesforce Developer Newsletter so you never miss the latest announcements, blogs, videos, or Agentforce NOW events.