Summary

Statewright surfaced as an open-source guardrail layer that constrains which tools an AI agent can use in each workflow phase, with support across agents including Claude Code, Codex, Cursor, opencode, and Pi. The project turns workflow control into an explicit state machine instead of relying only on prompts and post hoc observability.

What changed

Statewright launched a workflow guardrail system that enforces per-state tool, command, and transition constraints for AI agents.

Why it matters

Reliability is becoming a bigger bottleneck than raw model capability in agent workflows. Statewright’s approach reflects a broader shift toward deterministic control layers that narrow tool access and force structured transitions, especially for coding agents that need planning, editing, and testing phases to stay separated.

Evidence excerpt

The Statewright repository describes state machine guardrails that control which tools an AI agent can use in each phase and says a workflow can be defined once and enforced across multiple coding agents.

Sources