Interface CrossAgentGuardrailContext

Context for cross-agent guardrail evaluation.

interface CrossAgentGuardrailContext {
    sourceAgentId: string;
    observerAgentId: string;
    agencyId?: string;
}

Properties

sourceAgentId: string

The agent whose output is being observed

observerAgentId: string

The agent running the cross-agent guardrails

agencyId?: string

Agency ID if agents are in the same agency