How long it takes to build an AI agent for a manufacturer or distributor

A first AI agent takes about four weeks as a pilot on one job, then 8 to 12 more weeks to reach production with your systems connected. Without a pilot, add one to two weeks of discovery at the start. This guide shows the work week by week, what connecting your ERP takes and what the agent costs to run.

Pick-and-place gantry with vacuum grippers above a conveyor on a bright, clean automated assembly station
Weeks 1 to 4Pilot on one jobMap the job with the people who do it, build the agent on 30 to 50 real cases, test it, and decide whether it goes to production.
Next 8 to 12 weeksProduction buildConnect the ERP and the other systems, log every step, test against real cases and roll out with a person approving the output.

How to build an AI agent

These steps assume you start with one job in one system. Each step produces something you can check before the next one begins.

  1. Pick one job with a known cost. Choose work your team repeats every week, such as turning emailed requests for quote into draft quotes or keying purchase orders into your ERP. Write down who does it and how many hours it takes each week. Then estimate what one mistake costs you.
  2. Collect real examples. Pull 30 to 50 cases from the last quarter, each with the answer your team gave. These cases become the test set that tells you whether the agent is right.
  3. Decide what the agent may read and change. Start with read access only. The agent drafts, and a person approves every action that changes a record or reaches a customer.
  4. Choose a model and where it runs. Anthropic recommends Claude Opus 5.5 as the starting point for most work, and you can move steps to a cheaper model once your test set shows it holds up. If the job touches personal information, check where the provider processes it before you send any, as the privacy section explains.
  5. Build the first version against your examples. Connect it to one system, run it on the test set and fix the most common failures. Show the output every week to the people who do the job.
  6. Run it beside your team. For two to four weeks, the agent drafts while your team works as usual. Compare time and accuracy against the manual process, then decide whether the agent may write into your system.
  7. Keep testing after launch. Rerun the test set whenever you change a prompt or a model, and add every case that a reviewer corrects.

The sections below expand these steps into a pilot and a production build, with the time each one takes.

Bring one job to the first conversation

Tell Derik which job takes the most hours in your week and which system it runs through. He will tell you whether a pilot fits and which system to connect first.

Start a conversation

What counts as an AI agent

Vendors use the word agent loosely, so settle the terms before you pay for a build.

Term What it does When it fits
Chatbot or assistant It answers messages with one model call per turn and takes no action in other systems. It fits questions about a manual or a policy and simple customer questions.
Workflow agent It runs a task from start to finish. It calls the model several times, reads and writes other systems, and stops for a person before any consequential action. It fits request-for-quote intake, order entry, invoice matching and document extraction.
Robotic process automation (RPA) It records clicks on a screen and replays them, so it breaks when the screen changes. It fits older systems that have no API.
Rules-based automation It moves data between systems with if-this-then-that rules in tools such as Zapier or Power Automate. It fits fixed transformations that need no reading of language.
Multi-agent system Several narrow agents work under a coordinating agent, and each one has its own tools. It fits large workflows where one agent cannot hold all the context it needs.

For a first build, choose a workflow agent: one job, one team, access to one system and a person at the checkpoint. A multi-agent system adds coordination work that a single job rarely needs.

Field observation

Answer two questions before anyone writes code. What does this job cost in hours each week? What is the worst result if the agent gets it wrong at 3 a.m. on a Tuesday? The first answer shows whether the job is worth automating. The second tells you where a person must check the work.

Three ways to scope the build

A build takes one of three shapes. Each has its own timeline and deliverables, so pick the one that matches how well you already know the job.

1. Pilot · 4 weeks

A pilot proves the pattern on one job before you commit to more. It is a working system on your real data with a deliberately narrow scope. It fits when the job takes at least five hours of someone's week and you want evidence before you approve a production build. If you already know the scope, skip the pilot.

The pilot leaves out integration with several systems, single sign-on, production dashboards and long-term operating contracts. That keeps it easy to stop.

2. Production · 8 to 12 weeks

Production turns the pilot into a system that runs every day. It connects to your ERP or CRM, keeps an audit trail, runs its test set on every change and stops for a person at each consequential action.

The depth of the integration sets the timeline. A clean QuickBooks Online account paired with HubSpot fits in about 8 weeks. A multi-company SAP Business One server on your premises, with custom user-defined fields, takes closer to 12. Plan for 12 weeks when the data needs cleaning, when part of the system runs on premises or when the approval step needs sign-off from senior management.

