telexed ~ c / 915033b7-ebbradar:50 · agent_toolLIVE
← back
NO.
#915033b7
Topic
AGENTS & TOOLS
Source
Hacker News · Show HN AI
Published
2026-05-12 14:24:55
Importance
★ 5/10 — radar 50
`Statewright`: visual state machines to constrain coding agents
FIG-9151:1

`Statewright`: visual state machines to constrain coding agents

Reliability improved by shrinking the agent's action space instead of scaling model size. Statewright enforces phase-by-phase tools and transitions, which makes smaller coding models more usable and cuts wasted tokens.

[ KEY POINTS ]
  1. Tool access is split by state: planning gets read-only tools, implementation gets scoped edits, testing gets test-only bash. That blocks step-skipping at the protocol level.
  2. Reported gains show up across qwen-coder, gpt-oss, and gemma4, with a useful threshold around 13B+ params. Below that, context retention breaks edits.
  3. Frontier models also benefit: Haiku, Sonnet, and Opus reportedly solve more reliably with fewer tokens. Better context discipline beats dumping everything into one prompt.
  4. The stack is a Rust state-machine engine plus MCP plugins for Claude Code, with Codex and Cursor planned. This is an orchestration-layer play, not a new model.
Originalgithub.com/statewright/statewrightRead original →

// related