Constraint Systems

Define boundaries and rules that govern agent behavior through hard and soft constraints

Hard Constraints: Non-Negotiable Rules

Hard constraints are absolute boundaries that agents cannot violate under any circumstances. When a hard constraint is triggered, the agent's action is immediately blocked or terminated.

Key Characteristics

  • Non-negotiable: No exceptions or trade-offs allowed
  • Immediate enforcement: Violations blocked in real-time
  • Binary outcome: Either allowed or denied, no partial compliance
  • Critical for safety: Prevent dangerous or costly failures

Interactive: Hard Constraint Simulator

Toggle constraints on/off and test scenarios to see how hard constraints block violations:

Active Constraints

Test Scenarios

⚠️
When to Use Hard Constraints

Use hard constraints for critical boundaries: financial limits, security policies, regulatory compliance, resource quotas, and time deadlines. These prevent catastrophic failures like budget overruns, data breaches, or system crashes. Hard constraints should be rare but strictly enforced.

← Previous: Introduction