Skip to content

Smart Agent (card)

The Smart Agent card is the central configuration page for a single AI agent.

Merged page: This file covers two pages displayed together on the agent card.

  • Page 72778301 "Smart Agent Card QUA" (Card) — Page.72778301.SmartAgentCard.al
  • Page 72778309 "SA Agent Image FactBox QUA" (CardPart factbox) — Page.72778309.SAAgentImageFactBox.al

Source table: Smart Agent

The Smart Agent card is the central configuration page for a single AI agent. You define the agent's identity, choose its AI model and autonomy level, enable capabilities such as web search or knowledge base access, write its instructions, and manage its email channel settings. The Agent Image factbox on the right lets you upload a photo or icon for the agent.

In plain terms

This is the single most important page in the app — it's where you build an agent. An agent is a configured AI assistant your users chat with to get work done in BC.

Everything that defines one agent lives on this single card. Just as a permission set plus user setup together decide what a person can see and do, this card bundles the agent's identity (name, icon), its brain (the AI model), its permissions (capabilities, data connections, tools), and its standing orders (instructions).

A few groups on this page use AI ideas worth knowing before you start:

  • Instructions are the agent's always-on standing orders — its role, rules, and tone. The AI re-reads them before every message, so you never restate them. This is what AI people call the system prompt — much like the defaults baked into a posting group, they apply automatically to everything the agent does without anyone restating them.
  • Capabilities (BC Data Access, Knowledge Base, Web Search, Image Analysis) are coarse on/off gates, like the top-level toggles on a permission set. Turning one on only opens the door — the detail pages (Tool Configurations, Knowledge Files) decide what's actually behind it.
  • Autonomy Level controls how often the agent stops to ask before acting — from "approve every step" to "full autopilot".
  • Thread Memory is a per-conversation scratchpad where the agent tracks its goal, plan, and findings, so it doesn't lose the thread on long tasks.

Worked example. A "Finance Helper": Name = Finance Helper, AI Model = Smart, Autonomy Level = Medium, BC Data Access = on (connected to Customers and Sales Invoices), Instructions = "You help finance chase overdue invoices. Always show amounts in the customer's currency; never modify records without confirmation." You Activate it, then a user asks "Who's more than 30 days overdue?" and it answers from live BC data.

New here? Read the end-to-end build walkthrough in the primer first.

How to open it

  • From the Smart Agents list: select an agent and choose Edit, or choose New Agent to create one.
  • Drilling down on any agent row in the Smart Agents list also opens this card.

Fields

Identity

FieldTypeDescription
No.IntegerThe unique number identifying this agent. Read-only. (shown under Show more)
NameTextThe display name users see in the chat sidebar and in Teams. Required.
DescriptionTextA short description of what this agent does. Shown to users when picking an agent.
IconTextA short visual identifier for this agent, e.g. "FIN", "INV", "CSR".
Department CodeCodeOptional department used to group this agent in the chat sidebar tree. Links to Smart Agent Departments.
StatusEnumOnly Active agents can be used for chat. Use Activate / Deactivate actions to change. Values: Draft, Active, Disabled. Read-only.

Configuration

FieldTypeDescription
AI ModelTextSelect the AI model for this agent from the backend-managed model list. Required. Use the lookup to pick from the available model tiers.
Autonomy LevelEnumControls how independently the agent acts. Values: Low: Step by Step — asks permission for every action. Medium: Plan and confirm — asks clarifying questions upfront, then acts. High: Confirm write tool calls — only confirms destructive actions at the final step. Autonomous: Act and report — full autopilot, no questions.
Output TypeEnumChat = natural language for users. JSON = structured output for programmatic callers (requires a JSON Schema). Values: Chat, JSON.
Backend Assistant IDTextThe backend reference for this agent. Populated automatically on activation. Read-only. (shown under Show more, visible only when Show Advanced Options is on in Setup)

How to choose — AI Model: start on Smart (mid-range). Go higher (Expert/Premium) only if the agent makes reasoning mistakes on real tasks; drop to Fast for simple lookups to save credits. See AI Models.

How to choose — Autonomy Level: think of it like the number of approval steps before posting. New agents and anything that writes data → Low or Medium while you build trust. Read-only reporting agents → High or Autonomous is fine. Autonomy is the general posture; per-tool On Confirmation settings are still enforced on top of it.

How to choose — Output Type: leave it on Chat (a reply a person reads) for almost everything. Pick JSON only when another system or automation needs structured, machine-readable output instead of a human — the equivalent of an API payload rather than a printed report.

Capabilities

FieldTypeDescription
BC Data AccessBooleanLet this agent read and write Business Central data. Configure specific objects under BC Data Connections.
Image AnalysisBooleanLet this agent analyze uploaded images.
Knowledge BaseBooleanLet this agent reference uploaded documents. Manage files under Knowledge Files below.
Web SearchBooleanLet this agent search the web for current information.

Memory & Access

FieldTypeDescription
Thread Memory (chars)IntegerMaximum characters for the agent's per-session scratchpad. 0 = disabled. The agent uses this to persist plans, verified data, and task context across turns.
Allow User to Edit Thread MemoryBooleanWhen on, users can edit Goal, Plan, Verified Data, Decisions & Rules, and Errors & Retries sections from the chat side panel during the conversation. Only available when Thread Memory is enabled (greater than 0).
Allow All UsersBooleanWhen on, every user in the tenant can see and use this agent. When off, only users in Authorized Users can access it — if nobody is listed, the agent is hidden from everyone.

Email Channel

This group is visible only when Output Type is Chat.

