An agent platform lets many teams create software that holds credentials, calls tools and acts on business systems, so a rollout that opens the builder to everyone first and adds identity, approval and logging later produces hundreds of agents nobody can account for. This playbook covers rolling out a platform for building and running AI agents (low-code builders, managed agent services and enterprise agent studios) in phases: discovery of agents already in use, the design decisions that are hard to change later, configuring the tenant before builders arrive, a controlled pilot, onboarding builders in waves, and handing over to steady-state operations. It is vendor-neutral and written for AI platform owners, security architects and identity teams. How these platforms work and where they fail is covered in the Low-Code Agent Platforms Guide, and the tenant settings themselves in Securing the agent platform itself; this page is about sequencing and does not repeat either.
Key takeaways
- Find the agents you already have. Coding assistants, framework prototypes and personal automations often hold tokens today; the platform should absorb them, not sit beside them.
- Decide the identity model before the first agent. One identity per agent, a named human owner, and a clear rule on when an agent acts as itself and when on behalf of a user.
- Configure the tenant before opening the builder. Connector allowlist, publishing approval, autonomy limits, stop control and log export must be working with zero production agents.
- Grow by risk tier, not by enthusiasm. Read-only internal agents first, write actions next, external-facing and multi-agent workflows last, each with a gate.
- Hand over a running control loop. Registry, quarterly owner review, re-testing after model changes and a decommissioning route are part of go-live, not a later project.
The rollout at a glance
| Phase | Goal | Exit criterion |
|---|---|---|
| 0. Discovery | Know which agents, tokens and tool connections exist today | Inventory of agents with owners, credentials and systems reached |
| 1. Design | Identity model, risk tiers, data rules and logging decisions | Approved design, policy and risk tier definitions |
| 2. Tenant baseline | Platform configured, integrated and monitored with no production agents | Baseline checklist passed; logs in the SIEM; stop control tested |
| 3. Pilot | Two or three tier 1 agents built by a trained team | Agents pass threat model, test plan and owner sign-off |
| 4. Waves | More builders and higher tiers onboarded through gates | All in-scope teams onboarded; legacy agents migrated or retired |
| 5. Operate | Steady-state review, re-testing and retirement | Quarterly review completed; metrics reported |
Phase 0: discovery
- Agents in code and pipelines: search repositories and CI for agent framework imports, model provider keys and MCP server configuration files. See How to find LLM API keys in code and CI.
- Delegated grants: list OAuth consents granted to AI applications in [identity provider] and the SaaS tenants agents reach; each is an agent identity whether or not anyone calls it one.
- Existing builders: find who is already building agents in other tools, what they built and what data it touches; these are your pilot candidates and your migration list.
- Systems agents will reach: for each target system record the owner, whether it supports scoped OAuth or workload identity, and which actions would be harmful if taken wrongly.
See the Shadow AI Discovery Guide for discovery methods.
Phase 1: design decisions
The NCSC and partner agencies' Guidelines for Secure AI System Development (November 2023) group their advice into secure design, development, deployment, and operation and maintenance. The decisions below belong to design and are the ones that cannot be changed cheaply after hundreds of agents exist.
Identity model
| Pattern | When to use | Control to require |
|---|---|---|
| Agent acts as itself (own non-human identity) | Scheduled or event-driven agents with no signed-in user | Unique identity per agent, short-lived credentials, least-privilege scopes, named owner |
| Agent acts on behalf of a user (delegated) | Assistants working inside a user's session | User's own permissions only, scoped consent, record of which identity applied to each action |
| Agent calls another agent | Multi-agent workflows | Each agent authenticated and authorised separately; no inherited rights |
| Agent uses a static secret | Target system offers nothing better | Held in [secrets manager] or the platform's encrypted store, never in instructions, with rotation date |
OWASP's Top 10 for Agentic Applications for 2026 lists ASI03 Identity and Privilege Abuse; the identity patterns above are the design response. See the Agent Identity and Access Guide and the AI Agent Authorisation Guide.
Risk tiers
| Tier | Example | Gate before production |
|---|---|---|
| 1. Read-only, internal users | Policy question answering over approved documents | Owner sign-off, retrieval permission test |
| 2. Write actions on internal systems | Ticket creation, calendar changes, password reset requests | Threat model, approval steps on sensitive tools, security review |
| 3. External users or regulated data | Customer service agent with account data | Tier 2 gate plus red team test, privacy review, legal sign-off |
| 4. High autonomy or multi-agent | Agents that chain other agents or run code | Tier 3 gate plus sandbox review and kill switch drill |
Data, autonomy and logging rules
- Data classes: which classes may enter prompts, memory and knowledge stores per tier; retrieval must respect the source system's permissions for the requesting user (OWASP LLM08:2025 Vector and Embedding Weaknesses).
- Autonomy limits: default caps on steps, tool calls, spend and run time per run (OWASP LLM10:2025 Unbounded Consumption), and the action types that always need human approval (OWASP LLM06:2025 Excessive Agency).
- Logging: run-level logs with agent identity, acting user, model version, tool calls and approvals, plus a separate admin event stream; decide who can read prompt content and for how long.
- Policy: adopt the Agentic AI Security Policy Template so tiers and gates have an owner.
Decision guidance: a small organisation with one platform and a handful of builders can keep two tiers (read-only and everything else) and rely on platform-native identity if it exports cleanly. A large organisation with many business units needs all four tiers, agent identities registered in [identity provider], and a central platform team that owns the gates. If you buy before designing, the platform's defaults become your design; use the Agent platform RFP template to test bidders against these decisions first.
Phase 2: tenant baseline
Configure everything below with no production agents in the tenant. The detailed settings are in Securing the agent platform itself; this phase is about doing them in the right order and proving them.
- Admin access: SSO with phishing-resistant MFA, separate roles for platform admin, connector admin, publisher and builder, and SCIM or group sync for joiners and leavers.
- Connector and tool allowlist: builders can use only approved connectors, MCP servers and APIs. Remote MCP servers are approved only if they validate token audience; the MCP security best practices state that servers must not accept tokens not issued for them (token passthrough).
- Model access: route model calls through the organisation's AI gateway where one exists, so agent spend and model use are attributed per agent. See the AI gateway rollout playbook.
- Publishing workflow: promotion from test to production requires a named reviewer; sharing outside the builder's team triggers review.
- Autonomy defaults and stop control: set the Phase 1 caps as tenant defaults, then test the platform-wide and per-agent stop and confirm tokens are revoked.
- Sandboxing: code execution runs isolated with network egress denied by default. See the AI Agent Sandboxing and Code Execution Guide.
- Logs first: run logs and admin events reach [SIEM] in a documented schema before the pilot starts. See the AI Agent Audit Log Schema Template.
- Registry link: every new agent creates or updates a record in the AI agent registry with owner, tier, identity, connectors and expiry.
Run the Agent platform health check at the end of this phase as the exit test.
Phase 3: pilot
- Pick the team and agents: one trained team building two or three tier 1 agents with an engaged business owner and real but low-risk data.
- Request and threat model: each agent starts from the AI agent onboarding request template (owner, purpose, tools, scopes, data classes, credential type, expiry) and a short threat model. See the AI Agent Threat Modelling Guide.
- Test before release: feed documents and tool results containing embedded instructions (OWASP LLM01:2025 Prompt Injection; ATLAS AML.T0051 LLM Prompt Injection), ask for data the test user cannot open, and attempt a tool call outside the agent's declaration (ATLAS AML.T0053 AI Agent Tool Invocation). Record results. See the AI Red Team Test Plan Template.
- Observe: run for [two to four] weeks with logs reviewed weekly, measuring tool call volume, approval rates, guardrail blocks and cost per run.
- Tune and sign off: adjust scopes down where tools were unused, fix guardrail false positives in report mode, then obtain owner and security sign-off.
Rollback
- Per-agent: unpublish or disable the agent, which revokes its credentials and stops in-flight runs; re-publish the previous version from version history once fixed.
- Per-connector: remove a connector from the allowlist to cut every agent off one system at once while the issue is investigated.
- Tenant-wide: the platform stop control, with a documented decision owner and the steps in the AI Agent Kill Switch and Containment Guide.
Phase 4: onboard builders in waves
- Train before access: builders complete a short course on the tiers, the request form, what never goes into instructions (credentials, access decisions) per OWASP LLM07:2025 System Prompt Leakage, and how to request a new connector.
- Wave by tier: open tier 1 to all trained builders, tier 2 to teams with a security champion, tiers 3 and 4 only through the platform team.
- Human approval for sensitive actions: payments, deletions, external email and permission changes need approval, and approvers see the proposed action and its parameters. See the Human-in-the-Loop for AI Agents Guide.
- Multi-agent workflows last: enable agent-to-agent calls only once single agents are stable; OWASP ASI07 Insecure Inter-Agent Communication and ASI08 Cascading Failures describe why. See the Multi-Agent and A2A Security Guide.
- Migrate or retire legacy agents: agents found in Phase 0 move onto the platform with new identities, and their old tokens and grants are revoked.
- Make the platform the default path: new agent requests go to the platform; direct framework deployments need an exception with an owner and an expiry.
Phase 5: operate and hand over
- Quarterly owner review: each owner confirms the agent is still needed, its scopes and connectors are still right, and its owner is still employed. See Agent Identity Recertification.
- Re-test after change: a model version change, new connector or new tool triggers the tier's test plan again before publication.
- Credential hygiene: static secrets rotate on schedule; see the AI Agent Credential Lifecycle Guide.
- Retirement: unused or orphaned agents go through the AI agent decommissioning checklist (grants, tool connections, memory, triggers, registry entry).
- Incident readiness: the SOC has playbooks for an agent taking unintended actions; see the AI Agent Observability and Incident Response Guide.
Detection and measurement
| Metric or signal | Why it matters | Target (our recommendation) |
|---|---|---|
| Production agents with a registry record, owner and tier | Accountability | 100% |
| Agents using a shared or human credential | Attribution and revocation | Zero |
| Tier 2+ agents published with a completed threat model and test record | Gate effectiveness | 100% |
| Agents running outside the platform (Phase 0 inventory re-run) | Bypass | Falling each quarter; all with approved exceptions |
| Time from stop decision to all runs halted and tokens revoked | Containment readiness | Measured in a drill each quarter, within the agreed limit |
| Agents unused for 90 days still active | Orphan exposure | Zero after each review |
Alert on tool calls to destinations not seen before for that agent, spikes in tool calls or spend per run, repeated guardrail blocks, attempts to call tools outside the declaration, and admin changes to connectors, autonomy limits or publishing settings outside change control.
Common failure patterns
- Builder first, controls later: the tenant is opened to everyone for a hackathon, and the agents built that week become production without gates.
- Agents borrow their builder's identity: agents run with the creator's own tokens, so access ends abruptly when the creator leaves, or worse, never ends.
- Every connector on by default: builders can reach any SaaS or MCP server, so the allowlist is written after the data has moved.
- Approval steps that the model can satisfy: confirmation is requested in the same chat the agent controls, rather than through a separate approver.
- No re-test after a model change: a provider model update changes behaviour, and agents tested once are never tested again.
- No retirement route: pilot agents and their grants outlive the project, leaving active credentials with no owner.
Framework mapping
| Activity | NIST SP 800-53 Rev. 5 | NIST CSF 2.0 | OWASP and ATLAS |
|---|---|---|---|
| Discovery and registry | CM-8 | ID.AM-02 | Not mapped |
| Agent identities and credentials | IA-5, AC-6 | PR.AA-01, PR.AA-05 | ASI03 |
| Connector allowlist and tool scopes | AC-3, AC-6 | PR.AA-05 | LLM06:2025; AML.T0053 |
| Publishing gates and change control | CM-3 | Not mapped | Not mapped |
| Pre-release testing | CA-8 | Not mapped | LLM01:2025; AML.T0051 |
| Run and admin logging | AU-2, AU-6, AU-11 | PR.PS-04 | Not mapped |
| Monitoring and alerting | SI-4 | DE.CM-01 | Not mapped |
| Stop control and incident handling | IR-4 | RS.MA-01 | ASI08 |
| Platform supplier and third-party components | SA-9, SR-3 | GV.SC-07 | LLM03:2025; ASI04 |
Practitioner checklist
- Inventory existing agents, tokens, delegated grants and MCP connections before opening the platform.
- Approve an identity model: one identity per agent, named owner, clear delegated versus own-identity rules.
- Define risk tiers with a gate for each, and assign who signs each gate.
- Configure admin roles, connector allowlist, publishing approval, autonomy caps and sandbox defaults with zero production agents.
- Prove the stop control and SIEM log flow before the pilot starts.
- Pilot with two or three tier 1 agents, each with a request form, threat model and test record.
- Train builders before access and open higher tiers only through the platform team.
- Migrate or retire agents found in discovery and revoke their old credentials.
- Run quarterly owner reviews, re-test after model changes and retire unused agents.
Standards and references
- OWASP: Top 10 for Agentic Applications for 2026
- OWASP: Top 10 for LLM Applications 2025
- Model Context Protocol: Security Best Practices
- NCSC: Guidelines for Secure AI System Development
- NIST: AI Risk Management Framework
- Cloud Security Alliance: AI Controls Matrix
- NIST: SP 800-53 Rev. 5, Security and Privacy Controls
- MITRE ATLAS: AI Agent Tool Invocation
Related NHI Mgmt Group resources: Low-Code Agent Platforms Guide · Securing Agent Frameworks Guide · Agent Frameworks vs Managed Agent Platforms · MCP Security Guide