---
id: change/bcapps/13811
type: change
title: "#13811 Enable custom agent task creation from the timeline"
summary: Custom agents now support creating tasks directly from the timeline through an interface implementation, offering options to create a simple task or open the full test agent UI with draft preservation.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit custom agent metadata provider
  - enumextension custom agent metadata provider
  - codeunit custom agent setup
  - page agent new task message
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-11-27T01:03:39.433Z"
  flags: []
generated:
  at: "2026-11-30T10:37:49.603Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: c7a29700d1fb47e6ffb21827dae759afda062cff
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13811
    title: "microsoft/BCApps#13811: Enable custom agent task creation from the timeline"
    date: "2026-11-26"
    commit: c7a29700d1fb47e6ffb21827dae759afda062cff
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/4358
    - object/enumextension/4351
    - object/codeunit/4350
    - object/page/4359
  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: Covers building custom AI agents in AL including task lifecycle and agent task execution programmatically.
      by: model
number: 13811
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13811
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-26T18:26:48Z"
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: 6
  additions: 322
  deletions: 13
  al: 4
apps:
  - AgentDesignExperience
objects_touched:
  - 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: codeunit/4350
    page: codeunit/4350
    type: codeunit
    id: 4350
    name: Custom Agent Setup
    app: AgentDesignExperience
    status: modified
  - key: page/4359
    page: page/4359
    type: page
    id: 4359
    name: Agent New Task Message
    app: AgentDesignExperience
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 658368
systems:
  - copilot
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13811 Enable custom agent task creation from the timeline

> Custom agents now support creating tasks directly from the timeline through an interface implementation, offering options to create a simple task or open the full test agent UI with draft preservation.

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

## What changed

- Implements IAgentManualTaskCreation interface for custom agents following the Sales Order Agent pattern
- Adds option dialog defaulting to 'Create in Test Agent page' with alternative 'Create task' choice
- Simple task dialog includes 'Open test agent' action visible only for custom agents
- Maintains security checks for configuration permissions, inactive agents, and archived agents
- Timeline file-upload task creation remains disabled
- Behaviour changes for users or extensions.

## AL objects touched

- [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
- [Codeunit 4350 "Custom Agent Setup"](../../objects/codeunit/4350.md), AgentDesignExperience: modified
- [Page 4359 "Agent New Task Message"](../../objects/page/4359.md), AgentDesignExperience: modified

## Context

- Work items: AB#658368
- Labels: AL: Apps (W1), Team: Integrations
- Systems: copilot

## 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: Covers building custom AI agents in AL including task lifecycle and agent task execution programmatically. (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).