FieldTypeDescription
Enable Email ChannelBooleanLet this agent monitor an email inbox and auto-reply. Requires Graph API credentials to be configured in Smart Agents Setup.
Monitored MailboxTextThe Microsoft 365 email address this agent monitors. Required when Enable Email Channel is on.
Check Interval (Minutes)IntegerHow often to check for new emails. Minimum 1 minute, default 5.
Auto ReplyBooleanAutomatically send the AI-generated response as an email reply.
Validate Sender AsEnumLook up sender in a BC table. Matched senders scope tool calls; unrecognised senders get a rejection reply. Values: None, Customer, Vendor, Employee, Salesperson.
Last CheckedDateTimeWhen this agent last checked the mailbox. Read-only. (shown under Show more)

Instructions

FieldTypeDescription
Instructions (rich text editor)BlobDetailed instructions for how the agent should behave. Use the rich text editor for formatting.

JSON Schema

This group is visible only when Output Type is JSON.

FieldTypeDescription
Schema PreviewTextPreview of the uploaded JSON Schema. Use Import / Export / Clear actions to manage it. Read-only.

BC Data Connections

This subpage is visible only when BC Data Access is enabled. It lists the Business Central objects (tables, APIs) the agent is allowed to read or write.

Knowledge Files

This subpage is visible only when Knowledge Base is enabled. See Knowledge Files for the full field and action reference.

Usage Statistics

This group is visible only after the agent has been saved (No. is assigned).

FieldTypeDescription
Last Used AtDateTimeWhen this agent was last used. Read-only.
Total Credits UsedDecimalTotal credits consumed by this agent. Read-only.
Current BC EnvironmentTextThe current Business Central environment for this session (not stored per agent). Read-only. (shown under Show more)
Current BC CompanyTextThe current Business Central company for this session (not stored per agent). Read-only. (shown under Show more)

Agent Image (factbox)

FieldTypeDescription
ImageMediaThe image for this agent. Use Import to upload a new image.

Actions

Process

ActionWhat it does
Activate AgentSet this agent to Active so it can be used for chat. Provisions the agent on the backend. Shows a progress dialog; validates instructions and syncs to the backend before activating.
Update AgentPush the latest settings (instructions, capabilities, model) to the backend. Available only after the agent has been provisioned.
Reset to DefaultRestore this agent to its built-in default definition when one exists. Overwrites instructions and template settings, but keeps usage history and backend identity.
Deactivate AgentSet this agent to Disabled so it can no longer be used for chat. Prompts for confirmation; unpublishes from Teams if currently published there.
Manage SharesInvite other tenants to share this agent, or revoke existing shares. Requires the agent to be provisioned on the backend.
Delete AgentPermanently delete this agent and all its data (sessions, messages, files, data sources). Also removes it from the backend. This cannot be undone.
Chat NowOpen a chat session with this agent. Available only when the agent is Active and its Output Type is Chat.
Chat in TeamsOpen a chat with this agent in Teams. The Teams app must be installed first (use Download Teams App). Available only when the agent is published to Teams.
Download Teams AppDownload the Teams app manifest ZIP for this agent. Upload it in Teams via Apps > Upload a custom app. Available only when the agent is published to Teams.
Publish to TeamsPublish this agent to Microsoft Teams so users can chat with it directly in Teams. Available only when the agent is Active.
Unpublish from TeamsRemove this agent from Microsoft Teams. Available only when the agent is published to Teams.
Email LogView the email processing log for this agent — incoming emails, replies, and errors. Available only when Enable Email Channel is on.
Setup Email Job QueueCreate or update the recurring Job Queue Entry that polls for incoming emails. Required for email integration to work. Available only when Enable Email Channel is on.
Check Emails NowManually trigger an email check for this agent right now. Useful for testing email integration. Available only when Enable Email Channel is on and the agent is Active.
Import JSON SchemaImport a .json file containing the JSON Schema that defines this agent's output structure. Visible only when Output Type is JSON.
Export JSON SchemaDownload the current JSON Schema as a .json file. Visible only when Output Type is JSON.
Clear SchemaRemove the current JSON Schema from this agent. Visible only when Output Type is JSON.
Authorized UsersManage which users are allowed to chat with this agent. Only used when Allow All Users is off. Opens the Authorized Users page.
Suggested PromptsManage the suggested prompts shown to users at the start of a new chat. Opens the Suggested Prompts page.
Published ChannelsSee every channel this agent is published to (BC, Teams, etc.) with sync timestamps. Opens the Published Channels page.
Web ResourcesManage external web links this agent can reference.
Test CasesManage AI test cases for this agent. Each test replays a saved conversation and grades the result with the same model.
Chat SessionsBrowse all chat sessions for this agent and promote any past conversation into a test case.

Notes

  • A newly created agent starts in Draft status. You must use Activate Agent before anyone can chat with it.
  • Before activating, ensure your tenant is registered: go to Smart Agents Setup and click Register Tenant.
  • If the agent's instructions conflict with system rules, Activate offers a suggested fix. You can accept it or cancel activation.
  • When you switch Output Type from JSON back to Chat, any imported JSON Schema is automatically cleared.
  • The Email Channel group requires Graph API credentials (Azure AD Tenant ID, Client ID, Client Secret) to be configured in Smart Agents Setup before you can enable email.
  • Each Microsoft 365 mailbox can be monitored by only one agent. Setting the same email address on two agents is blocked.
  • Enabling Image Analysis or Knowledge Base on an already-active agent immediately syncs the change to the backend. If the sync fails, the change is rolled back.
  • Deactivating an agent also unpublishes it from Teams (with a confirmation prompt if the Teams unpublish call fails).
  • Imported JSON Schemas larger than 10 KB trigger a warning about token cost before they are accepted.