Skip to content

Commit eb93396

Browse files
Merge pull request #7357 from MicrosoftDocs/main
Auto Publish – main to live - 2026-05-27 19:00 UTC
2 parents bffe08d + 8990eed commit eb93396

9 files changed

Lines changed: 38 additions & 3 deletions

dev-itpro/ai/ai-development-toolkit-landing-page.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,19 @@ landingContent:
8787
url: ai-development-toolkit-tasks-api.md
8888
- text: Convert an agent created in the UI to code
8989
url: ai-development-toolkit-export-import.md
90+
# Card
91+
- title: Evaluate and test agents
92+
linkLists:
93+
- linkListType: how-to-guide
94+
links:
95+
- text: Evaluation overview
96+
url: ../developer/ai-test-copilot-testtool.md
97+
- text: Write agent tests
98+
url: ../developer/ai-test-copilot-agent-tests.md
99+
- text: Create datasets for evaluation
100+
url: ../developer/ai-test-copilot-datasets.md
101+
- text: Test the Copilot capability in AL
102+
url: ../developer/ai-test-copilot.md
90103
# Card
91104
- title: Best practices
92105
linkLists:

dev-itpro/ai/ai-development-toolkit-overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,6 @@ Ready to try design an agent? The process involves enabling the feature, creatin
137137
[Best practices for designing an agent (preview)](ai-development-toolkit-faq.md)
138138
[Best practices (preview)](ai-development-toolkit-best-practices.md)
139139
[Create a Sales Validation Agent (preview)](ai-development-toolkit-sales-validation.md)
140+
[Evaluate agents with Evaluation](../developer/ai-test-copilot-testtool.md)
141+
[Write agent tests](../developer/ai-test-copilot-agent-tests.md)
140142
[Transparency note: Business Central AI development toolkit (preview)](transparency-note-ai-development-toolkit.md)

dev-itpro/developer/al-agent-tools/al-agent-tools-overview.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ AI agent tools enable GitHub Copilot and any Model Context Protocol (MCP)-compat
1919
> [!TIP]
2020
> These tools are specific to AI agents in Visual Studio Code and are different from the [ALTool command-line tool](../devenv-al-tool.md), which is used for compiling and packaging AL extensions in CI/CD pipelines.
2121
22-
These tools are designed for two usage surfaces that share a consistent set of tool names and behaviors:
22+
These tools are designed for three usage surfaces:
2323

2424
| Surface | Description | Best for |
2525
|---------|-------------|----------|
2626
| **Visual Studio Code Language Model Tools** | Tools registered with the Visual Studio Code Language Model Tools API, available to GitHub Copilot in Agent mode and any Copilot-compatible extension | Developers working interactively in Visual Studio Code |
2727
| **AL MCP Server** | A standalone Model Context Protocol server (`altool launchmcpserver`) that exposes AL tools over STDIO or HTTP | Headless environments, CI/CD pipelines, AI agents that run outside Visual Studio Code |
28+
| **AL LSP Server** | A Language Server Protocol server (`altool launchlspserver`) that provides semantic code intelligence over JSON-RPC on stdio | Agents and editors that need continuous code navigation—go-to-definition, find-references, completions, rename, and type hierarchy across multi-project workspaces |
2829

