---
id: change/bcapps/14498
type: change
title: "#14498 Return the saved description for accessible Agent Builder agents"
summary: Agent Builder now returns the saved description for accessible agents after verifying use and company access permissions.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit custom agent metadata provider
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-12-04T01:06:55.824Z"
  flags: []
generated:
  at: "2026-12-05T00:13:03.967Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 750b00c7fbe6a1245746e6c6b0ee392b1f9d0dad
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14498
    title: "microsoft/BCApps#14498: Return the saved description for accessible Agent Builder agents"
    date: "2026-12-03"
    commit: 750b00c7fbe6a1245746e6c6b0ee392b1f9d0dad
    t: null
    quote: Check use and company access before reading the per-agent setup.
links:
  learn: []
  objects:
    - object/codeunit/4358
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-overview
      title: Coding agents in AL (preview)
      label: possibly related
      why: Documents custom AI agents in AL with metadata and execution interfaces
      by: model
number: 14498
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14498
kind: pr
base_branch: main
major: "30"
merged_at: "2026-12-03T21:46:18Z"
author: divyanshukapoor
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 95
  deletions: 0
  al: 1
apps:
  - AgentDesignExperience
objects_touched:
  - key: codeunit/4358
    page: codeunit/4358
    type: codeunit
    id: 4358
    name: Custom Agent Metadata Provider
    app: AgentDesignExperience
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues:
  - 14497
work_items:
  - 660484
systems:
  - copilot
quote: Check use and company access before reading the per-agent setup.
joined_against:
  major: "30"
  commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
---

# #14498 Return the saved description for accessible Agent Builder agents

> Agent Builder now returns the saved description for accessible agents after verifying use and company access permissions.

[Pull request](https://github.com/microsoft/BCApps/pull/14498) · merged into `main` (BC30) on 2026-12-03 by divyanshukapoor · 2 files (+95 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Custom Agent Metadata Provider returns the description saved in the per-agent setup
- Use and company access are checked before the per-agent setup is read
- New tests cover distinct, updated, missing and out-of-company descriptions
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 4358 "Custom Agent Metadata Provider"](../../objects/codeunit/4358.md), AgentDesignExperience: modified

## Context

- Fixes: [#14497 [Feature]: Return the saved Agent Builder description during agent discovery](https://github.com/microsoft/BCApps/issues/14497) (closed)
- Work items: AB#660484
- Labels: AL: Apps (W1), Team: Integrations
- Systems: copilot
- From the description: "Check use and company access before reading the per-agent setup."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Coding agents in AL (preview)](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-overview) — possibly related: Documents custom AI agents in AL with metadata and execution interfaces (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
