Show HN: Statewright – Visual state machines that make AI agents reliable
Summary
Statewright introduces visual state machines that act as guardrails to control which tools AI agents can use at each phase, aiming to reduce brittleness and improve reliability. The Rust-based engine enforces per-state tool access, environment scoping, and conditional transitions, with MCP integrations to support multiple agents. The project emphasizes an open-source approach, guardrail concepts, and a quick-start workflow with examples and documentation.