TealState addresses OWASP ASI-05 (Improper Output Handling) and ASI-08 (Excessive Agency) — the risks that agent context grows unbounded, contains unverified information, or is manipulated to influence future decisions.
Why This Matters
Compliance alignment: NIST AI RMF (MEASURE 2.5 — AI system performance), ISO 42001 (A.8.3 — data quality), EU AI Act Article 10 (data governance).
Class
StateOptions
evaluateMutation()
Evaluate whether a context mutation (adding, updating, or removing an entry) is permitted.ContextMutation
MutationDecision
Context Size Governance
TealState enforces hard limits on context size to prevent token overflow and cost explosion:Eviction Strategies
Provenance Metadata
Every context entry carries provenance metadata that tracks its origin, trust level, and lineage:Querying Provenance
Context Budget
Integration with TealEngine
Related Documentation
- TealEngine v1.3 API — Engine integration
- TealTemporal — Session TTL and time constraints
- TealMonitor v2 — Cost implications of context size
- NHI Governance — Per-agent context isolation
- TealDrift — Context growth as drift signal

