Information checked October 13, 2026.
The build-or-buy question for an agentic AI system is not a choice between “custom and powerful” or “packaged and limited.” It is a decision about which control planes your organization must own—and which ones a vendor can operate better.
The realistic options are:
- Build: own the application, orchestration, integrations, state, controls, and operations.
- Buy: configure a managed product and accept its execution, identity, data, and release model.
- Hybrid: own the task contract, policy, evaluations, and differentiating logic while buying models, runtimes, observability, connectors, or workspace surfaces.
For many teams, hybrid is the useful default hypothesis, not an automatic conclusion. The right answer comes from evidence gathered on one representative workflow.
First decide whether you need an agentic system
Anthropic’s engineering guidance on effective agents recommends starting with the simplest design that succeeds. A single model call is enough for a bounded transformation. A deterministic workflow fits known steps. An agent becomes relevant when the route cannot be specified in advance and the model must choose tools using environmental feedback.
A system begins when that agent needs durable state, multiple integrations, shared use, permissions, evaluations, monitoring, deployment controls, and recovery. Multiple agents are not the threshold. One agent with production consequences already needs system engineering.
Before comparing vendors or frameworks, write a task contract:
- input and trigger;
- accepted outcome and evidence;
- allowed sources and actions;
- human approval points;
- stop, time, and budget limits;
- recovery and escalation behavior;
- data classification and retention;
- accountable owner.
If those fields are unclear, a procurement scorecard will only compare demos.
Build, buy, and hybrid: what each option really owns
| Layer | Build | Buy | Hybrid |
|---|---|---|---|
| Task and product behavior | Team owns | Configured within product | Team owns differentiating logic |
| Model and orchestration | Team selects and operates | Vendor operates | Split by component |
| Identity and permissions | Team integrates and enforces | Vendor capabilities and tenant controls | Enterprise identity plus vendor runtime |
| Connectors | Team builds or licenses | Vendor catalog | Buy common, build critical |
| State and artifacts | Team-defined stores | Vendor-defined storage and export | Portable system of record plus managed execution |
| Evaluation | Team must build | Vendor may provide tools, team still defines success | Team owns test cases; infrastructure may be managed |
| Reliability and recovery | Team owns end to end | Contract plus product controls | Explicit boundary and shared runbook |
| Release cadence | Team controls | Vendor controls | Versioned interface between both |
“Build” does not eliminate vendors: it commonly relies on hosted models, clouds, databases, identity providers, and frameworks. “Buy” does not eliminate engineering: integrations, permissions, acceptance testing, incident response, and change management remain yours.
Decide by task shape and strategic differentiation
Buy is a strong candidate when the job is common, the product already supports required systems, configuration can express the policy, and switching the implementation would not erase a competitive advantage. Examples include internal search, meeting preparation, standard ticket triage, and drafting inside a supported suite—provided the product passes your data and permission review.
Build is a stronger candidate when the agent embodies proprietary decision logic, needs specialized tools, must run in a constrained environment, or requires latency, availability, audit, and recovery behavior that a managed product cannot guarantee.
Hybrid fits when the business logic is distinctive but the infrastructure is not. A team might own the qualification policy, tool schemas, evaluation set, and system of record while using a managed model, durable runtime, or connector service.
Do not confuse unfamiliarity with differentiation. “Our process is complicated” is not proof that custom orchestration creates value. Conversely, a vendor checkbox is not proof that a product can represent your actual exceptions.
Governance: the responsibility cannot be outsourced
NIST’s AI Risk Management Framework organizes risk work around Govern, Map, Measure, and Manage. Those functions still apply when software is purchased. A vendor may supply controls and evidence, but your organization decides the purpose, acceptable risk, human role, and whether deployment should continue.
For each option, identify:
- system owner and risk owner;
- intended use and prohibited use;
- affected users and data classes;
- model, tool, and connector inventory;
- least-privilege identities;
- approval requirements by action impact;
- evaluation and monitoring owner;
- incident, rollback, and offboarding procedures;
- vendor change and deprecation process.
Never grant broad workspace, mailbox, CRM, browser, or database access merely to simplify setup. Separate read, draft, reversible write, and consequential write. A bought platform should expose enough control to scope identities and inspect actions. A custom system should enforce authorization outside the model loop.
Integration: count semantics, not connector logos
A connector catalog can hide the difficult work. Evaluate each required integration across:
| Question | Why it matters |
|---|---|
| Authentication model | User delegation, service identity, and shared credentials create different risk |
| Permission granularity | A connector may expose an entire account for one narrow task |
| Read and write coverage | “Supports CRM” may mean search only, not the operation you need |
| Event behavior | Polling, webhooks, ordering, and duplicate delivery affect correctness |
| Error contract | Retries need stable error types and external IDs |
| Rate and payload limits | Demo-sized inputs may not represent production |
| Versioning | API or schema changes can break flows silently |
| Audit evidence | You need to know what identity changed which record |
Build a thin integration test for the real operation. Include expired credentials, missing permissions, duplicate events, schema changes, partial responses, and a timeout after a successful write.
Evaluation: use one acceptance suite for every option
The comparison is invalid if a custom prototype and a managed demo receive different tasks. Create one dataset with normal, edge, adversarial, and recovery cases. Run every option in a safe environment.
Anthropic’s current agent evaluation guide distinguishes the task, repeated trials, graders, and the full trajectory. OpenAI’s agent evaluation documentation similarly recommends trace grading for tool choice, handoffs, instruction violations, and end-to-end behavior.
Measure:
- accepted outcome rate and human correction time;
- evidence and source quality;
- tool and argument accuracy;
- permission or policy violations;
- intervention and escalation rate;
- duplicate or missing side effects;
- latency and cost per accepted outcome;
- recovery time;
- time for a second operator to explain the run.
Repeat stochastic cases. A single successful demo proves that a path exists, not that a service is reliable.
Total cost of ownership: model the workload, not a generic price
Avoid fixed claims such as “buy takes days” or “custom maintenance is a percentage of build cost.” TCO depends on workload, control requirements, team skills, and contract terms.
Use a scenario model:
Build TCO = discovery + engineering + evaluation + infrastructure + model use + integrations + security review + on-call + maintenance + migrations + opportunity cost.
Buy TCO = licenses + usage or credits + premium models + connectors + implementation + governance + review labor + overage + support + exit cost.
Hybrid TCO includes both plus boundary work: interface versioning, duplicated logs, vendor coordination, and reconciliation.
Calculate cost per accepted business outcome at expected, low, and peak volume. Include failure and review rates. Validate prices against a dated vendor quote rather than embedding volatile figures in the architecture decision.
Cost is not only spending. Time-to-learning matters during exploration; predictable unit economics matters at scale; scarce engineering capacity has an alternative use.
Lock-in: ownership of code is not portability
Custom systems can be locked to a cloud, model API, framework, database schema, or a few engineers’ undocumented knowledge. Managed products can lock value into proprietary workflows, conversations, permissions, connector mappings, and run history.
Assess portability by artifact:
| Asset | Portability test |
|---|---|
| Task contract and policy | Can another runtime enforce it? |
| Prompts and tool schemas | Can they be exported in usable form? |
| Evaluations | Can the same cases run elsewhere? |
| Project data and artifacts | Are formats, relationships, and permissions preserved? |
| State and run history | Can incomplete work and evidence be reconstructed? |
| Identity and credentials | Can access be revoked and reassigned cleanly? |
| Business logic | Is it separated from vendor-specific nodes? |
An export button is not an exit plan. Prove portability by rebuilding one representative task on a second stack and restoring a small export.
A defensible hybrid architecture
A hybrid design works when ownership boundaries are explicit. One common pattern is:
- the company owns the task contract, policies, evaluation set, and system-of-record IDs;
- a managed model or agent runtime plans and executes within a narrow tool catalog;
- company-controlled gateways authenticate, authorize, validate, and log tool calls;
- consequential writes pause for approval;
- durable state records checkpoints and external side-effect IDs;
- the interface is versioned so the runtime can be replaced.
This is not automatically cheaper or simpler. It is valuable when it keeps differentiated logic and governance portable while outsourcing commodity operations.
Run a build-versus-buy pilot
Use a time-boxed pilot with the same task and acceptance suite.
1. Establish the baseline
Measure the current human or workflow process: accepted outcomes, review time, failure modes, volume, and service expectations.
2. Select finalists
Include the smallest credible build and one or two managed options. Add a hybrid only if there is a clear ownership boundary.
3. Complete governance and integration gates
Verify identity, permissions, retention, residency if required, audit evidence, incident handling, data use terms, and exit provisions. Test the actual write path.
4. Run shadow and draft modes
Use real inputs without consequential writes, then allow reviewed drafts or reversible actions.
5. Exercise failures and change
Revoke access, duplicate an event, change a schema, interrupt a write, replace the model, and export the artifacts. Record recovery effort.
6. Compare evidence
Score quality, risk, integration fit, operator burden, TCO scenarios, and exit readiness. Document trade-offs and a review date instead of declaring a permanent winner.
Decision matrix
| Evidence from the pilot | Direction |
|---|---|
| Commodity task, strong product fit, acceptable controls | Buy |
| Proprietary behavior, specialized environment, strict operational guarantees | Build |
| Differentiating logic with commodity infrastructure | Hybrid |
| Requirements still changing and little evaluation data | Buy or prototype narrowly; defer irreversible architecture |
| No option meets permission or recovery requirements | Do not deploy yet |
For the implementation lifecycle behind the custom option, see how to build an AI agent. To distinguish managed project context from process automation, compare workflow builders and AI workspaces. For evaluating service providers rather than products, use the custom AI agent development guide.
The decision is about durable ownership
Build when control over behavior and operations is strategically necessary and the organization can operate it. Buy when the task is well served by a managed product and its governance and exit terms pass inspection. Use hybrid when a clean boundary lets you own policy, evidence, and differentiation without rebuilding commodity infrastructure.
Whichever option wins, keep the task contract, evaluation set, permission model, run evidence, and exit plan under your control. Those are the durable assets of an agentic system.
Related posts
DeepSeek DSH Superagent: From GitHub Requests to Agent Workflows
Understand how DeepSeek's DSH Superagent prototype turns authorized GitHub and Feishu requests into coding tasks, and which workflow…
What Is Gemini Agent? Google's Universal Work Agent Explained
Gemini Agent is Google's universal work agent for persistent tasks, multi-agent coordination, model routing, and work across business…
AI Agent Connectors Explained: MCP, OAuth, and Permissions
Learn how AI agent connectors use MCP, OAuth, scopes, resource permissions, and approval gates—and how to evaluate a connector before it…
https://floatboat.ai/blog/building-agentic-ai-systems-build-or-buy



