Build or buy an agent platform?
Own the parts that hold your rules, your record, and your systems. Adopt the parts you could replace in a week.
Most institutions should neither build a general agent platform from scratch nor make a bought one the center of their system. Own the parts that hold the institution's rules, its record, and its connections to its own systems. Adopt or buy the parts that can be replaced without rewriting those. The deciding question for each part is simple: if it had to be replaced next year, what else would have to change?
What an “agent platform” contains
The word covers several layers, and the build-or-buy answer differs for each:
- Model access: calling one or more language models, and serving them where they run in-house.
- The loop: the code that passes the model its context, runs the tool it chose, and decides whether to continue.
- Tools and connectors: the agent's way into core systems, document stores, and other services.
- The harness: which tools the agent may use and with what access, its approval limits, its stop conditions.
- The record: every model call, tool call, input, and output, kept where the institution can audit it.
- Evaluation: the graded test set and the runs that check each change against it.
- Operations: releases, versions, alerts, and the switch that sends work back to a fallback.
What buying gets you, and what it can cost
A bought platform gets a first agent running quickly, with parts that many teams have already tested. That is worth a great deal when the work is a demonstration.
The costs appear later. One widely cited engineering guide warns that frameworks “often create extra layers of abstraction that can obscure the underlying prompts and responses, making them harder to debug,” and suggests starting with model APIs directly, since “many patterns can be implemented in a few lines of code.” A reviewer who cannot see the exact prompt and response cannot explain a wrong outcome. Some platforms run only as their vendor's hosted service, which regulated work may not be allowed to use. And when the platform holds the limits, the record, and the connectors in its own format, leaving it means rebuilding all three.
What building costs
Building means owning everything: the loop, retries, tracing, the release process, and their upkeep. A team that writes its own tracing format or tool protocol spends its effort on parts that are not specific to its work, and the next team inherits them. Building the whole platform is rarely the point. Building the parts that are the institution's own usually is.
Six questions before choosing
- Where must it run? If the work must run on the institution's own premises, cut off from outside networks where required, every part has to install there and run without calling a vendor's service.
- Who writes the limits, and where are they enforced? The institution writes them. They are enforced outside the model, in the harness and in each tool's permissions, in a form its reviewers can read.
- Can you see every step? The record should flow into the tracing and monitoring stack the institution already runs. OpenTelemetry's conventions for generative AI give model and tool calls shared names, so an agent reads like any other service.
- Can you change the model? A new model should mean a rerun of the test set, not a rewrite of the harness.
- Are tools reached through an open standard? The Model Context Protocol (MCP) is “an open protocol” that “provides a standardized way to connect LLMs with the context they need.” A tool written to it is not tied to one platform. The specification also says that “MCP itself cannot enforce these security principles at the protocol level”: a protocol carries a request, and the harness still decides whether the agent may make it.
- Who runs it after handover? The institution's team needs to read the code, the configuration, and the record without a vendor in the room.
A split that usually works
- Own: the harness and its limits, the connectors into core systems, the graded test set, the record and its retention, the runbook and the shutdown switch.
- Adopt: open protocols such as MCP, the tracing stack the institution already runs, a model-serving engine, and open-source libraries whose code its team can read.
- Buy: a product that does one narrow job well, runs in the institution's environment, and hands its data back in an open format.
None of this makes a platform unnecessary. It decides which side of the line each part sits on, and keeps the parts that carry the institution's authority on its own side.
The exit test
Before committing to anything, ask one question: could the institution's team move the harness, the test set, and the record to another runtime within a few weeks? If the answer is yes, the platform is a tool the institution uses. If the answer is no, the platform holds the institution's rules, and the choice deserves a second look.
Whatever runs the loop, authority stays outside it. An agent never grants itself a tool, a permission, or an approval. Inside the written limit the work is completed and every step is logged; above it, a named person approves or rejects the prepared decision.
Sources
- Anthropic, Building effective agents Notes that frameworks can add abstraction that obscures the underlying prompts and responses, and suggests starting with model APIs directly.
- Model Context Protocol specification (version 2025-06-18) An open protocol for connecting language-model applications to data sources and tools; states that the protocol cannot enforce its security principles itself.
- OpenTelemetry, Semantic Conventions for Generative AI Shared names for the spans, metrics, and events of generative AI clients, so model and tool calls fit an existing tracing stack.
Track
Agentic AI systems
Act
Type
Architecture
Tags
- agents
- platform
- architecture
- harness
Glossary
Related