Interface: CrossAgentOutputPayload
Defined in: packages/agentos/src/core/guardrails/ICrossAgentGuardrailService.ts:44
Payload for cross-agent output evaluation.
Provides information about both the source agent (producing output) and the observer agent (running the guardrail).
Properties
agencyId?
optionalagencyId:string
Defined in: packages/agentos/src/core/guardrails/ICrossAgentGuardrailService.ts:60
Agency ID if both agents belong to the same agency. Useful for agency-level policy enforcement.
chunk
chunk:
AgentOSResponse
Defined in: packages/agentos/src/core/guardrails/ICrossAgentGuardrailService.ts:65
The output chunk from the source agent.
context
context:
GuardrailContext
Defined in: packages/agentos/src/core/guardrails/ICrossAgentGuardrailService.ts:70
Guardrail context for policy decisions.
observerAgentId
observerAgentId:
string
Defined in: packages/agentos/src/core/guardrails/ICrossAgentGuardrailService.ts:54
The agent running this guardrail (the observer/supervisor).
sourceAgentId
sourceAgentId:
string
Defined in: packages/agentos/src/core/guardrails/ICrossAgentGuardrailService.ts:49
The agent that produced this output chunk. Use this to apply agent-specific policies.