CopilotForgeDraft

Catalogue › AI Architecture › ai-reference-architecture

AI reference architecture

Maintains a small set of reference architectures for recurring Microsoft AI patterns - knowledge agent, business-data agent with actions, AI-assisted automation, custom Foundry solution - each with components, identity and data flows, mandatory controls, known limits and an owner. Use when the same design questions keep recurring, when reviewers need a baseline to judge conformance, or when a new pattern has been proven and should be reused.

Department
AI Architecture
Lifecycle
Mobilise, Deliver, Scale, Improve
Maturity
builder, scaler, ai-enterprise
Risk tiers
1, 2, 3, 4
Platforms
m365-agents, copilot-studio, ai-foundry, power-platform, sharepoint, entra, azure
Editions
scale, enterprise
Reviewers
design-authority
Status
draft
Copilot Cowork
AI Architecture plugin for Copilot Cowork, or this skill on its own: Download SKILL.md
Licence
CC BY 4.0, by Simon Foote

Purpose

When every team designs its first agent from scratch, the organisation pays for the same mistakes many times. This skill keeps a short, owned set of reference architectures for the AI patterns the organisation actually builds, each showing the components, the flows of identity and data, the controls that are mandatory and the known limits. It gives builders a safe default and gives reviewers a baseline. Reference architectures go wrong when they are copied from a vendor diagram, written once and never updated, or so abstract that nobody can build from them.

When to use

When not to use

Questions to ask first

  1. Which solution shapes has the organisation built more than once, and which are planned on the roadmap?
  2. Which design decisions caused rework, review findings or incidents in those solutions?
  3. Which controls are non-negotiable by risk tier, according to the governance framework?
  4. Who will own each reference and keep it current as Microsoft changes the platforms?

Required inputs

If there is no portfolio history, start with one reference for the most common planned pattern and mark it provisional until a solution has been built and reviewed against it.

Decision framework

Admit a pattern as a reference only when it meets all of these tests.

TestPass when
RecurrenceAt least two live or committed solutions follow it, or the roadmap shows it will recur
ProvenAt least one solution built on it has passed its design and security gates
OwnedA named architecture role maintains it and reviews it on a set cycle
BuildableA maker or engineer can start from it without asking the architect for missing decisions
BoundedIt states the conditions under which it does not apply

Each reference contains: purpose and fit, a component view, identity flows, data flows, mandatory controls by risk tier, variation points (decisions left to the solution), known limits, revisit triggers, the volatile facts it depends on and the owner.

Practitioner approach

Start from evidence, not from a whiteboard. Read the decision records, review findings and incident notes for the solutions already built, and group them by shape. In most organisations four shapes cover the majority of demand: an agent grounded on governed knowledge, an agent that reads and writes business data through connectors and flows, an automation with an AI interpretation step, and a custom solution built in Microsoft Foundry. Do not invent a fifth until it recurs.

For each shape, draw the minimum set of components and the two flows that matter most: whose identity is used at each hop, and where data travels and rests. Mark every hop where identity changes, because that is where most security findings arise. Mark where data leaves the Microsoft 365 boundary or the tenant, and what agreement covers it.

List mandatory controls by risk tier rather than one list for all. A tier 1 knowledge agent needs a named owner, permission-trimmed sources and a review date; a tier 3 business-data agent also needs user authentication on writes, confirmation steps, logging, evaluation in the pipeline and continuity arrangements. Reference the governance framework rather than restating it.

Separate the fixed decisions from the variation points. The reference fixes what should not vary (identity pattern, logging, environment zone); the solution decides what legitimately varies (knowledge sources, channels, tone). If a builder cannot tell which is which, the reference is too vague.

State known limits plainly and point to the source record for each. Microsoft changes capability, naming and limits often, so the reference records which facts it depends on and the date they were last checked, rather than embedding numbers.

Publish references where makers and engineers already look, linked from the CoE pages and the build skills. Assign an owner and a review cycle; review sooner when a dependent capability changes or when conformance reviews keep finding the same deviation, which usually means the reference is wrong rather than the builders. Retire references that no longer recur, and record why.

Outputs

Microsoft platform considerations

References span Microsoft 365, Copilot Studio, Power Platform, Microsoft Entra and Azure, and Microsoft moves capability between them. Name the platform capability a reference depends on and point to the source record (ms-agents-extensibility, ms-agents-compare, ms-copilot-studio-guidance, ms-foundry-models), never a remembered limit or licence.

Adoption considerations

Builders adopt references that save them time. Provide a starter solution, a worked fictional example or a checklist alongside each diagram, and collect feedback from the first teams to use it.

Knowledge considerations

Each reference names the knowledge pattern it assumes and the standard sources must meet, linking to ai-architecture:grounding-patterns and knowledge-management:knowledge-grounding-standards rather than repeating them.

Security and privacy considerations

Identity hops, data boundaries and logging are the security core of every reference. Have security-privacy agree the mandatory controls before publication, so solutions that conform start with fewer findings.

Responsible AI considerations

For patterns that can inform decisions about people or act without per-action review, the reference includes human oversight and logging as fixed decisions, and names the responsible-ai review that applies from tier 3.

Evaluation requirements

Each reference states the evaluation approach it expects by tier (manual test set, built-in testing, automated harness) and where evaluation evidence is stored, consistent with evaluation-quality:ai-evaluation-strategy.

Value measures

Measure reuse and rework at portfolio level: the proportion of new designs based on a reference, design review findings per solution for conforming versus non-conforming designs, and time from brief to design approval. The AI architecture lead owns these measures, with a baseline taken before the library is published.

Scale notes

Starter

A single page per pattern is enough, and one or two patterns cover most needs. Starter organisations often rely on a partner's references; adopt them only after checking they fit the organisation's controls.

Scale

Maintain three to five references with owners and review dates, and make conformance to them part of the design gate.

Enterprise

Run a reference library with versioning, federated contributors and a formal change process, and track which solutions use which version so changes can be assessed for impact.

Hand-offs

Reviewer gates

New and materially changed references are reviewed by design-authority before publication, and their mandatory controls are agreed with security-privacy. References are standards, so they apply to solutions from risk tier 1.

Failure modes

Sources

references/sources.md in this skill lists the source records behind this skill, what each is authoritative for, how volatile it is and what you may do with it. Product availability, licensing, limits and preview status change often, so check the current source before stating them, and cite what you used.

Never

Source records for this skill

Ways to extend Microsoft 365 Copilot

Compare declarative and custom engine agents

Microsoft Copilot Studio guidance documentation

Copilot Studio security and governance

Microsoft Foundry Models overview

Credit

This skill was created by Simon Foote as part of CopilotForge, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Credit the author when you share or adapt it.