3. Operating retainer · ongoing

A retainer keeps the production system healthy after launch. Model providers publish retirement dates for their models, as Anthropic does for each Claude model, and connectors break when an upstream API changes.

The retainer grows with the number of jobs the agent runs. One job with light monitoring is the smallest version, and several jobs with a new build each quarter is the largest.

Shape Timeline Output
Pilot 4 weeks A working agent on one job and a go or no-go on production
Production 8 to 12 weeks A connected system with a test set, an audit trail, tracing and an approval step
Operating retainer Ongoing Monitoring and weekly tests, plus one new job each quarter

Which shape fits your job?

Tell Derik about one job and the hours it takes each week. He will tell you whether a pilot, a production build or a retainer fits, and which system to connect first.

Start a conversation

Week by week: a 4-week pilot

This is the weekly plan for a pilot. Holidays and staff availability can shift it by a few days.

Field observation

The first version of a pilot agent rarely ships as it is. Two rounds of changes in weeks 2 and 3 are normal. Expect a demo on your real data every week. Three weeks without one is a warning sign.

Week by week: an 8 to 12 week production build

This plan assumes the pilot ran cleanly and ended with a go. Without a pilot, add one to two weeks of discovery at the start.

What connecting to your systems takes

Most of the build time goes into connecting the agent to your systems. The four most common targets follow, with the time each one usually takes.

QuickBooks Online

The QuickBooks Online Accounting API authorizes apps with OAuth 2.0. The Intuit App Partner Program guide splits calls into two categories. Core calls cover most data-in operations, such as creating or updating invoices, bills, customers and vendors, and they are unmetered. CorePlus calls cover most data-out operations, such as reading accounts and reports, and they are metered.

The free Builder tier includes 500,000 CorePlus calls a month and blocks calls above that. The paid Silver, Gold and Platinum tiers charge a monthly program fee and include more CorePlus calls. To publish an app, you complete a self-attested assessment questionnaire, and a listing on the Intuit App Marketplace adds further reviews, including a security review.

Most of the friction sits in token handling for each connected company file and in the tax lines on invoices. Plan 3 to 5 days for a clean company file.

SAP Business One

SAP describes the SAP Business One Service Layer as a REST API built on HTTP and OData that gives web access to Business One services and objects. It is the path for an agent that runs in the cloud.

Most of the time goes into mapping your company's user-defined fields and approval procedures. A multi-company setup multiplies that work, and a server on your premises needs a secure network path, such as a VPN. Plan 2 to 4 weeks for a moderately customized system, and longer for a heavily customized multi-company one.

HubSpot

HubSpot publishes which of its APIs each subscription tier includes, and rate limits differ by tier. Some APIs, such as CRM forecasts, need Sales Hub Professional or higher, so check the tier table against the records your agent needs before you scope the work.

Most of the work is mapping custom properties, especially in an account where sales and marketing have added fields for years, and staying inside bulk-operation rate limits. Plan 3 to 5 days for a clean account.

Microsoft 365

Microsoft Graph exposes REST APIs for Outlook, SharePoint, OneDrive, Teams, calendars and Dynamics 365 Business Central. Most Graph APIs are standard APIs, available within documented usage thresholds at no cost beyond your user licenses. A smaller set of high-capacity and advanced APIs can be metered, and those require an Azure subscription.

Power Automate Premium is charged per user per month, paid yearly. You need it only when Power Automate runs the workflow, and an agent that calls Graph directly does not.

Most of the time goes into tenant admin consent and the choice between delegated and application permissions, after you register the app in Microsoft Entra ID. An agent that runs unattended usually needs application permissions, and a larger tenant takes longer to approve them.

How model usage is charged

Model usage is usually the smallest line in an agent's budget. Integration and testing take more. Providers charge per million tokens in US dollars, with one rate for input and another for output, and Anthropic's pricing page puts one token at roughly 0.75 of an English word. That page and OpenAI's pricing page list the rates, and Claude API pricing covers every Claude model. The table shows what each model suits, from Anthropic and OpenAI, checked on September 27, 2026.

