AL Development Agents
AL (Business Central) development agents integrated into GitHub Copilot Chat.
Agents
| Agent |
Invoke with |
Purpose |
| AL Developer |
@ts-dev |
One agent for the whole change: plans, codes, translates, documents, and explains code; starts @ts-review for the review |
| AL Review |
@ts-review |
Reviews completed changes with BCQuality, and against the requirements when @ts-dev supplies them |
Usage
- Open Copilot Chat in VS Code
- Type
@ts-dev followed by your task description
- It plans the change, asks you to approve the plan, and asks again before each later phase (code, XLIFF, review, documentation)
@ts-dev replaces the previous agents (@ts-architect, @ts-coder, @ts-xliff, @ts-documentation, @ts-code-analyzer), which are no longer available.
The agents use the extension's tools on their own, except Check IDs against a branch, which runs only when you ask for it.
Check IDs against a branch
Finds object, field, and enum value IDs in your branch that another branch already uses for something else, and suggests a free ID from app.json for each clash. It fetches the branch from origin, includes your uncommitted changes, and changes no files.
Ask @ts-dev, for example:
@ts-dev check my IDs against develop
@ts-dev check IDs against release/26.1
Without a branch name it compares with develop. You can also add #trimit_check_object_ids to a prompt.
Recommended Settings
The extension works without these. Add the ones you want to your user settings.
| Setting |
What it does |
Needed? |
extensions.supportAgentsWindow |
Lets the agents, the AL tools, and XLIFF Sync run in the Agents window |
Only if you use the Agents window |
chat.newSession.defaultMode |
Starts every new chat with @ts-dev already selected |
Optional |
How to add them
Open the Command Palette (Ctrl+Shift+P) and run Preferences: Open User Settings (JSON).
Add the lines below inside the outer { }. If a setting is already in the file, add only the missing entries to it, and keep your own values.
// Run the TRIMIT agents and the extensions they need in the Agents window
"extensions.supportAgentsWindow": {
"trimitdev.trimit-dev-agents": true,
"ms-dynamics-smb.al": true,
"ms-dotnettools.vscode-dotnet-runtime": true,
"rvanbekkum.xliff-sync": true
},
// Start new chats with @ts-dev
"chat.newSession.defaultMode": "ts-dev",
Save the file, then run Developer: Reload Window. Close and reopen the Agents window if it is open.
All four entries in extensions.supportAgentsWindow are needed: the AL extension depends on the .NET runtime extension, and without AL the TRIMIT agents do not load in the Agents window. The extensions must be installed in your default profile.
Requirements
- VS Code 1.100+
- GitHub Copilot Chat, AL Language, and XLIFF Sync extensions (installed automatically with this extension)
- Git, only to check IDs against another branch