Use a pre-built agent when the work is high-volume, pattern-driven, and covered by the platform’s existing data and playbooks. Use custom orchestration when the trigger, context, or required output lives outside the platform boundary. Mature teams often run both, keeping standard alert triage inside the platform and reserving bespoke reasoning for cross-system or org-specific workflows.
Choosing the Right Automation Boundary for Investigations
Security teams get the best results when they match the investigation shape to the automation model. A pre-built agent is strongest when the question can be answered from known telemetry, repeatable playbooks, and bounded decision logic. Custom orchestration is better when the investigation depends on external context, business-specific evidence, or a sequence of checks that crosses tools and owners. The practical issue is not whether automation is possible, but whether the investigation can be trusted to stay inside a controlled decision boundary.
For agentic security workflows, the boundary matters because a pre-built agent usually assumes a narrower set of inputs, outputs, and permissions than a custom workflow. That makes it easier to govern, but also easier to misapply when the investigation needs judgment about exceptions, uncertain context, or nonstandard escalation. Teams that force every case into a canned agent often create blind spots where the platform can triage symptoms but not resolve the real question. For a useful comparison of the risks around autonomous tooling, see the OWASP Top 10 for Agentic Applications 2026.
In practice, many security teams discover the boundary problem only after a workflow has already been approved in the wrong layer, rather than through intentional design.
What Pre-Built Agents Handle Well, and Where They Stop Being Enough
Pre-built agents work best when the investigation is repetitive, the evidence is already available in the same platform, and the output can be standardised. That usually includes alert deduplication, enrichment, simple triage, known-bad correlation, and first-pass containment recommendations. The value is speed and consistency: the agent can repeatedly apply the same reasoning without rebuilding logic for each case.
They stop being enough when the investigation requires a broader trust context. If the answer depends on identity data in another system, asset ownership in a CMDB, approval history in a ticketing platform, or a business exception that is not represented in the security platform, the built-in agent will usually flatten the case too early. At that point, the question is no longer “can the platform automate it?” but “can the platform see enough of the situation to automate it safely?” That distinction is especially important in agentic environments, where poor scoping can cause an agent to act decisively on incomplete evidence. The main operational constraint is that the agent can only be as reliable as its native data boundary and playbook logic, so cross-system investigations often need orchestration that can pause, query, compare, and escalate before any action is taken. Guidance from the CSA MAESTRO agentic AI threat modeling framework is useful here because it frames agent behaviour in terms of trust boundaries and interaction risk.
- Use the pre-built agent for investigations with stable inputs, known decision paths, and low variation in response.
- Use orchestration when the investigation must join evidence across security, identity, operations, or business systems.
- Keep pre-built agents on tasks where a wrong answer is disappointing, not dangerous.
- Move to orchestration when the workflow could trigger access changes, containment, or customer impact.
Where this guidance breaks down is when the investigation appears routine but the surrounding context changes the meaning of the evidence.
Common Edge Cases in Mixed Agent and Orchestration Models
Tighter automation boundaries often increase operational overhead, so teams have to balance speed against the cost of handling exceptions outside the platform.
One common edge case is the “mostly standard” investigation that becomes special because of a single missing signal. In that case, a pre-built agent may still be the right first step, but only if it can hand off cleanly once it detects a gap. Another edge case is a platform that can enrich evidence well but cannot express the organisation’s escalation rules. That is not just an implementation nuisance, it is a governance problem, because the organisation may be delegating judgement to software that cannot represent its real decision criteria.
There is also a real trade-off between portability and control. Pre-built agents are easier to deploy and to reason about, but they can encourage a false sense of completeness. Custom orchestration is more demanding to build and maintain, yet it is often the only safe option when the investigation depends on external approvals, legal context, or a chain of custody that must be preserved. Where the workflow is tied to AI-assisted actions, the relevant risk framing aligns with NIST AI Risk Management Framework, especially around valid context, trustworthy outputs, and accountable oversight.
For teams making the split, the practical rule is to keep standardised, low-variance triage inside the platform and reserve orchestration for investigations whose decision quality depends on context the platform cannot already prove it has.
Risk and Threat Considerations
The material risk is not simply automation failure, but overconfident automation in the wrong layer. If a pre-built agent is used for a case that needs external context, it can miss escalation conditions, mis-rank severity, or take action based on incomplete evidence. In agentic workflows, that creates a control problem as well as a detection problem, because an automated investigation can move from analysis into response before a human notices the missing context.
Failure mechanism: The recognised mechanism is scope mismatch. A bounded agent uses its native telemetry and playbooks to produce a result, while the real investigation depends on data, approvals, or business rules outside that boundary. Attackers and negligent processes both benefit from that gap, because the workflow may treat an under-informed answer as authoritative and either suppress escalation or trigger the wrong response.
Impact: The likely consequence is missed compromise, delayed containment, or an unnecessary operational action taken on the basis of partial evidence. In more mature environments, the deeper impact is governance drift, where the team no longer knows which cases are genuinely automated and which are being approximated by a platform shortcut.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST AI RMF, NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 — Agentic Oversight and Containment | Agent boundary choice is central to safe autonomous investigation design. |
| Recommendation — Constrain agent actions to bounded, reviewable investigation steps with explicit escalation triggers. | ||
| NIST AI RMF | GOV — Govern | The decision hinges on AI governance, accountability, and scope of use. |
| Recommendation — Define approval and oversight rules for when agentic investigations may act versus hand off. | ||
| CSA MAESTRO | T1 — Threat Modeling for Agentic Systems | Investigations must be modelled around trust boundaries and cross-system interactions. |
| Recommendation — Model the workflow boundary and identify where evidence or authority leaves the platform. | ||
| NIST CSF 2.0 | PR.PT-3 — Platform Security and Control Use | Automation choice affects how securely security processes are executed and constrained. |
| Recommendation — Apply consistent control boundaries so automated investigations do not exceed intended authority. | ||
| CIS Controls v8 | 8.2 — Audit Log Management | Investigation automation depends on trustworthy evidence and traceability across systems. |
| Recommendation — Retain investigation logs and handoff evidence so automated decisions remain auditable. | ||
Practitioner Guidance
Decision rule: Treat the platform boundary as the first design test. If the investigation can be answered from native telemetry with a repeatable playbook and a low-consequence output, keep it in the pre-built agent. If the answer depends on cross-system context, exception handling, or an approval chain, move it to orchestration.
What to verify: Before you assign a workflow to a pre-built agent, verify that it can actually see the evidence needed to reach the decision, not just the evidence that is easiest to ingest. Teams often underestimate how often the decisive signal sits outside the security stack.
What good looks like: A mature split has clear handoff rules, documented escalation triggers, and a small number of high-volume investigations kept inside the agent while bespoke workflows remain explicit and reviewable. That is usually better than forcing a single model to handle everything.
Practitioner takeaway: The right choice is usually not “automation versus orchestration” but “bounded automation for known patterns, orchestration for cases that require proof across boundaries.”
Related resources from NHI Mgmt Group
- How do security teams decide which agent identity controls belong in orchestration versus infrastructure layers?
- How should security teams decide whether an AI agent gets human or non-human identity?
- How do security teams decide whether to let AI agents automate investigations?
- How do security teams decide whether an AI agent should keep access to regulated data?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 6, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org