---
id: object/page/4394
type: object
title: Page 4394 "Custom Agent Markdown Part"
summary: Page 4394 "Custom Agent Markdown Part" in AgentDesignExperience (System.Agents.Designer.CustomAgent). 7 public procedures. Introduced in BC30.
tier: official
language: en
tags:
  - page
  - agentdesignexperience
versions:
  introduced: "30"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-12-01T01:00:51.425Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 4ec332b9ae7c1297994bf7a5360ea66be1424dd678884a83bd7dc0cc2ecd11ca
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671/src/Apps/W1/AgentDesignExperience/app/CustomAgent/Setup/Instructions/CustomAgentMarkdownPart.Page.al
    title: src/Apps/W1/AgentDesignExperience/app/CustomAgent/Setup/Instructions/CustomAgentMarkdownPart.Page.al (main)
    date: null
    commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/13831
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-setup-page
      title: Create agent setup pages (preview)
      label: possibly related
      why: Page covers creating agent setup pages with custom configuration fields for agents.
      by: model
object_type: page
object_id: 4394
name: Custom Agent Markdown Part
caption: Designer - Instructions
namespace: System.Agents.Designer.CustomAgent
app: AgentDesignExperience
extends: null
first_version: "30"
last_version: "30"
present_in:
  - "30"
changed_in: []
source_major: "30"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 0
  subscribers: 0
  controls: 1
  actions: 4
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 4394 "Custom Agent Markdown Part"

> Page 4394 "Custom Agent Markdown Part" in AgentDesignExperience (System.Agents.Designer.CustomAgent). 7 public procedures. Introduced in BC30.

AgentDesignExperience · System.Agents.Designer.CustomAgent · captioned "Designer - Instructions" · BC30 · [source at f53bb0f1](https://github.com/microsoft/BCApps/blob/f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671/src/Apps/W1/AgentDesignExperience/app/CustomAgent/Setup/Instructions/CustomAgentMarkdownPart.Page.al) · facts from BC30

## Properties

| Property | Value |
|---|---|
| Caption | Designer - Instructions |
| Extensible | false |
| PageType | CardPart |
| ApplicationArea | All |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Instructions | Instructions | `InstructionsTxt` | Specifies what the agent should do, its tone, and the rules and guidelines it must follow. Use visual formatting or edit the Markdown source. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Save to history | Save the current instructions as a new version with a custom name. |  |
|  | View history | View the history of changes made to the agent instructions and restore an earlier version if needed. |  |
|  | Download instructions | Download the current agent instructions to a text file. |  |
|  | How to write instructions | Opens a web page that provides more information about defining instructions and building agents. |  |

## Procedures

- `SetUserSecurityId(UserSecId: Guid)` (internal)
- `GetInstructions(): Text` (internal)
- `SetInstructions(NewInstructions: Text): Text` (internal)
- `SetReadOnlyMode(ReadOnly: Boolean)` (internal)
- `SetIsTemporary(NewIsTemporary: Boolean)` (internal)
- `SetInstructionsHistoryVisible(NewVisible: Boolean)` (internal)
- `RefreshInstructions()` (internal)

## Triggers

OnOpenPage

## Recent changes

- 2026-11-26 [#13831 [Agent Design Experience] Use native Markdown for custom-agent instructions](../../changes/bcapps/13831.md) (main, BC30, feature, added)

## Across versions

- Present in: BC30
- Changed (declaration) in: none

## Possibly related

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

- [Create agent setup pages (preview)](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-setup-page) — possibly related: Page covers creating agent setup pages with custom configuration fields for agents. (model-linked)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Custom Agent Markdown Part")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
