Is the org ready for AI agents?

An AI agent inherits the org it runs in: every broad permission, every sensitive field it can reach, every forgotten flow. Check those first, from the metadata, without giving anything new access.

For architects, security reviewers and admins planning Agentforce

Short answer

Ask your AI assistant a short series of questions: which fields look sensitive, what your agents can reach, who has broad access, what’s exposed to guest users, and how much technical debt there is. sf-intelligence answers each from your org’s metadata, offline, and says plainly what each check couldn’t see.

A real answer from the demo org

Two of the checks, run on Verdant, the demo org.

Question

“Which fields look like they hold sensitive data?”

7 of 63 fields flagged as financial data.

Next: Check which profiles and agents can read these fields before you widen access.

Flagged as financial
  • CurrencyInvoice › AmountCustomField:Invoice__c.Amount__c
  • FormulaInvoice › BalanceCustomField:Invoice__c.Balance__c
  • CurrencyPayment › AmountCustomField:Payment__c.Amount__c
  • CurrencyIncentive › AmountCustomField:Incentive__c.Amount__c
  • CurrencyBattery › Unit CostCustomField:Battery__c.Unit_Cost__c
  • CurrencySolar Panel › Unit CostCustomField:Solar_Panel__c.Unit_Cost__c
  • CurrencyEquipment Allocation › Line TotalCustomField:Equipment_Allocation__c.Line_Total__c

The scan reads field names, types and descriptions, never record values. A field holding personal data under an unremarkable name won’t be flagged, so “nothing found” in a category is a starting point for review, not a clean bill.

For developers: the tool call

Your assistant made this call to the sf-intelligence MCP server. sfi.pii_inventory isn’t in the short default tool list, so it runs through sfi.run_analysis:

{
  "name": "sfi.run_analysis",
  "arguments": {
    "name": "sfi.pii_inventory",
    "args": {}
  }
}
Question

“What can our AI agents reach?”

No fields exposed through the 2 agent components it found.

Next: Before adding actions to the agent, ask which sensitive fields those actions would read.

Agent setup found
  • Agent (bot)Verdant Support AgentBot:Verdant_Support_Agent

    No fields mapped into its context.

  • Agent plannerVerdant Support Agent v1GenAiPlannerBundle:Verdant_Support_Agent_v1

    No actions that read or write fields.

This reads how the agent is configured, not what it did at run time. Dialog trees and context variables that aren’t mapped to fields are outside the check, and the answer says so.

For developers: the tool call

Your assistant made this call to the sf-intelligence MCP server. sfi.ai_exposure_report isn’t in the short default tool list, so it runs through sfi.run_analysis:

{
  "name": "sfi.run_analysis",
  "arguments": {
    "name": "sfi.ai_exposure_report",
    "args": {}
  }
}

Recorded with sf-intelligence 0.8.0 on the built-in demo org. The wording is ours; the facts are the tool’s. More real answers.

A score that says what it skipped

On the demo org the technical debt score comes out at 5 out of 100 (low debt; higher is worse). The answer also says only 3 of 6 areas could be scored, because the refresh didn’t pull everything the others need. A score with its gaps named is more useful than a confident number built on missing data.

Order the checks by risk

  1. What could the agent see? Sensitive fields, and the agent’s own actions and context.
  2. Who else can see it? Broad permissions, guest access and sharing.
  3. What would it act on? Old automation, unused fields and code with known risks.

Ask it like this

Use your own object and field names. If a name matches more than one thing, it asks which one you mean.

  • Which fields look like they hold sensitive data?
  • What can our AI agents reach?
  • Who has View All Data or Modify All Data?
  • What can guest users see?
  • Score the technical debt in this org.
  • Which custom fields does nothing use?

What it checks, and what it can’t see

Checks

  • Sensitive fields, flagged by name, type and description
  • Agent setup: topics, actions and prompt templates, and the fields they touch
  • Broad permissions and permission sets nobody seems to need
  • Guest and Experience Cloud exposure, when your refresh pulled it
  • Technical debt: old automation, Apex risks, unused fields and classes

Can’t see

  • What an agent actually did at run time. This reads configuration
  • Personal data stored in fields with unremarkable names
  • Record-level data, unless you turn on the optional live mode
  • Areas your refresh didn’t pull. They are left out of scores, not counted as clean
For developers: the tools behind this

Your assistant picks these from the plain-language question. You never have to name them.

Questions

Does the audit give the agent any access?

No. The checks read your metadata snapshot on your computer. Nothing is installed in the org and nothing is granted.

Is the sensitive-data check a compliance scan?

No. It flags fields by their names, types and descriptions, never their values. Treat it as a starting list for a review, and expect it to miss fields with unremarkable names.

How is the debt score worked out?

It weighs several areas, such as unused metadata, legacy automation, Apex quality and old API versions. Areas it couldn’t check are left out of the score and named, so a low score on a partial snapshot isn’t passed off as a clean bill.