---
id: change/bcapps/13831
type: change
title: "#13831 [Agent Design Experience] Use native Markdown for custom-agent instructions"
summary: Custom agent instructions now use the native Markdown field instead of a WebPageViewer control, with a new per-agent checkbox to enable business skills that provide specialized guidance.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - table agent import buffer
  - codeunit custom agent metadata provider
  - enumextension custom agent metadata provider
  - page custom agent setup
  - table custom agent setup
  - page cust. agent instructions log
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-11-27T01:03:41.007Z"
  flags: []
generated:
  at: "2026-12-04T00:17:10.168Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 3967c9290dea599de7623d26fa6aebaa11948670
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13831
    title: "microsoft/BCApps#13831: [Agent Design Experience] Use native Markdown for custom-agent instructions"
    date: "2026-11-26"
    commit: 3967c9290dea599de7623d26fa6aebaa11948670
    t: null
    quote: Replace the custom-agent instructions textarea hosted by WebPageViewer with the native multiline Markdown field.
links:
  learn: []
  objects:
    - object/table/4353
    - object/codeunit/4358
    - object/enumextension/4351
    - object/page/4350
    - object/table/4350
    - object/page/4352
    - object/page/4355
    - object/page/4354
    - object/codeunit/4352
    - object/table/4352
    - object/page/4353
    - object/page/4394
    - object/page/4363
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-define-register
      title: Define and register an agent programmatically (preview)
      label: possibly related
      why: Custom agent definition and registration with Markdown-formatted instructions for behavior.
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-iterate
      title: Iterate and manage an agent (preview)
      label: possibly related
      why: Agent iteration and management including instruction versioning and history maintenance.
      by: model
number: 13831
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13831
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-26T07:52:37Z"
author: nikolakukrika
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 15
  additions: 718
  deletions: 86
  al: 13
apps:
  - AgentDesignExperience
objects_touched:
  - key: table/4353
    page: table/4353
    type: table
    id: 4353
    name: Agent Import Buffer
    app: AgentDesignExperience
    status: modified
  - key: codeunit/4358
    page: codeunit/4358
    type: codeunit
    id: 4358
    name: Custom Agent Metadata Provider
    app: AgentDesignExperience
    status: modified
  - key: enumextension/4351
    page: enumextension/4351
    type: enumextension
    id: 4351
    name: Custom Agent Metadata Provider
    app: AgentDesignExperience
    status: modified
  - key: page/4350
    page: page/4350
    type: page
    id: 4350
    name: Custom Agent Setup
    app: AgentDesignExperience
    status: modified
  - key: table/4350
    page: table/4350
    type: table
    id: 4350
    name: Custom Agent Setup
    app: AgentDesignExperience
    status: modified
  - key: page/4352
    page: page/4352
    type: page
    id: 4352
    name: Cust. Agent Instructions Log
    app: AgentDesignExperience
    status: modified
  - key: page/4355
    page: page/4355
    type: page
    id: 4355
    name: Cust. Agent Save Version Dlg
    app: AgentDesignExperience
    status: modified
  - key: page/4354
    page: page/4354
    type: page
    id: 4354
    name: Custom Ag. Instructions Dialog
    app: AgentDesignExperience
    status: renamed
  - key: codeunit/4352
    page: codeunit/4352
    type: codeunit
    id: 4352
    name: Custom Agent Instructions
    app: AgentDesignExperience
    status: modified
  - key: table/4352
    page: table/4352
    type: table
    id: 4352
    name: Custom Agent Instructions Log
    app: AgentDesignExperience
    status: modified
  - key: page/4353
    page: page/4353
    type: page
    id: 4353
    name: Custom Agent Instructions Part
    app: AgentDesignExperience
    status: modified
  - key: page/4394
    page: page/4394
    type: page
    id: 4394
    name: Custom Agent Markdown Part
    app: AgentDesignExperience
    status: added
  - key: page/4363
    page: page/4363
    type: page
    id: 4363
    name: Agent Instruction Editor
    app: AgentDesignExperience
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 660091
systems:
  - copilot
quote: Replace the custom-agent instructions textarea hosted by WebPageViewer with the native multiline Markdown field.
joined_against:
  major: "30"
  commit: 4d60d10920084a35a6231e5a0ffbd0577b0c399e
---

# #13831 [Agent Design Experience] Use native Markdown for custom-agent instructions

> Custom agent instructions now use the native Markdown field instead of a WebPageViewer control, with a new per-agent checkbox to enable business skills that provide specialized guidance.

[Pull request](https://github.com/microsoft/BCApps/pull/13831) · merged into `main` (BC30) on 2026-11-26 by nikolakukrika · 15 files (+718 -86), 13 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Replace WebPageViewer textarea with native multiline Markdown field for instruction editing
- Add optional per-agent Use business skills checkbox that defaults to enabled for new agents
- Preserve instruction text as raw UTF-8 without HTML conversion, maintaining formatting and whitespace
- Share Markdown part across setup dialog, agent card, history previews, and import previews
- Load instructions explicitly and refresh after history restore instead of relying on control-add-in events
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 4353 "Agent Import Buffer"](../../objects/table/4353.md), AgentDesignExperience: modified
- [Codeunit 4358 "Custom Agent Metadata Provider"](../../objects/codeunit/4358.md), AgentDesignExperience: modified
- [Enum extension 4351 "Custom Agent Metadata Provider"](../../objects/enumextension/4351.md), AgentDesignExperience: modified
- [Page 4350 "Custom Agent Setup"](../../objects/page/4350.md), AgentDesignExperience: modified
- [Table 4350 "Custom Agent Setup"](../../objects/table/4350.md), AgentDesignExperience: modified
- [Page 4352 "Cust. Agent Instructions Log"](../../objects/page/4352.md), AgentDesignExperience: modified
- [Page 4355 "Cust. Agent Save Version Dlg"](../../objects/page/4355.md), AgentDesignExperience: modified
- [Page 4354 "Custom Ag. Instructions Dialog"](../../objects/page/4354.md), AgentDesignExperience: renamed
- [Codeunit 4352 "Custom Agent Instructions"](../../objects/codeunit/4352.md), AgentDesignExperience: modified
- [Table 4352 "Custom Agent Instructions Log"](../../objects/table/4352.md), AgentDesignExperience: modified
- [Page 4353 "Custom Agent Instructions Part"](../../objects/page/4353.md), AgentDesignExperience: modified
- [Page 4394 "Custom Agent Markdown Part"](../../objects/page/4394.md), AgentDesignExperience: added
- [Page 4363 "Agent Instruction Editor"](../../objects/page/4363.md), AgentDesignExperience: modified

## Context

- Work items: AB#660091
- Labels: AL: Apps (W1), Team: Integrations
- Systems: copilot
- From the description: "Replace the custom-agent instructions textarea hosted by WebPageViewer with the native multiline Markdown field."

## Possibly related

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

- [Define and register an agent programmatically (preview)](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-define-register) — possibly related: Custom agent definition and registration with Markdown-formatted instructions for behavior. (model-linked)
- [Iterate and manage an agent (preview)](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-iterate) — possibly related: Agent iteration and management including instruction versioning and history maintenance. (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).
