Appearance
Run a Scan
A scan of AI Discovery reads the organization Sources and shows the AI systems that it finds as candidates. This page tells you how to start a scan, how to read its results, and what a scan stores.
Run a scan
- Go to
AI Registry → AI Discovery. - For the first scan, select Discover AI Systems. For the next scans, select Run Scan at the right of the tabs.
- In the Discover AI systems? dialog, examine the list of the Sources. For each Source, the dialog shows the result of its last scan.
- Make sure that you want Scout to read the code of each GitHub Source in the list. Scout sends parts of the files to the AI model.
- Select Start discovery.
The Discovering AI systems card shows the status of each Source: Waiting, Scanning, Scout is reading the code, the number of detections, Incomplete, or Failed. Modulos starts the Sources one after the other. Scout can still read the code of a GitHub Source while the next Source starts. If one Source fails, the scan continues with the next Source.
When the scan is complete, a message gives the number of new candidates. If a scan did not read a Source in full, the message is AI Discovery finished, but not every source could be read. See the organization sources. The Sources tab then shows what the scan did not read. See Sources tab.
These rules apply:
- A scan starts only when you start it. Modulos does not scan on a schedule.
- An organization has one scan at a time.
- Modulos ends a scan that is not complete 30 minutes after its start, and the scan has failed. The end can come up to 15 minutes later. The Sources that were complete keep their results. The card Could not be read shows The scan of {date} failed. If a Source was complete, the Scans tab shows This scan stopped before it read every source. Then you can start a new scan.
- While Scout reads the code of a GitHub Source, the 30 minutes count from the last progress of a part. When no part makes progress for 30 minutes, Modulos closes the Source. The parts that Scout did not answer show Scout did not answer in time. The next scan reads it again. The parts that wait show Not read in this scan; the next scan reads it.
How a scan reads the code in GitHub
A scan reads a GitHub organization Source in these steps:
- List repositories: Modulos lists the repositories of the owner that the token can read.
- Search the code for AI use: in each changed repository, Modulos finds the files that use AI.
- Read the code with Scout: Scout reads the parts of the code around these files. Each AI system that Scout finds is a detection of the type AI system in code.
A scan can miss an AI system in code, for example when the code search of GitHub does not find its files yet. Register such a system by hand. For what Modulos reads in GitHub and what it sends to the AI model, see GitHub.
These rules apply:
- The next scans read only the parts of the code that changed. The other parts keep their detections.
- Scout reads a small number of parts of the code of a Source at a time. While Scout reads, the scan shows Scout is reading the code for the Source.
- The reads of Scout use the AI quota of the organization. If the quota is used up, Scout does not read the remaining parts, and the scan details show Needs AI quota: raise the organization's AI quota, then run the scan again. See AI usage.
- If Scout cannot read a part, the next scan reads it again. The scan details give the cause, for example Scout took too long to read it. The next scan reads it again.
Scans tab
The Scans tab shows the chart AI systems found over time. After each scan, the line counts the AI systems that are not gone. For one Source, a scan that did not read the Source keeps the number of the scan before. You can show one Source, a period, or one scan. A click on a point of the chart selects that scan.
Below the chart, the tab shows what the selected scan changed, for each Source:
- New in this scan: the systems that the scan added. Show the new ones shows them in the candidates table.
- No longer seen: the systems that the scan no longer saw. They were deleted in the Source, or the scan could not reach them. Show the ones no longer seen shows them in the candidates table.
- The systems that a scan sees again after an earlier scan did not see them.
When you show a removed Source, these buttons show the candidates of all the Sources of the scan. If the scan did not read a Source in full, the tab shows Not read in full in this scan: {sources}. What was not read did not count as new or gone., with the names of the Sources. The chart keeps the scans of a removed Source and shows Deleted source next to its name.
Sources tab
The Sources tab shows the result of the last scan for each organization Source:

