Strategy
Buy or build your company's AI agents: a framework for mid-market
· · 4 min read
Most mid-market companies should do neither pure buy nor pure build. Buy the platform and the commodity workflows. Build only the thin layer where your data or process really is different. And decide workflow by workflow, because one company-wide call guarantees you'll overbuy some and overbuild others.
Why per workflow
You have a lean engineering team, real compliance exposure and no room for a 12-month platform bet. An invoice-matching agent and a pricing agent don't have the same advantage profile, so they shouldn't get the same answer. For the wider version of this choice, see Build, buy or partner: write the reasons down.
The scorecard
Score each workflow from 1 to 5 on five questions. A higher score always pushes toward build.
Question 1 means 5 means Weight
Differentiation Commodity, rivals do the same Core to how you win 25%
Data and integration depth Standard SaaS connectors enough Proprietary data, legacy systems 25%
Control requirements Vendor controls are enough Custom audit, residency or approvals 20%
Internal capability No engineers or eval skills Team that can build, test and run agents 15%
Volume and economics Low volume, per-seat pricing OK High volume, per-task pricing erodes 15%
Set the weights before you score. Otherwise the numbers drift toward whatever you already wanted. Multiply each score by its weight, add them up, and read the path off this scale.
Weighted score Path
1.0 to 2.4 Buy
2.5 to 3.4 Buy and configure
3.5 to 4.2 Compose: buy the platform, build custom agents and tools on top
4.3 to 5.0 Build
Two overrides. If internal capability scores 1, don't build: you can't run what you can't test. If data depth or control scores 5 and no vendor can meet it, don't buy.
The four paths
- Buy means a vendor agent used as shipped. Illustrative fits: IT helpdesk, meeting notes, basic support. A business owner and IT run it.
- Buy and configure means a vendor platform with your prompts, rules and connectors. Illustrative fits: sales operations, finance close, support triage. An operations lead owns it.
- Compose means a platform or model API plus your own tools, data connectors and evaluations. Illustrative fits: quote-to-cash, claims, underwriting prep. Product and engineering own it.
- Build means your own orchestration and evaluations. Illustrative fit: core decision logic that differentiates you. Engineering owns it, with an executive sponsor.
Cost over three years
Look at three years, not the first invoice. Buying costs licenses (per seat or per task), integration work, change management and price bumps at renewal. Building costs engineers, model usage, evaluation and monitoring, security review, on-call time, and upkeep as models and APIs change. Build estimates usually skip evaluation and upkeep, so ask for both. And price any vendor plan at ten times today's volume.
What to check before you buy
- Single sign-on and role-based access
- An audit log of every action the agent takes
- Data residency, and a clear term that your data isn't used for training
- Model portability, so you aren't locked to one provider
- Export of prompts, workflows and logs if you leave
- Support for agent identity, such as scoped credentials and signed requests
- Vendor stability and acquisition risk
Guardrails when you build
- Write the success metric and an evaluation set before any code.
- Give the agent least-privilege access to systems and data.
- Require a human to approve payments and external messages.
- Set spend and rate caps, and keep a kill switch.
- Version prompts and tools, and name one accountable owner.
Governance on every path
Keep an inventory of every agent: owner, systems touched, permissions, last review date. Review it quarterly. Write a clear policy on unsanctioned agents, the personal assistants employees connect to work email or calendars. They carry the same access and data risks as a purchased tool.
What to measure
- Cost per completed task compares buy and build on the same basis.
- Accuracy against a human baseline shows whether quality justifies the spend.
- Human override rate shows real autonomy, and should fall over time.
- Cycle time captures the speed benefit.
- Incidents and escalations track risk exposure.
If the override rate hasn't dropped after 90 days, change the path or stop. Don't extend the pilot.
Ninety days
- Days 1–30. List candidate workflows, score them, pick two.
- Days 31–60. Pilot one buy-or-configure workflow and one compose workflow, each with a written success metric.
- Days 61–90. Review against the metrics. Scale, switch path or stop.
Keep vendor contracts to 12 months or less, with exit rights, until the results are in.
Mistakes to watch for
- Building because the project is interesting, not because the workflow differentiates you
- Buying per-seat licenses for work that scales per task
- Launching without an evaluation set
- Ignoring exit terms and data portability
- Making one company-wide decision instead of one per workflow
The scorecard and weights are our own framework, not a published standard, and there are no market statistics here. Run the final call past legal, security and finance.
© 2026 Nautilus Tech Labs LLC. All rights reserved. You may quote short passages with a link to this page.