Bluace office in the Van Nelle Factory in Rotterdam

Agent Designer in Business Central: tips & tricks for your own custom agent

In addition to ready-made agents, you can build your own custom agents with the Agent Designer. You define the goal and instructions in plain language, give the agent exactly the permissions it needs, and test in a sandbox before going live. This is the most technical route, and the tips below focus primarily on discipline: scope, instructions and permissions determine whether a custom agent is reliable. This page is part of our overview of AI agents in Business Central.

How building works (briefly)

Agent Designer in Business Central: how it works
Agent Designer in Business Central: keeping the scope tight

Tip 1 — Keep the scope tight

Good agents are built on three reusable patterns: tight scope, minimal permissions, and structured handoff to a human. Let one agent handle one clearly defined process. An agent that tries “a bit of everything” becomes unpredictable. Do you want to automate more? Build multiple small agents instead of one large one. (Impact: High | Effort: Medium)

Tip 2 — Write instructions as prompts, using a keyword library

Writing instructions follows the rules of good prompt engineering: be concrete, unambiguous, and structured. Study the instruction keyword library on Microsoft Learn before you write your first instruction; those keywords drive the agent’s behavior more precisely than loose sentences. (Impact: High | Effort: Medium)

Agent Designer in Business Central: instruction keyword library
Agent Designer in Business Central: edge case document

Tip 3 — Create a separate edge case document

Write a separate “edge case” document alongside your instructions. For each main instruction, ask the question: “What does a misinterpretation of this look like?” Then, test exactly those misinterpretations in the sandbox before considering the agent finished. This catches errors that would otherwise only surface in production. (Impact: High | Effort: Medium)

Tip 4 — Grant minimal, role-based permissions

To design agents, you need the “AGENT – ADMIN” permission. Keep the agent’s permissions strict and role-based: do not grant broad permissions “just to get it working.” Test with the minimum set of permissions required by the task and document that set. An agent with overly broad permissions is a risk rather than a helper. (Impact: High | Effort: Medium)

Agent Designer in Business Central: role-based permissions
Agent Designer in Business Central: start from a working example

Tip 5 — Start with a working example

Don’t count on a blank slate. A good starting point is an existing example, for instance the Sales Validation Agent: clone and run that first, and only then adapt it. This way, you see the behavior of a working agent before you bend it to your process. (Impact: Medium | Effort: Easy)

Tip 6 — Test in the sandbox, not in production

The design/toolkit environment is intended for sandbox testing. Go through design → configuration → test fully there, including your edge cases, before an agent enters a production environment. Additionally, handle the first live period with human approval for every action. (Impact: High | Effort: Medium)

Agent Designer in Business Central: testing in the sandbox
Agent Designer in Business Central: step-by-step approach

Step-by-step approach (brief)

  1. Define identity, goal, and one delimited process.
  2. Select a template or blank agent via Agent > Create.
  3. Write instructions using the keyword library; keep them concrete.
  4. Draft the edge case document and determine the minimum permissions.
  5. Test in the sandbox, including intentional misinterpretations.
  6. Go live with human approval; only scale after proven reliability.

Please note: the Agent SDK for AL has also been available in production environments since version 28.1; the broader design toolkit is primarily sandboxed. Verify exact availability in your environment and version.

Also read: tips & tricks for the Sales Order Agent and the Payables Agent. Curious how agents fit into your service process? Discover our field service software.

Frequently asked questions about the Agent Designer in Business Central

Click on a question to see the answer.

What is the Agent Designer in Business Central?
The Agent Designer is the environment for building your own custom agents. You define the agent’s goal and instructions in natural language, grant it the permissions it needs, and test in a sandbox before it goes live. This lets you automate processes that are specific to your industry.
Do I need AL development for a custom agent?
You design an agent largely with natural-language instructions. For deeper or production-grade agents, AL and the Agent SDK come into play: that is developer work.
What is the biggest pitfall with custom agents?
A scope that is too broad and permissions that are too generous. Keeping the scope tight and rigorously testing for misinterpretations in the sandbox is what makes a custom agent reliable.
Can I build custom agents in a production environment?
The design toolkit is primarily intended for sandbox use. The Agent SDK for AL is also available in production environments from version 28.1. Always test in the sandbox before going live.
Which permissions do I need to design an agent?
To design agents you need the “AGENT – ADMIN” permission. Keep the agent’s own permissions tight and role-based: grant only the minimal set of permissions the task requires, and document that set.
What is the best way to start building an agent?
Don’t start from a blank page. Clone an existing example (such as the Sales Validation Agent), run it first, and only then adapt it. Keep the scope tight, write the instructions with the keyword library, and test in the sandbox, including deliberate misinterpretations.

Do you want to know which processes are best suited to a custom agent in Business Central?

Shiwan Roepa

+31858200802

info@bluace.nl

Functional Consultant Shiwan Roepa
Scroll to Top