---
title: "Interface IAgentFactory"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/interface/iagentfactory/
type: interface
name: "IAgentFactory"
app: "System"
namespace: System.Agents
versions: "25-29"
build: 29.0.55597.0
countries: "W1"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Interface IAgentFactory

JOP-AL, https://jonas-paprotka.de/ref/interface/iagentfactory/

| | |
| --- | --- |
| App | System |
| Namespace | System.Agents |
| Versions | 25-29 |
| Minors | W1 25.0, 25.2, 26.0, 27.0, 28.0, 29.0, [every minor](https://jonas-paprotka.de/ref/interface/iagentfactory/editions.json) |
| Source file | System Interfaces/IAgentFactory.Interface.al |

## Implemented by

- [Codeunit 3303 Payables Agent](https://jonas-paprotka.de/ref/codeunit/3303-payables-agent/), Payables Agent, 26-29
- [Codeunit 4401 SOA Metadata Provider](https://jonas-paprotka.de/ref/codeunit/4401-soa-metadata-provider/), Sales Order Agent, 25-29
- [Codeunit 2000000031 Personal Agent Metadata](https://jonas-paprotka.de/ref/codeunit/2000000031-personal-agent-metadata/), System, 29
- [Enum 2000000006 Agent Metadata Provider](https://jonas-paprotka.de/ref/enum/2000000006-agent-metadata-provider/), System, 25-29

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetInitials | () | Text[4] | public | 25-26 | - | - |
| GetFirstTimeSetupPageId | () | Integer | public | 25-29 | - | - |
| ShowCanCreateAgent | () | Boolean | public | 25-29 | - | - |
| GetCopilotCapability | () | Enum Copilot Capability | public | 25-29 | - | - |
| GetDefaultInitials | () | Text[4] | public | 27-29 | - | - |
| GetDefaultProfile | (var TempAllProfile: Record "All Profile" temporary) | - | public | 27-29 | - | - |
| GetDefaultAccessControls | (var TempAccessControlBuffer: Record "Access Control Buffer" temporary) | - | public | 27-29 | - | - |

## Source

Symbols: Microsoft.Platform.symbols, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
