What problem does it solve?
AI agents in healthcare, finance, and legal domains must inform users without crossing into prescribing, diagnosing, or giving professional advice. This Skill helps you verify that your agent enforces those boundaries, including under adversarial pressure.
Core Features & Use Cases
- Boundary Scenario Tests: Write scenario tests with user simulators and judge agents that verify disclaimers, escalation handling, and refusal of prescriptive requests.
- Red Team Adversarial Testing: Use RedTeamAgent to probe for compliance failures via gradual escalation, authority claims, emotional appeals, and hypothetical framing.
- Domain-Specific Criteria: Provides reusable judge criteria for healthcare, finance, and legal agents, plus a structured process for fixing failures without overfitting the system prompt.
- Use Case: A team building a health information chatbot uses this Skill to confirm the agent never recommends specific medications, even when a simulated user insists or claims to be a nurse.
Quick Start
Ask the agent to create compliance boundary and red team scenario tests for my healthcare chatbot using @langwatch/scenario.