Model Typical use
Claude Haiku 4.5 Anthropic's fastest model, for high-volume sorting and simple extraction
Claude Sonnet 5 Most agent steps, once your test set confirms it holds up
Claude Opus 5.5 Anthropic's recommended starting point for most work
Claude Fable 5.1 Demanding reasoning and long, multi-step work
OpenAI gpt-6-sol A second provider for most agent steps
OpenAI gpt-6-luna Low-cost sorting and routing on OpenAI

Two features lower the bill in production:

Here is the arithmetic for one example. Suppose an agent reads 500 supplier invoices a month, and each invoice uses about 10,000 input tokens and 1,000 output tokens on Claude Sonnet 5. That comes to 5 million input tokens and 500,000 output tokens a month before caching. To price that volume, multiply it by Claude Sonnet 5's rates per million tokens on Claude API pricing. The token counts per invoice are an assumption for illustration, so measure your own on the pilot's test set.

Testing, tracing and the approval checkpoint

Testing tells you whether the agent is right. A test set is a versioned list of real cases, each with the input, the expected output and a scoring rule, and it runs on every prompt or model change. Start with 50 to 100 cases and grow the set as reviewers correct the agent.

Tracing tells you what the agent did. It logs every model call, tool call, cost and response time, so you can follow one request from start to finish. LangSmith and Langfuse both trace agents, and Langfuse is open source and self-hostable. Braintrust turns patterns in production traces into test cases.

The approval checkpoint needs four properties:

  1. Right-sized scope. People review consequential decisions, such as posting an invoice or changing a price. Reviewing every output would erase the time the agent saves.
  2. Confidence routing. The agent reports how sure it is. Confident outputs get a quick approval, and uncertain ones get a full review with the reasoning shown.
  3. A full audit trail. The record shows who reviewed, when, what changed and why. It also helps you answer a request under section 12.1 of Quebec’s private sector privacy act when a decision was based exclusively on automated processing.
  4. A feedback loop. Every reviewer correction goes into the test set as a new labelled case.
Field observation

The habit that most often separates a shipped agent from a stalled pilot is labelling 50 real cases in the second week. Without them, nobody can tell whether a change helped.

Privacy rules and where the data goes

Where the model runs. Check where a provider processes data before an agent handles personal information.

For a job that involves personal information about people in Quebec, plan the section 17 privacy impact assessment around where the model processes the data. Many shop-floor jobs, such as reading a drawing for a quote, involve little or no personal information, which makes this step smaller.

Build these into the project plan:

  1. Privacy impact assessment. Complete it before an agent touches personal information in production. The Commission d’accès à l’information oversees the Quebec act.
  2. Explainable decisions. Design the audit trail and reviewer screen so you can give the principal factors behind a decision on request.
  3. Breach procedure. Add the steps for a privacy breach to the production runbook.

Funding programs that share the cost

Several Canadian programs share the cost of AI work with smaller companies. Each one has its own rules, so check eligibility before you fix the scope.

Mitacs Accelerate

Mitacs Accelerate places a graduate student with your company for four or six months. You contribute $7,500 per internship and Mitacs matches it, for a $15,000 research award, and the intern receives at least $10,000. For a postdoctoral fellow, each side contributes $10,000. Mitacs reviews a proposal in about six to eight weeks, so apply well before the start date. It fits a research question inside the build, such as a new testing method or a model tuned to your parts data.

NRC IRAP

NRC IRAP gives financial support to incorporated, for-profit companies operating in Canada with up to 500 full-time equivalent employees that develop innovative, technology-driven products or services. It does not fund day-to-day operating costs or purely commercial activities. NRC IRAP also runs AI Assist, which the federal government launched in October 2024 with $100 million for Canadian SMEs that build or incorporate generative AI and deep learning solutions. To start, a senior executive calls NRC IRAP's contact centre, which can connect you with an industrial technology advisor.

Scale AI

Scale AI reimburses up to 40 percent of eligible expenses on approved projects that adopt or commercialize AI in value chains, as a grant that you do not repay. A project needs more than one participant, and at least one must be a small or medium enterprise with fewer than 500 full-time employees. Projects typically last 12 to 18 months.

NGen AI4M Challenge

NGen's 2025 AI4M Challenge reimbursed 40 percent of eligible costs on projects between $1.5 million and $8 million. Each project paired a manufacturing company with an AI company, and at least one of them had to be a small or medium enterprise. Its final application deadline was July 17, 2025, so check NGen's funding page for the next call.

Combining programs

