Quick Start
User Interaction Flow
Configuration Levels
Security Features
| Feature | Protection |
|---|---|
blockInjection | Stops prompt manipulation |
blockPII | Filters personal data |
blockPatterns | Custom regex filters |
maxTokens | Limits output size |
rateLimit | Controls request frequency |
API Reference
GuardrailConfig
Complete configuration options
Guardrails Module
Full module documentation
Best Practices
Enable in production
Enable in production
Always enable security for user-facing agents.
Limit tool access
Limit tool access
Only give agents the tools they actually need.
Monitor usage
Monitor usage
Track interactions to detect unusual patterns.

