State machine guardrails for AI agents. We build tools that enforce disciplined execution — controlling which tools your agent can use in each phase, at the protocol layer.
The core product. A Rust engine + managed cloud service that constrains AI coding agents via per-state tool enforcement, edit guards, command whitelists, and approval gates. Ships as plugins for Claude Code, Codex, Cursor, opencode, and Pi.
With statewright: 10/10 task completions. Without: 2/10. Same models, same tasks.
PostgreSQL backend for PocketBase. Not a fork — a surgical overlay using Go build tags. Swaps SQLite for Postgres without patching upstream, giving you concurrent writes, multi-instance LISTEN/NOTIFY sync, and advisory-lock cron dedup. Tracks upstream releases cleanly.
Apache 2.0 (statewright) · MIT (pg-pocketbase)