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.

BeginnerIntermediateExpert · 12 min read · Last updated:

In short

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.

Versions used

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.

Beginner From one agent to a fleet

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 questionData 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:

ColumnSourceAttention when
Task successOutcome checks and feedbackBelow its own target
Safety eventsPolicy engine and reportsAny serious event
Errors and stuck tasksRuntimeRising or past age limit
Spend against budgetMeteringForecast above budget
Evaluation ageEvaluation serviceOlder than its risk level allows
Dependencies endingInventory and supplier noticesInside 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.

Intermediate The platform

What an internal agent platform offers

Agent teamstask logic, prompts, cases and user experience
Self-servicetemplates, documentation and command line
Shared servicesmodel and tool gateways, evaluation, tracing
Runtimeexecution, state, queues and sandboxes
Controlsidentity, policy, audit, budgets and inventory
CapabilityWhat teams getControl gained
IdentityA managed identity per agentLeast privilege and easy revocation
Model gatewayOne interface, quotas and fallbacksApproved models and usage records
Tool catalog and gatewayReusable, documented toolsCentral permission checks
RuntimeQueues, checkpoints, sandboxesConsistent isolation and limits
Evaluation serviceDatasets, graders and comparisonsGates with kept evidence
ObservabilityTraces and dashboards from day oneUniform incident investigation
Release pipelineReady-made stagesNo unrecorded releases
Cost managementBudgets and per-team reportsAttribution 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.

A useful test

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.

Expert Running the platform

Shared responsibility

TopicPlatform teamAgent team
AvailabilityGateways, runtime, shared storesOwn tools and task logic
QualityEvaluation machineryCases, thresholds and results
SecurityIdentity, isolation, policy engineRequesting least privilege, handling data correctly
CostMetering and limitsBudget and efficiency
IncidentsPlatform faultsBehavior and user impact
ComplianceEvidence collectionPurpose, 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?

MeasureGood sign
Time to first safe deploymentFalling
Share of agents on the golden pathRising by choice
Agents with owner, current evaluation and budgetNear complete
Time to restrict or stop an agentMinutes, and rehearsed
Incidents caused by shared componentsRare and learned from
Developer satisfaction and support loadBetter satisfaction without growing queues
Cost of the platform per agent or taskUnderstood and reasonable

Adoption forced by rule tells you little. Ask why teams leave the path; their reasons are the roadmap.

Build in stages

StageProvideMove on when
1. FoundationsModel gateway, agent identities, tracing, inventoryEvery agent is visible and stoppable
2. Safe deliveryTemplate, pipeline, evaluation gates, budgetsNew agents arrive with controls
3. ReuseTool catalog, shared retrieval, sandboxesTeams stop rebuilding the same parts
4. Fleet operationAutomated checks, bulk controls, cost reportsHygiene 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:

  1. Register it with owner, purpose, risk and current permissions.
  2. Route model calls through the gateway and confirm that behavior is unchanged.
  3. Send traces, with sensitive fields handled before they leave the agent.
  4. Replace shared or personal credentials with its own identity and remove unused rights.
  5. Import its test cases and record a baseline.
  6. 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

MistakeBetter approach
Manual inventoryCollect from runtime, identity and gateways
Building a large platform before any agentGrow from real needs
Mandating everythingRequire a few controls and make the rest helpful
Assuming the platform owns agent riskWrite shared responsibility down
Bulk changes all at onceStage them and keep a way back
Measuring only adoptionMeasure 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

Next steps