The Sources tab after a scan that read the three Sources in full.
- To review The candidates of the Source that wait for a decision. A click on the number shows them.
- Read by the scan In full, Partly, or Failed. A click on a row opens the scan details of the Source.
- Manage Sources Opens the Organization sources tab, where you add or change a Source.
| Column | What it shows |
|---|---|
| Source | The name, the description, and the scope of the Source |
| Candidates | The number of candidates with a detection from the Source |
| Change in last scan | The new candidates and the candidates that are gone, or No change |
| To review | The candidates that wait for a decision |
| Read by the scan | In full, Partly, or Failed, or Not scanned yet. A note below it can show what the scan did not read. |
Select the row of a scanned Source to open its scan details. The dialog shows each step of the last scan, for example List agents or Read the code with Scout. A step can show the number of items that it did not read. For each item that the scan did not read, the dialog gives the cause, and in many cases what to do. Examples:
- Needs access: grant it in the source, then run the scan again.
- Needs AI quota: raise the organization's AI quota, then run the scan again.
- Left for later: the next scan reads it.
For a Microsoft Copilot Studio Source, the section Outside the scope shows the environments of the tenant that the Source does not read. For the environments that are not set up, it gives their names and their agents. For the environments that Only these environments leaves out, it gives only their number. See Microsoft Copilot Studio.
If you disable or remove an organization Source, the tab shows its last scan with No longer scanned: this source was disabled or removed. until the next scan.
What a new scan changes
A candidate stays the same candidate in each scan. Modulos identifies a detection by its Source type and by the ID that the system has in its Source. For an AI system in code, the repository and the file where the system starts identify the detection.
- A new scan updates the detections of a candidate. It does not change the status of the candidate.
- A new scan does not change the name of a candidate. If the system gets a new name in its Source, Detections shows the new name.
- A rejected candidate stays rejected. A scan does not add it again.
- If a scan reads a Source in full and no longer sees a system, the Usage of its candidate is Not seen in the latest scan. What a scan did not read does not make a candidate gone. A part of a Source that the scan read in full can.
- If no scan reads the place of a detection now, the candidate gets the badge No longer scanned. Examples are a disabled or removed Source, and a Microsoft Copilot Studio environment outside the scope of its Source. The other values of the candidate stay as they were at the last scan. The status does not change.
- If you disable or remove an organization Source, its candidates stay.
Data that Modulos stores
A scan stores data about each detection. The candidate page shows a part of it, and the description of a Draft uses a part of it.
| Source type | Data about each detection |
|---|---|
| Microsoft Copilot Studio | The name, the schema name, the dates, the state, the status, the owner, the user who made the last change, and the environment of the agent. How the users of the agent sign in, who the agent is shared with, and the IDs of its channels. From the profile of the agent: its description and its instructions (the first 8,000 characters of each) and its model. Also its knowledge sources with their addresses, its actions with their connections, and the names of its topics, up to 50 of each. |
| Azure | The name, type, kind, location, resource group, subscription, tags, SKU, provisioning state, creation date, and public network access setting of a resource. The model, with its version and format, and the SKU and capacity of a model deployment. The model, the types of its tools, the version, and the instructions of an Azure AI Foundry agent. |
| Databricks | The name, the description, and the workspace of an item. The creator or owner and the dates of a serving endpoint and of a registered model. The ready state of a serving endpoint. |
| GitHub | The repository, its default branch, and the commit that Scout read. The folder and the file where the system starts. The name and the description that Scout gave the system (up to 600 characters), and if the code deploys it. Up to 10 files, each with a link and why Scout used it, and up to 3 open questions. |
Modulos also stores the IDs that an item has in its Source, for example the tenant ID and the resource ID. The detections of GitHub do not keep the text of the files.
The requests to Azure, Microsoft Copilot Studio, and Databricks do not read the credentials of a system, its conversations, or the data that it processes. For GitHub, Scout reads the text of code files, which can contain any data that is in the code. Modulos stores the text of a description, of instructions, and of tags as the Source gives it. Thus make sure that these fields contain no secret. For GitHub, Scout sends the text of the files that it reads to the AI model. See GitHub.
If you disable or remove an organization Source, the stored detections stay.
Limits
- A scan reads up to 100,000 agents in one Microsoft Copilot Studio environment.
- For each Microsoft Copilot Studio Source, a scan reads the profiles of the new agents, the changed agents, and the agents with no profile. It also reads each profile that is more than 7 days old. If a read fails, the scan stops the reads in that environment, and the next scan reads the remaining profiles. The step Read agent profiles in the scan details shows how many profiles the scan did not read.
- A scan reads up to 5,000 Azure resources in one query.
- A scan reads up to 2,000 Genie spaces in one Databricks workspace and up to 2,000 registered models in one metastore.
- For a GitHub Source, a scan lists up to 5,000 repositories that the token can read, of all owners. If the token can read more, the scan details show The code host listed more repositories than one scan reads, so some were not read.
- Scout has a time limit and a limit of steps for each part of the code. When Scout reaches one of them, the scan details give the cause, for example Scout reached its step limit before it finished reading it.
- When a list of agents, resources, Genie spaces, registered models, or repositories is longer than its limit, the Sources tab shows that the scan did not read all items.
- A scan finds only what the credentials of the Source can read. For the permissions, see the page of each Source type.