agentAssert — Design-by-Contract for AI Agents
2.4M agents deployed in production
Zero behavioral guarantees.
Your AI agents are live. They handle money, health data, legal decisions.
And not a single one has a contract.
The Solution
Agent Behavioral Contracts
Four components. Complete control. Mathematical guarantees.
Preconditions
What must be true before the agent acts
Invariants
What must remain true throughout execution
Guarantees
What must be true when the agent finishes
Recovery
What happens when a contract is violated
ABC = R
The Implementation
One contract. Complete control.
Define preconditions, invariants, guarantees, and recovery in a single YAML file.
The agent cannot violate what it cannot ignore.
# Agent Behavioral Contract
agent: financial-advisor
version: "1.0"
before:
# Conditions that must be true before the agent runs
- user must be authenticated
- compliance status must be approved
during:
# Rules enforced on every response in real time
- responses must not contain SSN patterns
- responses must not contain credit card numbers
- session cost must stay under $5.00
severity: critical
action: block
after:
# Guarantees checked when the agent completes
- response must include regulatory disclaimer
- all PII references must be redacted
on_failure:
retries: 3
fallback: escalate_to_human
message: "Connecting you with a human advisor." PII blocked — regex patterns catch SSNs and card numbers before they reach the user
Spending capped — hard limit terminates the session at $5.00
Disclaimer enforced — every response must include a compliance disclaimer
The Dashboard
See violations. Watch recovery.
Real-time monitoring with four key metrics. Violations are caught.
Recovery is automatic. Reliability is measured, not claimed.
Compliance C(t)
Drift D(t)
Reliability Θ
Recovery Rate
The Mathematics
Not claims. Proof.
Lyapunov stability theory guarantees convergence.
The agent always returns to compliant behavior.
The Scale
Pipelines with guarantees.
Multi-agent composition with proven isolation.
A violation in one agent never propagates to the next.
Data Ingestion
Validates input format and schema
COMPLIANTAnalysis Agent
Attempts to include PII in output
VIOLATIONReport Generator
Never receives the violation
PROTECTEDThe Evidence
Tested. Measured. Proven.
100% detection accuracy across all models. Real measurements, not claims.
Your agents deserve contracts.
Peer-reviewed. Patent pending. Built for enterprise.