Beta — Live  Beta launch pricing on every paid tier — ends ~Aug 8, 2026; standard pricing applies after. Pro from $29/mo · Team from $79/mo. Free tier never expires.
Live @sunaiva/gate v2.0

The constitutional hook engine for AI coding agents.

A local, deterministic MCP server that intercepts agent actions before they execute and enforces your rules — not as documentation the model can ignore, but as a decision it can't route around.

$npm install -g @sunaiva/gate
Compare tiers

What it is

Enforcement that runs on your machine.

The Gate intercepts AI agent actions before they execute and enforces constitutional rules. 100 rules ship with the package: 31 enforced locally (23 strict-constitutional + 8 recommended-default) and 69 premium rules served via backend on the paid tier.

Fail-safe by default. Local rules enforce fail-closed — errors exit with a structured audit entry, never silently pass. Opt-in fail-open available via SUNAIVA_GATE_FAIL_OPEN_ON_ERROR=1 for evaluation environments.

No account required

The free tier needs no signup, no API key, no onboarding step.

No network dependency

31 local rules evaluate entirely on-device. Works offline.

Audit log on disk

Every decision is appended to a JSONL log at ~/.sunaiva/audit/audit.jsonl.


How it works

From tool call to verdict in under a millisecond.

Agent fires a tool call — Bash, Write, deploy, publish, and similar actions.
Gate intercepts via MCP protocol before the action reaches your system.
Evaluates 31 local rules instantly — deterministic, under 1ms.
If a constitutional rule matches, block with a structured remediation hint.
If premium is configured and cloud rules are required, an optional backend call runs in under 50ms.
Action proceeds or is blocked with a machine-readable reason.

    

The free tier · 31 local rules

Free & local: the 31 rules run entirely on your machine. Nothing leaves.

Free for personal and evaluation use under BUSL-1.1. The 31 local rules evaluate on-device and your audit log is plain JSONL on disk. A representative sample of the constitutional categories — not exhaustive.

Action governance

Deploys, publishes and financial commands require an explicit token before they're allowed to run.

Filesystem protection

No writes outside the designated workspace. No destructive git operations.

Resource protection

Gold asset paths are enforced read-only — the agent cannot overwrite protected material.

Quality gates

No shell=True. No empty-index commits. Hygiene the model tends to skip.

All 31 local rules run on your machine. Nothing leaves. The audit log is plain JSONL on disk — grep it, ship it to your SIEM, or ignore it.

On paid: premium rule evaluation sends the action to our server (the detection patterns are proprietary); only content-free verdict metadata — tool, decision, rule ID, timestamp — is retained in your dashboard. The action content itself is not stored.

The premium tier · 69 server-side rules

Step up when one machine isn't the whole team.

Beta launch pricing shown below — ends ~Aug 8, 2026; standard pricing applies to everyone after. Standard list price in grey. Annual prepay is 2 months free across paid tiers (10× monthly).

TierPriceWhat you get
Free $0 · forever 31 local constitutional rules · no signup · no API key · JSONL audit log on disk · evaluate offline Install
Pro from $29/mo · seat
Beta price — ends ~Aug 8, 2026
+ 5 agents · webhook · CSV export · multi-seat Get it →
Team $79/mo · $790/yr + 100 rules · full premium catalog · shared audit dashboard · priority support Get it →
Enterprise Contact sales Custom rules · air-gap deployment · SSO / SAML · dedicated SLA · hardware attestation option (Patent 04) Contact sales
Customer dashboard — live Every paid tier includes the hosted dashboard at dashboard.sunaivacore.io — account management, an audit-log browser and rule controls. Your API token is delivered by email at checkout, and audit logs are also available via the local JSONL file (~/.sunaiva/audit/audit.jsonl) and the CLI.

Your dashboard · included with every paid tier

See every verdict. Tune every rule.

Browse the audit log, toggle rules and manage your plan from the hosted dashboard — no terminal required.

Sunaiva Gate dashboard — home view with rule and audit summary
Sunaiva Gate dashboard — rules management view

Patent positioning

Where the Gate sits in the portfolio.

The Gate is built on the same architecture the Sunaiva Triple-Gate Validation MCP (Patent 01 Claim 1 commercial embodiment) uses. The Gate enforces agent actions — Claim 22 of USPTO 64/006,491, autonomous AI agent action validation.

The full conjunctive AND-logic Triple-Gate over AI outputs (Claims 1 + 3 + 5) ships in the Validation MCP, now in early access. See the patent portfolio →


Install the Gate. Try the architecture.

Free for personal and evaluation use. No account, no API key.

$npm install -g @sunaiva/gate
Pricing