Each program sets its own rules on combining it with other government funding. Ask about stacking limits when you apply, and design the project to fit the program from the start.

What stops agent projects before they ship

Four patterns stall agent projects, and each one has a fix you can apply before the build starts.

  1. No defined job. The project starts as a wish to use AI and never names a task. Write down the job and what it costs you each week before any build begins.
  2. No test set. Nobody can tell whether a prompt change helped, so decisions rest on impressions and get reversed. Label 50 real cases in the second week and version the set from then on.
  3. No checkpoint on consequential actions. The agent posts a wrong invoice or sends a wrong message, and your team stops trusting it. Design the approval step before anyone writes code that changes a record.
  4. Integration creep. The build starts with one job in one system and grows because each integration seems to need the next one. Limit production to one to three systems and hold the rest for later quarters.

Frequently asked questions

How do I build an AI agent?
Pick one job with a known weekly cost and collect 30 to 50 real examples with the answers your team gave. Start the agent with read access only, build the first version against those examples, and connect it to one system. Run it beside your team for two to four weeks and keep a person on every consequential action. Rerun the examples after every change.
What drives the cost of building an AI agent?
The depth of the integration drives most of it. A pilot that proves one job takes four weeks. A production build that writes into an ERP or CRM with an audit trail and a human checkpoint takes 8 to 12 weeks. Model usage is a small part, charged per million tokens, and Anthropic’s pricing page lists the rate for each model.
How long does it take to build an AI agent?
A pilot that proves one job takes four weeks. A production build connected to your systems takes 8 to 12 weeks. Integration depth explains the difference, because a clean QuickBooks Online account connects faster than a multi-company SAP Business One server with custom fields. Building the test set and the approval step takes about one week of the production timeline.
What is the difference between an AI agent and a chatbot?
A chatbot answers a message and stops. An AI agent runs a task from start to finish: it can call the model several times and read from and write to systems such as QuickBooks or Microsoft 365. It stops for a person before any consequential action. Because it acts on your systems, an agent needs a test set and an approval step that a chatbot does not.
Can an AI agent connect to QuickBooks Online?
Yes. The Intuit App Partner Program guide describes Core calls, which create and update records such as invoices, bills, customers and vendors, and CorePlus calls, which read accounts and reports. Core calls are unmetered. The free Builder tier includes 500,000 CorePlus calls a month and blocks calls above that. Publishing an app requires a self-attested assessment questionnaire.
Can an AI agent connect to SAP Business One?
Yes, through the SAP Business One Service Layer, a REST API built on HTTP and OData that gives other applications web access to Business One objects. Most of the work is mapping your user-defined fields and approval procedures. Plan 2 to 4 weeks for a moderately customized system.
Can an AI agent keep our data in Canada?
Data at rest can stay in Canada, and where processing happens depends on the provider. From the Canada (Central) region, Amazon Bedrock serves Claude through cross-region inference with US or Global routing, and AWS says data at rest stays in that region while inference processing happens in the destination region. Anthropic’s own API offers global and US inference only.
Is there funding to cost-share an AI agent build?
Yes. Mitacs Accelerate matches your $7,500 per four- or six-month internship for a $15,000 research award. NRC IRAP supports research and development at incorporated companies with up to 500 employees. Scale AI reimburses up to 40 percent of eligible expenses on collaborative AI adoption projects. NGen’s 2025 AI4M Challenge reimbursed 40 percent on projects pairing a manufacturer with an AI company.
What eval framework should I use for an AI agent in production?
Keep tracing, which records what the agent did, apart from testing, which checks whether it was right. LangSmith and Langfuse trace agents, and Langfuse is open source and self-hostable. Braintrust turns production traces into test cases. At minimum, keep structured logs and a versioned test set of at least 50 labelled cases.
What kills AI agent projects before they ship?
Four patterns: no defined job, no test set, no human checkpoint on consequential actions, and integration that spreads to every system at once. Each one has a fix before the build starts. Write down the job and its cost, label 50 real cases in the second week, design the approval step before any code writes to a record, and limit production to one to three systems.

Sources

Contact

Hand your first job to an agent

Tell Derik which job takes the most hours in your week and which systems it runs through. He will tell you whether an agent could be doing it in weeks on the systems you already pay for.

Prefer to talk? Book a meeting.

Your message goes to Derik Lawlis, the founder.