Expand description
Multi-Agent Defense Pipeline (R-AS-04).
Implements multi-agent coordination for defense-in-depth: trust-level-based scanning, privilege boundary enforcement, communication policy control, and inter-agent message injection detection.
§Example
use llmtrace_security::multi_agent::{
AgentId, AgentProfile, MultiAgentDefensePipeline, TrustLevel,
};
let mut pipeline = MultiAgentDefensePipeline::new();
let profile = AgentProfile::new(
AgentId("planner".into()),
"Planner Agent",
TrustLevel::Trusted,
);
pipeline.register_agent(profile);Structs§
- AgentId
- Unique identifier for an agent in the multi-agent system.
- Agent
Profile - Profile describing an agent’s capabilities and constraints.
- Communication
Policy - Controls which agents are allowed to communicate with each other.
- Delegation
Chain Result - Result of validating an entire delegation chain.
- Delegation
Check - Result of a single delegation check between two agents.
- Flow
Validation - Result of validating whether a message may flow between two agents.
- Inter
Agent Message - A message passed between agents in the multi-agent system.
- Message
Scan Result - Result of scanning an inter-agent message for threats.
- Multi
Agent Config - Configuration for the multi-agent defense pipeline.
- Multi
Agent Defense Pipeline - Orchestrates multi-agent security: communication policy enforcement, privilege boundary checks, and message content scanning.
- Privilege
Boundary - Enforces privilege boundaries between agents, preventing escalation.
- Process
Result - Full result of processing an inter-agent message through the pipeline.
Enums§
- Message
Type - Type of inter-agent message.
- Permission
Level - Permission level for inter-agent communication.
- Scan
Intensity - How deeply to scan inter-agent messages.
- Trust
Level - Trust level assigned to an agent, determining the depth of security scanning.