MSGF · AI gateway

The layer between you and the model

MSGF is an AI gateway. It inspects and organizes context so low-quality data does not poison the next prompt.

Console seats are waitlist-only. Join the beta waitlist

Developer loop

Connect → optimize → verify → measure

  1. 01

    Connect

    Map the repo, mint an IDE token, and confirm the extension is healthy.

  2. 02

    Optimize

    Compile a local prompt with file attachments and required verify steps — no model call.

  3. 03

    Verify

    Run allowlisted tests or a local build. Pass writes to Vault; repeated fail writes to Hall.

  4. 04

    Govern

    Small Brain routing by default; Big Brain consensus on high drift; shadow then enforce; human-in-the-loop review; SIEM.

Ungoverned LLM stack

Direct to the model.

Prompts hit the provider first. You pay for every call — no policy check, no context pruning, no record when something fails.

AI gateway

Policy and routing before spend.

MSGF runs policy checks, Vault and Hall, and Small Brain or Big Brain routing before tokens are billed — so security and engineering share the same audit trail.

Comparison

Ungoverned stack vs MSGF

Policy, routing, memory, and provenance — the jobs every AI gateway is expected to do.

Without a gatewayMSGF
  • Calls go straight to the modelAI gateway in front of the provider
  • Unbounded prompt contextPolicy checks before spend
  • No record of what worked or failedVault (verified state memory) vs Hall
  • One model for every requestSmall Brain local routing vs Big Brain consensus
  • No source provenanceSource reputation and quarantine

Shipped for production

These capabilities run in production Cloud Run and Pulse Guard (IDE dev-environment protection) today.

IDE extension panel

Pulse Guard is IDE dev-environment protection for keystrokes. Cursor or VS Code: connection health, local prompt compiler, allowlisted verify scripts, Safe Build, and remediation tools.

Verify loop (Vault / Hall)

Allowlisted local commands write passing results to Vault (verified state memory) and repeated failures to Hall — then unlock the deploy gate.

Model routing + consensus

Default pair is Claude + Gemini. Optional Claude + Grok or Gemini + Grok. High drift can take a three-model majority (Claude + Gemini + Grok). Humans are notified only above the drift threshold.

Defensible token-cost reporting

Metered provider usage, proven avoidance (not estimates), weekly and monthly reports with PDF, and shadow-mode projected spend kept separate from public eco metrics.

Shadow mode → enforcement

Point the SDK at /api/v1 with x-msgf-mode: shadow. Shadow mode is observe-only. Active mode applies the Active Cache, context gating, and live reputation.

Sentry → context quarantine

Sentry crashes match approved records in Vault and mark them quarantined (no silent move to Hall). Operators restore or demote on /admin/ops — runtime monitoring linked to governance memory.

Workspace SSO

Company domains and Google Workspace SSO for corporate seats. Consumer Gmail lands on invite-only — not a silent tenant.

Platform & enterprise

Three-model consensus

Big Brain can take a Claude + Gemini + Grok majority when drift is high. Split votes no longer force human review when a majority agrees.

Signed human-in-the-loop audits

Skip-gateway and arbitration decisions leave HMAC-signed, hash-chained snapshots — a compliance trail of who approved what on /admin/ops.

Deploy gate

CI checks GET /api/msgf/deploy-gate for your project. Ship only when verify is green for that isolation boundary.

Compound tenant isolation

Every vector is scoped by project and subpath — agencies and monorepos keep client and app memory from crossing silos.

Post-quantum envelopes

Optional hybrid post-quantum envelopes (X25519 + ML-KEM-768) for Vault secrets and ML-DSA-65 authorship certificates. HTTPS post-quantum only when the load-balancer SSL policy is enabled — not Pulse, Redis, or Supabase.

Admin ops console

One /admin/ops surface: audit timeline, Session Replay, security event log, most-used resources, model fitness, diff impact, tenant budgets, SIEM export, trusted-OSS bulk review, and Sentry quarantine.

Platform governance audit

Hashed resource-usage rankings, unified audit events, prompt-session forensics, and human-in-the-loop gates — policy failures and harm always open review; budgets never bypass safety.

Budgets + SIEM export

Hard monthly spend caps and rapid-retry circuit breakers before gateway dispatch, plus async OpenTelemetry JSON webhooks to your SIEM — primary paths never wait on export.

Six policy domains. One gateway.

Isolated context partitions so prompts never mix projects. Full policy-domain guide

Elphie Syntax product family

Other products on the same governance layer

MSGF is the shared AI gateway. Author Ecosystem and Syntax Education are applications on that layer — explore from elphiesyntax.com.

For writers & publishers

Foundational testing

Author Ecosystem

Manuscript workspace — document ingest into wiki and outline, authorship attestation, no-training agreement (Vault Pact), dual Librarian + Critic review, and revision cooldown on the Phase 2 path. Foundational testing on authorecosystem.

  • Phase 1 — ingest, project switcher, authorship certificate, MSGF Pulse bridge
  • Phase 2 — revision cooldown, dual review, editor suite
  • Five tiers Free → $199.99 · Publisher Hub discovery on the Phase 3 horizon
Join foundational testing

K–12 · LTI 1.3 · Utah-aware

In development

Syntax Education

Socratic sandbox with grade-aware AI allowance and district-approved curriculum slicing — on the shared MSGF gateway, isolated by tenant. Host and public registration still in development.

  • Vite shell + lessons, board, curriculum, governance UI wired in repo
  • Classroom OAuth + Docs add-on need production env soak
  • Public host syntaxeducates.elphiesyntax.com — not open for signup yet

Public signup not open yet.

Full platform chooser

Put a gateway in front of your models

Map a repo, install the Pulse Guard IDE extension, and open the dashboard for live token-cost visibility.

MSGF | Elphie Syntax