Agent Fleets and Internal Platforms
Ten agents built ten different ways are ten things to secure, patch and explain. A platform makes the safe way the easy way.
A growing set of agents needs fleet management: a live inventory with owners, risk, dependencies and health, plus the ability to act on many agents at once. An internal agent platform offers shared identity, gateways, runtime, evaluation, tracing and cost controls through a self-service golden path. Run it as a product, start small and keep clear lines of responsibility.
What you will learn: how to run routine checks across a fleet, what a platform should provide, how to design a golden path with escape routes, how to divide responsibility and how to tell whether the platform helps.
Prerequisites: LLMOps, AgentOps and Maturity and Agent Inventory, Policy-as-Code and Release Gates.
The example runs in November 2026 with Python 3.13 and only the standard library. The agents, dates and retirement schedule in it are invented.
What changes with many agents
With one agent, its builder remembers everything. With fifty, nobody does. Questions that were trivial become hard: Which agents can send email? Which still use a model that is being retired? Which handled data for a particular customer last Tuesday? Who answers when one misbehaves at night?
Fleet management is the practice of answering such questions quickly and acting across agents: updating, restricting, pausing or retiring them.
| Fleet question | Data needed |
|---|---|
| Who is responsible? | Owner and backup per agent |
| What can it touch? | Identities, tools and permissions |
| What does it depend on? | Models, tools, indexes and their versions |
| Is it healthy? | Success, errors, safety events and cost |
| Is it still evaluated? | Date and result of the last run |
| Is it used? | Recent tasks and users |
Collect these from the systems that know them: the runtime, the identity provider, the gateways and the traces. A form that people fill in once will be wrong within weeks. The fields and states of an inventory are covered in Agent Inventory, Policy-as-Code and Release Gates.
Routine checks across the fleet
The example applies the same rules to every agent and lists the highest risk first.
"""Fleet checks over an agent inventory (invented records)."""
from datetime import date
TODAY = date(2026, 11, 28)
RETIRING = {"model-old": date(2026, 12, 15)}
AGENTS = [
{"name": "support", "owner": "care-team", "model": "model-new",
"last_eval": date(2026, 11, 20), "runs_30d": 12000, "risk": "medium"},
{"name": "invoice", "owner": "finance-ops", "model": "model-old",
"last_eval": date(2026, 11, 2), "runs_30d": 900, "risk": "high"},
{"name": "notes", "owner": "", "model": "model-new",
"last_eval": date(2026, 5, 11), "runs_30d": 40, "risk": "low"},
{"name": "pilot-bot", "owner": "labs", "model": "model-old",
"last_eval": date(2026, 6, 30), "runs_30d": 0, "risk": "low"},
]
MAX_EVAL_AGE = {"high": 30, "medium": 60, "low": 180}
def findings(agent):
out = []
if not agent["owner"]:
out.append("no owner")
age = (TODAY - agent["last_eval"]).days
if age > MAX_EVAL_AGE[agent["risk"]]:
out.append(f"evaluation {age} days old")
retire = RETIRING.get(agent["model"])
if retire:
out.append(f"model retires in {(retire - TODAY).days} days")
if agent["runs_30d"] == 0:
out.append("unused: candidate for retirement")
return out
if __name__ == "__main__":
order = {"high": 0, "medium": 1, "low": 2}
for agent in sorted(AGENTS, key=lambda a: order[a["risk"]]):
issues = findings(agent)
print(f"{agent['name']:<10}{agent['risk']:<8}{'; '.join(issues) or 'ok'}")
Output:
invoice high model retires in 17 days
support medium ok
notes low no owner; evaluation 201 days old
pilot-bot low model retires in 17 days; unused: candidate for retirement
The high-risk invoice agent depends on a model with a retirement date 17 days away, so it needs a tested successor now. The notes agent has no owner. The pilot bot has not run in a month and shares the retiring model; retiring it is likely cheaper than migrating it, but confirm with its owner first, because some jobs run only quarterly.
Run such checks automatically, open a task for each finding and agree what happens if it is ignored. A common rule: an agent with no owner loses effectful permissions after a notice period.
Acting on many agents
- Block a tool everywhere at the tool gateway when it is found unsafe.
- Revoke an identity to stop one agent immediately.
- Change a model route centrally, but only to models each agent has been evaluated with.
- Pause a class, such as all agents allowed to move money.
- Roll out a shared library fix through each agent's own pipeline and gates.
Central power is itself a risk: one wrong change affects everything. Apply bulk changes in stages, record them and rehearse the emergency ones.
A fleet health view
A dashboard for the whole fleet should answer "where do I look first?" Show one row per agent and sort by risk and trouble:
| Column | Source | Attention when |
|---|---|---|
| Task success | Outcome checks and feedback | Below its own target |
| Safety events | Policy engine and reports | Any serious event |
| Errors and stuck tasks | Runtime | Rising or past age limit |
| Spend against budget | Metering | Forecast above budget |
| Evaluation age | Evaluation service | Older than its risk level allows |
| Dependencies ending | Inventory and supplier notices | Inside the migration window |
Do not average success across agents. A healthy fleet average can hide one agent that fails most of its tasks, and different agents' success measures are not comparable.
What an internal agent platform offers
| Capability | What teams get | Control gained |
|---|---|---|
| Identity | A managed identity per agent | Least privilege and easy revocation |
| Model gateway | One interface, quotas and fallbacks | Approved models and usage records |
| Tool catalog and gateway | Reusable, documented tools | Central permission checks |
| Runtime | Queues, checkpoints, sandboxes | Consistent isolation and limits |
| Evaluation service | Datasets, graders and comparisons | Gates with kept evidence |
| Observability | Traces and dashboards from day one | Uniform incident investigation |
| Release pipeline | Ready-made stages | No unrecorded releases |
| Cost management | Budgets and per-team reports | Attribution and limits |
You rarely need to build all of this. Much comes from cloud services, managed agent platforms or existing company systems. The platform team's job is to assemble them into something coherent (Managed vs Custom Platforms and Total Cost).
The golden path
A golden path is a supported, documented way to get from idea to production. A new team should be able to create an agent project that already includes an identity, tracing, a pipeline, a starter evaluation set, budget limits and a runbook template.
Time how long a developer new to the platform takes to deploy a harmless example agent with tracing and an evaluation gate. Watch them do it and fix whatever stops them.
The path should be attractive more than compulsory. Make the few real obligations firm, such as identity, logging of actions and approval for high-risk tools, and leave choices elsewhere. Provide an exception route with a time limit, because a platform that cannot accommodate a legitimate need will be bypassed.
Interfaces that keep teams independent
A platform stays useful when teams can adopt pieces without adopting everything. Define small, stable contracts:
- Models: a gateway interface with named, approved routes, so a model can change behind a route after evaluation.
- Tools: a standard description and invocation protocol, such as the Model Context Protocol where it fits (MCP Gateways, Catalogs and Governance).
- Telemetry: an open trace format with agreed attribute names for agent, release, task and tenant.
- Evaluation: a plain case format that can be run locally and in the shared service.
- Deployment: a manifest declaring identity, tools, limits, budget and owner, checked automatically.
The deployment manifest is a particularly good control point. If the platform refuses to run an agent that declares no owner or budget, those fields are never missing from the inventory.
Support and enablement
Tools alone do not spread good practice. Offer office hours, worked examples, a shared set of safety cases that any team can reuse and short reviews at design time. Collect repeated questions and turn the answers into templates. When a team finds a new failure, add the check to the shared set so every other agent benefits from it.
Shared responsibility
| Topic | Platform team | Agent team |
|---|---|---|
| Availability | Gateways, runtime, shared stores | Own tools and task logic |
| Quality | Evaluation machinery | Cases, thresholds and results |
| Security | Identity, isolation, policy engine | Requesting least privilege, handling data correctly |
| Cost | Metering and limits | Budget and efficiency |
| Incidents | Platform faults | Behavior and user impact |
| Compliance | Evidence collection | Purpose, legal basis and review of their use |
Write this down before the first incident. "The platform has guardrails" must not become a reason for an agent team to skip its own risk review. Shared controls reduce risk; they do not judge whether a particular use is appropriate.
Run it as a product
The Cloud Native Computing Foundation's platform engineering maturity model looks at investment, adoption, interfaces, operations and measurement as separate aspects. The same lens suits an agent platform.
- Talk to the teams that use it and those that avoid it.
- Publish what is supported, planned and deprecated.
- Version interfaces and give notice before breaking changes.
- Offer reliability targets for shared services, because many agents depend on them.
- Fund it as ongoing work, not a one-time project.
Is the platform helping?
| Measure | Good sign |
|---|---|
| Time to first safe deployment | Falling |
| Share of agents on the golden path | Rising by choice |
| Agents with owner, current evaluation and budget | Near complete |
| Time to restrict or stop an agent | Minutes, and rehearsed |
| Incidents caused by shared components | Rare and learned from |
| Developer satisfaction and support load | Better satisfaction without growing queues |
| Cost of the platform per agent or task | Understood and reasonable |
Adoption forced by rule tells you little. Ask why teams leave the path; their reasons are the roadmap.
Build in stages
| Stage | Provide | Move on when |
|---|---|---|
| 1. Foundations | Model gateway, agent identities, tracing, inventory | Every agent is visible and stoppable |
| 2. Safe delivery | Template, pipeline, evaluation gates, budgets | New agents arrive with controls |
| 3. Reuse | Tool catalog, shared retrieval, sandboxes | Teams stop rebuilding the same parts |
| 4. Fleet operation | Automated checks, bulk controls, cost reports | Hygiene findings are closed routinely |
Do not begin the platform before you have at least a couple of real agents to learn from. Abstractions designed without users tend to solve the wrong problems.
Onboarding an existing agent
Agents built before the platform need a path in that does not require a rewrite:
- Register it with owner, purpose, risk and current permissions.
- Route model calls through the gateway and confirm that behavior is unchanged.
- Send traces, with sensitive fields handled before they leave the agent.
- Replace shared or personal credentials with its own identity and remove unused rights.
- Import its test cases and record a baseline.
- Move releases to the pipeline, keeping the old route until a rollback has been rehearsed.
Order the queue by risk, not by convenience. An old agent with broad access and no tracing matters more than a new low-risk one. Set a date after which unregistered agents lose gateway access, announce it early and help the teams that need it.
Retiring platform features
A platform also has to remove things. Mark a feature as deprecated, show who still uses it, offer the replacement with a migration example and give a date that respects the slowest legitimate team. Remove it completely when the date arrives, because unused paths still need patching and still carry access.
Platform risks
- Single point of failure: gateways need redundancy and a tested degraded mode (High Availability and Disaster Recovery).
- Concentrated access: platform credentials are highly valuable; separate duties and audit them.
- Lowest common denominator: hiding every provider difference can block useful features.
- Shared noisy neighbors: quotas per team prevent one from starving others (Scaling, Hardware, Quotas and Caching).
- Lock-in: keep prompts, cases and traces exportable.
An illustrative use of the fleet view
A supplier announces that a widely used tool interface will change next month. The platform team searches the inventory and finds every agent that declares that tool, with owners and risk levels. The gateway logs reveal one further caller that never declared it, which is added to the record and followed up. Owners receive a task with the new contract, a simulator and a date. High-risk agents migrate first. On the deadline, the old interface is blocked at the gateway, and the one team that missed it sees a clear error and not silently wrong data.
The same steps would take days of messages without an inventory fed by live systems.
Common mistakes
| Mistake | Better approach |
|---|---|
| Manual inventory | Collect from runtime, identity and gateways |
| Building a large platform before any agent | Grow from real needs |
| Mandating everything | Require a few controls and make the rest helpful |
| Assuming the platform owns agent risk | Write shared responsibility down |
| Bulk changes all at once | Stage them and keep a way back |
| Measuring only adoption | Measure delivery speed, control and satisfaction |
Checklist
- The inventory updates from live systems.
- Automated checks flag ownership, evaluation age, retiring dependencies and idle agents.
- Any agent or tool can be stopped quickly.
- A new agent starts with identity, tracing, gates and budget.
- Responsibilities are written for incidents, cost and compliance.
- Exceptions are time limited and recorded.
- Platform services have owners and reliability targets.
Frequently asked questions
How many agents justify a platform?
There is no fixed number; start sharing parts when teams repeatedly solve the same security and operating problems.
Should the platform force one framework?
Usually standardize interfaces, identity and telemetry, and support a small number of frameworks well.
Who pays for the platform?
Common choices are central funding, usage charges or a mix; whichever you choose, make costs visible.
Can a managed service be our platform?
It can provide much of the runtime and tooling, while ownership, policy, evaluation cases and inventory across services remain your job.
References and further reading
- CNCF platforms white paper.
- CNCF platform engineering maturity model.
- Team Topologies: key concepts: platform teams and their users.
- OWASP GenAI Security Project: shared risks worth central controls.
Next steps
Agent FinOps, Budgets and Chargeback
Attribute and govern spend across the fleet.
Enterprise Agent and Platform Reference Architectures
Fit the platform into enterprise architecture.
Agent Identity, Authorization and Secrets
Give each agent a manageable identity.