29-
Because both surfaces use the same tool names, an agent trained on one surface can work with the other with no retraining.
30+
The MCP and Visual Studio Code tools share a consistent set of tool names, so an agent trained on one surface can work with the other with no retraining. The AL LSP Server complements them by providing deep semantic understanding of the codebase rather than discrete task execution. Learn more in [AL LSP](../devenv-al-tool.md#al-lsp).
3031

3132
## Available tools
3233

@@ -119,6 +120,14 @@ Authentication tokens are never passed as tool parameters or returned in tool re
119120

120121
To force re-authentication, set `noCache: true` on any tool that supports it, or call `al_auth_logout` first.
121122

123+
## AL LSP for semantic code intelligence
124+
125+
In addition to the task-oriented tools listed above, ALTool can launch a full Language Server Protocol (LSP) server via the `launchlspserver` command. While the MCP tools perform discrete actions (build, publish, search), the LSP server provides continuous semantic code intelligence—hover, go-to-definition, find-references, completions, rename, and type hierarchy—over JSON-RPC on stdio.
126+
127+
The AL LSP server is the best choice when an agent needs to navigate and understand AL code structurally rather than perform predefined tasks. It correctly resolves cross-project relationships such as `internalsVisibleTo` and `propagateDependencies`, making it more reliable than text-based search for symbol resolution in multi-project workspaces.
128+
129+
Learn more in [AL LSP](../devenv-al-tool.md#al-lsp).
130+
122131
## Related information
123132

124133
[AL Language Model Tools for Visual Studio Code](al-language-model-tools-vscode.md)

dev-itpro/developer/devenv-al-code-navigation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ Learn more about code navigation in Visual Studio Code in [Code navigation](http
4242
[JSON files](devenv-json-files.md)
4343
[Debugging in AL](devenv-debugging.md)
4444
[AL code actions](devenv-code-actions.md)
45+
[AL LSP for AI agents and editors](devenv-al-tool.md#al-lsp)

dev-itpro/developer/devenv-al-extension-configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,4 @@ The following table describes the user and workspace settings for the AL Languag
6767
[Debugging in AL](devenv-debugging.md)
6868
[JSON files](devenv-json-files.md)
6969
[Working with multiple projects and project references](devenv-work-workspace-projects-references.md)
70+
[AL LSP for AI agents and editors](devenv-al-tool.md#al-lsp)

dev-itpro/developer/devenv-al-tool-package.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ al help
4444
|--------------------------------|-------------------------------------------------------|
4545
| `compile` | Compile a package using `alc.exe`. |
4646
| `workspace` | Workspace-related commands. |
47-
| `launchmcpserver` | Launches an AL Model Context Protocol (MCP) server. Learn more in [ALMCP](devenv-al-tool.md#almcp) |
47+
| `launchmcpserver` | Launches an AL Model Context Protocol (MCP) server. Learn more in [ALMCP](devenv-al-tool.md#almcp). |
48+
| `launchlspserver` | Launches an AL Language Server Protocol (LSP) server for autonomous AI agents and editors. Learn more in [AL LSP](devenv-al-tool.md#al-lsp). |
4849
| `GetPackageManifest` | Retrieve the manifest from a `.app` file. |
4950
| `CreateSymbolPackage` | Create a symbol-only package from a `.app` file. |
5051
| `GetLatestSupportedRuntimeVersion` | Get the latest supported AL runtime version for a platform version. |

dev-itpro/developer/devenv-dev-overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,5 @@ After development and testing are done, you can submit your extension package to
9292
[Documenting your code with XML comments](devenv-xml-comments.md)
9393
[FAQ for developing in AL](devenv-dev-faq.md)
9494
[Sending extension telemetry to Azure Application Insights](devenv-application-insights-for-extensions.md)
95+
[AI agent tools for AL development](al-agent-tools/al-agent-tools-overview.md)
96+
[AL LSP for AI agents and editors](devenv-al-tool.md#al-lsp)

dev-itpro/developer/devenv-dev-productivity-tips.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ Hold <kbd>Alt</kbd> and click in multiple places to add cursors, allowing you to
6464

6565
Check the **Problems** panel (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>M</kbd>) to see all warnings and errors in your workspace at a glance.
6666

67+
## AI agent workflows
68+
69+
For developers adopting AI agents to navigate, refactor, or build AL code, ALTool provides a headless Language Server Protocol (LSP) server that gives agents the same semantic code intelligence available in Visual Studio Code—go-to-definition, find-references, completions, and rename across multi-project workspaces. Learn more in [AL LSP](devenv-al-tool.md#al-lsp).
70+
6771
## Related information
6872

6973
[JSON files](devenv-json-files.md)
7074
[Launch JSON file](devenv-json-launch-file.md)
75+
[AI agent tools for AL development](al-agent-tools/al-agent-tools-overview.md)

dev-itpro/developer/devenv-multiroot-workspaces.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ The `al.packageCachePath` setting allows you to specify the path to a folder tha
4343
[Development in AL](devenv-dev-overview.md)
4444
[Best Practices for AL](../compliance/apptest-bestpracticesforalcode.md)
4545
[Working with Multiple Projects and Project References](devenv-work-workspace-projects-references.md)
46+
[AL LSP for cross-project semantic navigation](devenv-al-tool.md#al-lsp)

0 commit comments

Comments
 (0)