Key points
- A custom build is worth paying for in 3 cases: the assistant cannot reach your data, the task needs your own rules or approvals, or the feature belongs inside an application your staff already use.
- Every retrieval answer cites the source document and page, and the search returns only passages from files the person asking is allowed to open.
- Each build comes with a test set of real questions with known answers, and that set runs on every release.
- The build runs in your Azure or AWS tenant. Model availability differs by region, so we check each model before we promise Canadian residency.
- You own the code, prompts and test sets, delivered to your repository, and we quote a fixed price in writing before work starts.
What a custom AI build is and what it includes
A custom AI build connects a hosted model to data and rules a packaged assistant cannot reach. We build 3 things: private search over your documents, Model Context Protocol (MCP) servers and connectors to your business systems, and AI features inside your applications. Each comes with a test set and runs in your cloud tenant. You own the code.
Typical projects: a question-and-answer tool over 20 years of project files, or an MCP server that lets Claude or Copilot read and update your ERP.
- Retrieval (RAG)
- Search over your contracts, specifications, procedures and past projects. Each answer cites the source document and page.
- MCP servers and connectors
- Model Context Protocol servers that expose your ERP, CRM or database to an assistant, with defined and permissioned actions.
- AI features in your apps
- Summaries, classification and drafting inside the tools your staff already use, including internal tools we build.
- Evaluation
- A test set of real questions with known answers, run on every release.
- Hosting
- Deployed in your Azure or AWS tenant, in a Canadian region when data residency matters. Model availability differs by region, so we check each model before we promise residency.
Extraction from invoices, bills of lading, proof of delivery, submittals and certificates of insurance has its own page: AI document intelligence. A build that works through a sequence of steps and takes actions is an agent: see AI agents for business processes.
Build or buy: configure what you own before you build
Check what you already license before you pay for a build. A need that required custom work last year may now be a setting in Copilot, Claude, ChatGPT or your business software.
| Situation | Our advice |
|---|---|
| Copilot, Claude or software you already own covers the need | Configure what you own. A custom build would add cost for no gain. |
| The documents are in SharePoint and staff hold Microsoft 365 Copilot licences | Fix permissions and labels, then use Copilot. That work is data readiness. |
| Your data lives in a system the assistant cannot reach | Build a connector. A first connector to 1 system with a documented API is typically about 5 weeks of work. |
| The task needs your own rules, formats or approvals | Build an agent or a small app around a hosted model. |
| The rule is fixed and the input is structured, such as routing an email by sender domain or checking a PO number against the ERP | Write ordinary code or a workflow, as in API and workflow automation. A model adds cost and variation where a rule is enough. |
| You are considering training your own model | Rarely worth it for a mid-sized business. Retrieval gives a hosted model your current documents at question time, with no training run to pay for and to repeat each time the documents or the base model change. |
We build only the part that no product you own can give you.
A custom build fits when
- Staff search years of project files, specifications, procedures or contracts by hand.
- Staff copy data out of the ERP, the transportation management system (TMS) or the project system to paste into an assistant.
- A named person owns the process and can say what a correct answer looks like.
It does not fit when
- Nobody can state the question the tool must answer or the action it must take.
- The source data is wrong, duplicated or open to everyone. Fix that first.
- The system has no API, no export and no database your licence lets you read.
Retrieval over company documents, with a citation on every answer
Retrieval sends the relevant passages from your own documents to a hosted model at the moment someone asks. The model is not trained on your documents. After each index run, a new document is searchable, a removed document stops appearing in answers and a changed permission takes effect.
- Retrieval-augmented generation (RAG)
- The system searches your documents for passages relevant to a question and gives them to a model, which writes the answer from them.
- Chunk
- A passage cut from a document, stored with its file name, page number and section heading.
- Hybrid search
- Keyword search, which finds exact strings such as a drawing number or a PO number, run together with embedding search, which finds passages that say the same thing in different words.
- Permission trimming
- The search returns only passages from files the person asking is allowed to open in the source system.
- Grounded answer
- An answer in which each claim points to a retrieved passage. When nothing relevant is retrieved, the tool is instructed to say it found nothing, and the test set measures how often it does.
- SourceSharePoint, a file server, Procore or a document system
- IngestText and tables read, scans put through optical character recognition (OCR)
- IndexIn your tenant, with each file's permissions
- AnswerBest passages go to the model, which cites them
- LogQuestion, passages, answer and model charge
What decides answer quality
- How documents are cut. A specification split in the middle of a clause loses the clause number, so we chunk by the document's own structure: section, clause, drawing sheet.
- Metadata. Project number, document type, revision and date let the tool prefer the current revision and say when it is quoting a superseded one.
- Scans. Handwriting and small title-block text read poorly under OCR. We measure this on your own files during the prototype.
- Permissions. If a folder is open to everyone, the tool answers everyone from it.
| Operation | Documents indexed | A question it answers |
|---|---|---|
| General contractor | Specifications, requests for information (RFIs), change orders, submittals and closeout files from past jobs | How did we handle dewatering on jobs with a similar soils report? |
| Estimating, before bid day | Past bids, scope letters and subcontractor quotes | Which exclusions did we list for curtain wall on the last 5 bids? |
| Carrier or third-party logistics provider | Customer routing guides, accessorial schedules and carrier contracts | What are the detention terms and free time for this customer? |
| Warehouse | Work instructions, safety procedures and equipment manuals | What is the putaway rule for flammable liquids in building 2? |
On Microsoft 365, test the cheaper option first. As of November 2026, Microsoft 365 Copilot connectors (formerly Microsoft Graph connectors) come in 2 models: synced connectors index outside content into Microsoft Graph, and federated connectors fetch it at question time through MCP. Microsoft's gallery lists more than 100 prebuilt connectors. When 1 of them covers your source, set it up under Copilot and AI assistants and skip the custom retrieval build.
MCP servers and connectors to your ERP, TMS and project systems
The Model Context Protocol is an open standard, introduced by Anthropic in November 2024, for connecting AI assistants to tools and data. Since December 9, 2025 the Agentic AI Foundation, part of the Linux Foundation, has governed the protocol. An MCP server describes what the assistant may read and do in a system. Claude, ChatGPT and Microsoft Copilot Studio support it.
A server can publish tools (functions the model calls), resources (data it reads) and prompts (templates for users). A business connector is mostly a short list of tools. A connector written once to the standard works with more than 1 assistant, so you can change assistants without rewriting it. Sign-in is set up separately for each assistant, and support varies: as of November 2026, Copilot Studio uses a server's tools and resources and does not use its prompts.
How we design the tool list
- Each tool does 1 narrow job and is named for it:
get_job_cost_summary,find_open_rfis,get_load_status. No tool accepts free-form SQL. - A build starts with read tools. A write tool is added after the read tools pass the test set.
- A write tool creates a draft or a pending record that a person approves in the business system. Payments, payroll changes and deletions are never tools.
- Every call runs under an identity. Where the system supports it, the user signs in and the tool sees what that user can see. Where it does not, the server uses its own least-privilege service account and checks the caller's role itself.
- Every call is logged: who asked, which tool, the inputs, the result and the time.
Authorization in MCP is optional and, over HTTP, is based on OAuth 2.1 (specification revision 2026-07-28). The specification requires a server to accept only tokens issued for that server and forbids passing a token on to another service. We build to those rules and sign users in through Microsoft Entra ID or your identity provider.
A dispatcher who starts at 5 am can ask which loads are late against appointment and which drivers have hours left, and get 1 reply drawn from the TMS and the electronic logging device (ELD) feed. These are the tools behind that reply.
| Tool | What it does | Who may call it | Approval |
|---|---|---|---|
| get_load_status | Status, last position and ETA for 1 load | Dispatch, customer service | None, read only |
| find_loads | Loads by customer, lane, date or status, 50 rows at most | Dispatch, customer service | None, read only |
| get_driver_hours | Hours available today for 1 driver, from the ELD feed | Dispatch | None, read only |
| get_customer_rules | Routing guide and accessorial terms for 1 customer | Dispatch, billing | None, read only |
| list_exceptions | Loads late against appointment or with no status update in 4 hours | Dispatch | None, read only |
| draft_status_note | Writes a draft customer update for 1 load | Customer service | A person reviews and sends |
Illustrative. A real catalogue also lists each tool's inputs, outputs, rate limit and owner.
Illustrative data, not a client record.
For a contractor the same pattern reads job cost from the accounting system and RFIs, submittals and change events from Procore. A project manager asks for cost to date against budget on a cost code, with the open RFIs against it, and gets both in 1 answer.
Where a build takes actions, it has the 6 controls we put on every agent: its own least-privilege account, human approval for risky actions, logging, a test set, a cost cap and an off switch.
AI features inside the applications your staff already use
Some needs are best met by a button in an application staff already have open. The feature reads the record on screen, calls a hosted model through your account and returns a draft or a suggestion.
| Feature | Where it sits | Output |
|---|---|---|
| Summary | Project record, ticket or customer account | A dated summary with links to the items it used |
| Classification | Shared mailbox or intake form | A category, a priority and a suggested owner |
| Drafting | RFI, daily report or customer update screen | A draft in your template, which the user edits and sends |
| Lookup | Estimating or order entry screen | Similar past items from the retrieval index |
Each feature is a small service with its own prompt, its own test cases and a spending limit. When the feature needs a new screen or a new internal tool, that part is custom software development.
An evaluation set tells you how often the build is right
An evaluation set is a list of real questions with known answers. It tells you how often the build is right before staff rely on it, and it catches a release that makes things worse.
- Real questions, collected from the people who do the work: estimators, project managers, dispatchers, billing clerks. A first retrieval build typically has 50 to 150.
- Known answers. A named person on your side confirms each correct answer and the document it comes from.
- Questions with no answer, where the correct result is "not found".
- Permission cases. The same question is asked as 2 users, 1 of whom must not see the source.
- Tool cases, for connectors. The right tool is called with the right inputs, and a request outside the user's role is refused.
| Measure | Target | Release 0.3 | Release 0.4 |
|---|---|---|---|
| Correct and cited | 90% | 81% | 92% |
| Correct source in the top 5 passages | 95% | 88% | 96% |
| "Not found" given when no answer exists | 15 of 15 | 13 of 15 | 15 of 15 |
| Permission cases passed | 10 of 10 | 10 of 10 | 10 of 10 |
| Median time to answer | Under 8 seconds | 6 seconds | 5 seconds |
Illustrative figures. You set the targets in the scope. Most misses in release 0.3 quoted a superseded revision as current, and release 0.4 added revision and date metadata. The report lists the 10 misses in release 0.4 with the passages retrieved for each.
Illustrative data, not a client record.
The set runs when a prompt changes, when the model version changes, when the index is rebuilt and when a source system changes its API. Your staff review the misses, and each miss ends as a fix, a new test case or a documented limit.
Model vendors retire and replace models on their own schedule, so the set keeps running after go-live, with your own team or under managed AI operations.
Where the build runs and where your data goes
Your documents, the search index and the logs stay in your cloud tenant. For each question, the passages needed to answer it are sent to the model through your own Azure, AWS or vendor account under its business terms. We document the data flow before we build, including any period for which the vendor keeps prompts.
| Option | When we choose it | Check before you commit |
|---|---|---|
| Microsoft Foundry (formerly Azure AI Foundry), from your Azure subscription | You run Microsoft 365 and Azure and want 1 identity system | Which models are available in Canada Central or Canada East, and where each is processed |
| Amazon Bedrock, from your AWS account | Your applications and data already sit in AWS | Which models are available in Canada (Central) or Canada West (Calgary) |
| The model vendor's API, under your own business account | The model you need is not available in your cloud region | Processing location, retention period and training terms, with their date |
| An open-weight model on GPU capacity you rent or own | A contract forbids sending the data to a shared model service | Hardware cost, operating effort and how the model scores on your test set |
Data can be stored and processed in Canadian regions, and we document where each service stores and processes data. Storing data in a Canadian region does not by itself remove exposure to foreign law when the provider is foreign-controlled, and some AI services process data elsewhere. Private endpoints, customer-managed keys and dedicated GPU are covered under private and sovereign AI hosting.
For a client outside Canada, the build is deployed in your own tenant, in the region your contracts name.
Where Quebec's Law 25 applies, it requires a privacy impact assessment for any information system project involving personal information, and before personal information is communicated outside Quebec (ss. 3.3 and 17). The assessment is your privacy officer's or counsel's work, and our data-flow document gives them the facts.
Scope: what is included, optional and excluded
Included in every build
- A written scope: 1 use case, its data sources, the users, the document set or tool list, and the release rule.
- A data-flow document: what leaves each system, where it is stored and processed, and which vendor terms apply.
- The build: ingestion and index, MCP server or application feature.
- Sign-in through your identity provider, least-privilege service accounts and permission trimming.
- The test set, an evaluation report for each release and the list of misses.
- Logging of every question, tool call, answer and model charge, kept in your tenant.
- A spending limit on model usage and a switch that turns the build off.
- Deployment as code to your Azure or AWS tenant, a runbook and a handover session for your administrators.
Optional, priced separately
- A second use case or a further source system.
- Write tools on a connector, added after the read tools pass.
- OCR and clean-up of a scanned archive.
- A new interface: a Teams app, a web page or a screen in an internal tool.
- Monthly operation after go-live, adversarial security testing before release, and staff training.
Excluded
- Training or fine-tuning a model of your own.
- Licences for assistants, cloud services and model usage. Those accounts are yours, and the vendor bills you.
- Cleaning up permissions and labels across the whole tenant, which is scoped as its own project.
- Any access a vendor's licence terms do not allow, such as reading a database you are not permitted to query.
- Decisions about a person, such as hiring or discipline, made with no human review.
- Legal advice, privacy impact assessments and regulatory filings. We supply the facts and counsel decides.
How a custom AI build runs: 4 steps in 5 to 8 weeks
Scope
1 use case, its data sources, and what a correct answer looks like. We interview the process owner and 2 or 3 users, read a sample of the documents or the system's API, and write the scope, the data flow and the fixed price for the build.
1 week
Prototype
A working version on a sample of your data, running in your tenant. Your staff try it on their own questions, and those questions become the first test cases.
2 to 3 weeks
Evaluate
Accuracy measured against the test set, with your staff reviewing the misses. We change chunking, metadata, prompts or tool design and run the set again until it meets the release rule.
1 to 2 weeks
Deploy and monitor
Production release with logging, access control, cost tracking and a support agreement that states who runs the build after go-live. A pilot group uses it first, then everyone in scope.
1 to 2 weeks
These durations are typical. A connector to 1 system with a documented API is usually a 5-week build. A retrieval build over a large scanned archive can run past 8 weeks, and the scope states the duration before you sign.
| Week | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| Scope and data flow (week 1) | |||||||
| Prototype on sample data (weeks 2 to 4) | |||||||
| Test set written with your staff (weeks 2 to 4) | |||||||
| Evaluate and fix (weeks 5 to 6) | |||||||
| Pilot group (week 6) | |||||||
| Release and handover (week 7) |
Illustrative data, not a client record.
| Task | Muon Solutions | You |
|---|---|---|
| Use case and release rule | Drafts both from the interviews | Process owner approves them |
| Access to systems | Specifies the least-privilege accounts needed | IT creates the accounts in your tenant |
| Test set | Collects questions, runs the set and reports results | Subject experts confirm the correct answers |
| Build and deployment | Writes the code and deploys it to your tenant and repository | IT approves the deployment and holds admin access |
| Go-live decision | Reports results against the release rule | Process owner decides |
The scope names the dates when nothing is released. For a contractor those are bid day and the weekly payroll cut-off. For a carrier or warehouse they are the hours around shift start, so with a 5 am start a change goes in the previous afternoon and the supervisor on shift is told.
Builds are delivered remotely for clients in Canada, the United States and other countries, with on-site workshops in the Greater Toronto Area. Meeting hours are agreed in the scope when you are outside Eastern time.
What you own when the build is handed over
You own the code, prompts and test sets. They are delivered to your repository, and the build runs in accounts registered in your company's name.
- Source code, infrastructure definitions and deployment scripts in your repository.
- Prompts and tool descriptions, versioned with the code.
- The test set with its known answers, and the evaluation report for the released version.
- The data-flow document, and the tool catalogue or the list of indexed sources.
- A runbook: how to rebuild the index, rotate a credential, change the spending limit and turn the build off.
- Admin access held by your people, and a list of every account and secret the build uses.
If you leave, you already hold the repository, the accounts and the runbook, and we hand over any remaining documentation, credentials and admin access. Your team or another firm can run the build from there.
A fixed fee for the build, with vendor usage billed to your account
The build is a fixed fee. Its quote comes at the end of the scope step, so the price is for a named use case, a named set of sources and a stated release rule. The scope step is quoted in writing before it starts, as all our work is. The firm's price models are on the engagement models and pricing page.
Vendor charges are separate. Cloud hosting and model usage are billed by the vendor to your account, so you see them on your own invoice. Operation after go-live is optional and has its own monthly fee.
| Driver | Lower | Higher |
|---|---|---|
| Source systems | 1 system with a documented API | Several systems, or 1 with no API |
| Documents | Text PDFs and Office files with consistent names | Scanned drawings, handwriting, mixed revisions |
| Actions | Read only | Write tools with an approval step |
| Permissions | Source permissions are clean and can be reused | Access rules must be rebuilt inside the connector |
| Interface | Used inside an assistant staff already have | A new screen, Teams app or internal tool |
| Use of the answer | A person reviews it before acting | It goes to customers or into a system of record |
Run cost depends on how many questions are asked, how much text each one sends to the model and which model answers. We estimate it during the prototype from measured usage and set the spending limit from that estimate.
What we need from you before the scope step
Limits of the work, standards and platforms
- A model can state something wrong with confidence. Citations let a reader check, and the test set measures how often it happens. Read the source before acting on an answer that carries money or safety.
- The score on the test set describes the questions in the set. A new document type or a new kind of question can score lower until cases are added.
- Retrieval answers from what is indexed. A document that was never scanned, a decision made by phone and a file the user cannot open are all outside it.
- Counts and totals across many records are a database query. A retrieval tool asked "how many" will guess unless it has a tool that runs the query.
- Prompt injection cannot be ruled out in a system that reads outside content. We restrict what tools can do, test before release and monitor.
- A connector depends on the source system's API. When the vendor changes it, the connector needs maintenance.
- We do not certify a build against any standard.
Our design references are the voluntary NIST AI Risk Management Framework 1.0 and the OWASP Top 10 for LLM Applications (2025). The OWASP list includes prompt injection (LLM01), excessive agency (LLM06) and vector and embedding weaknesses (LLM08).
- Microsoft Foundry
- Amazon Bedrock
- Claude and MCP
- OpenAI API
- Microsoft Copilot Studio
- Microsoft 365 Copilot connectors
- Claude Agent SDK
- OpenAI Agents SDK
- Microsoft Entra ID
What a build depends on in the rest of your IT
A build depends on identity, source permissions and a cloud tenant that are already in order. When 1 of them is weak, the scope says so, and we fix it first or narrow the build.
Identity
Every user and service signs in through Microsoft Entra ID or your identity provider, with multi-factor authentication for people.
Permissions on the source
Files and records are restricted to the people who should see them.
Tenant
An Azure or AWS account in your name, with logging on and a budget alert set.
The build and its operation
The index, connector or feature, with its test set, test reruns, cost reports and a named owner on your side.
After release the build is 1 more application for your IT team to manage. Its service accounts are in your directory, its secrets in your key vault, its logs in your log workspace and its cloud charges on your invoice.
Questions buyers ask
Where does our data go?
Your documents, the index and the logs remain in your cloud tenant. The passages needed to answer a question go to the model through your own Azure, AWS or vendor account under its business terms. The data-flow document we write before the build records what leaves each system, where it is processed and how long it is kept.
Who owns the code?
You do. Code, prompts and test sets are delivered to your repository.
Should we train or fine-tune our own model?
Rarely, for a mid-sized business. Fine-tuning is worth a look only when a narrow, repetitive task still fails the test set after retrieval and prompt work.
Can Microsoft 365 Copilot do this without a custom build?
Often, when the content is in Microsoft 365 and the users hold the paid Microsoft 365 Copilot licence. A build is for what Copilot cannot reach or cannot be made to follow: an archive on a file server, an ERP or TMS with no connector, or a rule that needs your own approval step.
What happens when it gives a wrong answer?
The citation shows the passage the answer came from, so the reader can check it. The user flags the answer, the log shows what was retrieved, and the case joins the test set so the same miss is caught on the next release. If a build misbehaves in production, your administrator turns it off with the switch in the runbook.
Does the model vendor train on our data?
By default, no, according to Anthropic's and OpenAI's own statements for their business products. Anthropic states, on a page dated August 18, 2026: "By default, we will not use your inputs or outputs from our commercial products" to train models. OpenAI states, as of December 2026, that it does not train on business data by default. Terms differ by account type and can change, so the data-flow document records the terms for the account your build uses, with their date.
Our ERP has no API. Can an assistant still work with it?
Sometimes. The options are a reporting copy of the database, a scheduled export or the vendor's own integration product, each subject to your licence. If none is permitted, we say so at the scope step and do not quote a connector.
Sources
- Model Context Protocol: what MCP is
- Model Context Protocol specification, revision 2026-07-28
- Model Context Protocol specification: authorization
- Microsoft Learn: Microsoft 365 Copilot connectors overview, November 16, 2026
- Microsoft Learn: extend your agent with Model Context Protocol in Copilot Studio, November 19, 2026
- OWASP Top 10 for LLM Applications 2025
Last reviewed December 2026. Written and reviewed by Muon Solutions staff.