'use client' import { useState, FormEvent } from 'react' import { Puzzle, Gavel, Coins, Building2, Check } from 'lucide-react' const plugins = [ { icon: Puzzle, title: 'Custom policy plugins', desc: 'Heuristics as code. Allow or deny on whatever context you care about.', }, { icon: Gavel, title: 'Model Council', desc: 'A panel of models votes on ambiguous requests. Guardrails without the friction.', }, { icon: Coins, title: 'Token-saving MITM', desc: 'Cache, redact, and rewrite LLM traffic. Smaller bills.', }, { icon: Building2, title: 'Enterprise controls', desc: 'SSO, audit trails, team rulesets, managed deployments.', }, ] type Mode = 'button' | 'input' | 'submitting' | 'success' | 'error' export function Waitlist() { const [mode, setMode] = useState('button') const [email, setEmail] = useState('') const [error, setError] = useState('') async function onSubmit(e: FormEvent) { e.preventDefault() if (mode === 'submitting') return setMode('submitting') setError('') try { const res = await fetch('https://api.web3forms.com/submit', { method: 'POST', headers: { 'Content-Type': 'application/json', Accept: 'application/json', }, body: JSON.stringify({ access_key: '85d3252e-5890-450c-aa93-12dc89c7c9b5', subject: 'Greywall enterprise / plugin SDK waitlist', from_name: 'Greywall waitlist', email, message: '(waitlist section signup)', botcheck: '', }), }) const data = await res.json() if (data.success) { setMode('success') setEmail('') } else { setMode('error') setError(data.message || 'Something went wrong. Try again?') } } catch { setMode('error') setError('Network error. Try again?') } } return (
Plugin SDK · Beta

Extend Greyproxy.

We're building a plugin SDK on top of Greyproxy, and we'll help you build the plugins you need on top of it.

{/* Plugin cards */}
{plugins.map((p) => (

{p.title}

{p.desc}

))}
{/* Freedom guarantee */}

Core stays free and open source.{' '} Sandbox, Greyproxy, and the dashboard stay Apache 2.0 forever. Plugin SDK and enterprise ride on top.

{/* Waitlist CTA */}
{mode === 'button' && ( )} {(mode === 'input' || mode === 'submitting') && (
setEmail(e.target.value)} placeholder="you@company.com" autoFocus className="rounded-md border border-border/40 bg-background/40 px-4 py-2.5 text-sm font-sans text-foreground placeholder:text-muted-foreground/60 focus:outline-none focus:border-primary/40 transition-colors w-56 sm:w-64" />
)} {mode === 'success' && (
You're on the list.
)} {mode === 'error' && (

{error}

)}

No spam. Just one email when it's ready.

) }