For developers and teams choosing a pre-action gate for their AI coding agents
All four start from the same fact: prompt-level rules in CLAUDE.md or .cursorrules are suggestions the model can ignore under context pressure. To actually stop a force-push to main or a DROP TABLE, you need a gate that fires before the tool call executes — not a reviewer after the PR, not a git revert after the damage. ThumbGate, SigmaShake, and agent-guardrails all hook the PreToolUse boundary. APort sits one layer up, as an identity/authorization layer for organizations.
This page is not a hit piece. SigmaShake in particular is well-built software with a real lead on catalog breadth and enforcement modes. We'll tell you where it wins and where ThumbGate's learning loop is the better fit.
| Capability | ThumbGate | SigmaShake | APort | agent-guardrails |
|---|---|---|---|---|
| Pre-action gating (blocks before execution) | Yes — PreToolUse hooks | Yes — PreToolUse | Authz layer, not a tool-call gate | Yes — PreToolUse hooks |
| Learns rules from your corrections | Yes — one thumbs-down auto-writes the rule | No — rules installed or authored | No — policy authored | No — hand-written deny rules |
| Pre-built ruleset library | Domain skill packs (Stripe, Railway, DB migrations) | Large signed community ruleset hub | N/A | Built-in deny rules (terraform/db/k8s/cloud/git) |
| Enforcement modes | Block + structured error (no auto-substitute) | DENY / ASK / FORCE (safe-command substitute) | Allow/deny by scoped permission | Deny / ask |
| Multi-agent support | Claude Code, Cursor, Codex, Gemini, Amp, Cline, OpenCode | Claude Code, Cursor, Codex, Copilot, Gemini | Claude, LangChain, CrewAI, Cursor | Claude Code (settings.json hooks) |
| Team / cross-machine sync of learned rules | Yes — hosted sync (Pro) | Local-first; optional cloud | Yes — central org policy | No |
| Org identity / agent permissions | Not the focus | Local rulesets, not identity | Yes — agent "passport" + scoped perms | No |
| License / source | MIT core + hosted commercial layer | Commercial, closed-source | Commercial | Free, MIT |
| Pricing | Free tier; Pro $19/mo or $149/yr | Commercial paid tier (see their site) | No public pricing (design-partner) | Free |
| Maturity | Newer; learning loop is the bet | Polished, broad catalog | Early / design-partner stage | Minimal adoption |
Saying this plainly builds more trust than pretending otherwise:
release not main"). No community hub ships those. ThumbGate writes the rule the first time you thumbs-down the mistake.APort isn't really a head-to-head. It's an organizational authorization layer — agent "passports," scoped permissions, central policy and audit across Claude, LangChain, CrewAI, and Cursor. It positions as an additional authz layer for orgs and is at design-partner stage. If your problem is "which agents in my org are allowed to do what," APort solves a different problem than a tool-call gate. You could run APort for identity and ThumbGate for behavior.
roboticforce/agent-guardrails is a free, MIT set of hand-written deny rules plus PreToolUse hooks for terraform/db/k8s/cloud/git. A fine zero-cost starting point. No dashboard, audit, team management, or learning — if you outgrow a static deny list, that's the moment to look at ThumbGate or SigmaShake.
npx thumbgate init — detects your agent, wires PreToolUse hooks, no workflow change.SigmaShake gives you a catalog. ThumbGate writes the rule from your thumbs-down. Free tier, MIT core, two-minute install.