Show HN: Statewright – Visual state machines that make AI agents reliable
Category: devtools
Tags: ai-agents, state-machine, rust, mcp, guardrails
Score: 7.5/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 7)
Statewright is a Rust-based engine that uses visual state machines to constrain AI agent tool access per phase, making agents more reliable by reducing the problem space instead of relying on larger models. It integrates with multiple coding assistants via MCP, shows significant performance gains on local models, and offers a unique approach to agent guardrails with per-state enforcement, bash discernment, and conditional transitions.
Target audience: backend devs, devops, ai engineers
Repository: https://github.com/statewright/statewright · Rust · 3 stars
View on Hacker News