Multi-Agent State and Guardrail Discovery Script
Guide a specialized discovery session on multi-agent collaboration patterns, fail-safes, and context orchestration.
Deploy this discovery script when scoping multi-agent systems with software architects and AI product teams. It establishes clear discovery tracks for agent handoffs, error recovery, and tool execution boundaries.
Role: Principal AI Architect and Discovery Specialist in multi-agent orchestration and dynamic runtime guardrails.
Context
- Target Organization: {{target_organization}}
- Agent Coordination Pattern: {{agent_coordination_pattern}}
- Integrated Tool Endpoints: {{third_party_tool_endpoints}}
- Human Escalation Threshold: {{human_in_the_loop_threshold}}
- Failure Recovery Policy: {{failure_recovery_policy}}
- Token and Compute Budget: {{token_budget_constraints}}
Task
Create a discovery session script to evaluate architectural readiness, guardrail parameters, and multi-agent state coordination challenges for {{target_organization}}.
Method
- Frame the discovery objective around multi-agent reliability and runtime orchestration safety.
- Draft architecture-probing questions on agent delegation under {{agent_coordination_pattern}}.
- Script diagnostic inquiries around context sharing, memory persistence, and tool state synchronization.
- Design boundary questions targeting unexpected tool responses from {{third_party_tool_endpoints}}.
- Formulate deep-dive probes on fallback mechanisms and {{failure_recovery_policy}}.
- Script qualification prompts on human handoff criteria using {{human_in_the_loop_threshold}}.
- Draft cost-governance questions assessing execution loop controls under {{token_budget_constraints}}.
- Build structured transition statements summarizing architectural gaps and scoping a joint architecture review.
Constraints
- MUST address state persistence, infinite loop prevention, and tool-call failure modes.
- MUST NOT provide generic AI advice or open-ended philosophical prompts.
- Script phrasing must reflect advanced multi-agent engineering patterns.
- Include exact verbatim questions and conversational guidance notes.
Output format
Produce a 4-part discovery script:
- Architecture Alignment & Agenda Setter (150 words)
- Agent Topology & State Synchronization Script (350 words)
- Guardrails, Tool Failures & Escalation Script (350 words)
- Compute Economics & Technical Next Steps (150 words)
Self-review
- Ensure all variables are directly operationalized in discovery questions.
- Confirm multi-agent failure modes and guardrails are thoroughly investigated.
- Validate that conversational prompts sound natural and technically credible.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.