The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
//! Prompt injection detection and enforcement.
//!
//! This module centralizes prompt-injection checks so user-provided prompts
//! can be screened before any model or tool execution path.
mod detector;
pub use detector::{
enforce_prompt_input, scan_tool_definition, PromptEnforcementAction, PromptEnforcementContext,
PromptEnforcementDecision, PromptInjectionReason, PromptInjectionVerdict,
ToolDefinitionScanHit,
};
#[cfg(test)]
#[path = "prompt_injection_tests.rs"]
mod tests;