/architecture
that ship. Modules you can swap.
Working defaults on day one. Swap or turn off any module without touching your services.
Plat5 coreCustomer planeOperator planeYour servicesclick any block to inspect or swap
Customer plane
offOperator plane
optionaloffCore runtime
Your services
around the stack
/when-to-swap
When teams
Every piece around the Plat5 core is designed to be replaced when your requirements outgrow the starter—not rewritten from scratch.
| Piece | Day-1 default | When to swap or disable | Common alternatives |
|---|---|---|---|
| Customer IdP | Plat5 Auth | You need SAML SSO, MFA/passkeys, social login, per-org required IdP claims, or already have a user directory | Okta, Auth0, Clerk, WorkOS, Entra ID, Keycloak, Cognito |
| Operator IdP | Isolated Plat5 Auth | Production: your team should sign in with existing company SSO and MFA | Google Workspace, Okta Workforce, Microsoft Entra ID |
| Operator plane | Plat5 Operator + Operator Audit | You do not need an internal admin door yet, or already have a custom internal gateway | Omit (--operator none), or build your own private-network front door |
| Operator access control | External AuthZEN 1.0 PDP (disabled locally) | Production: enforce tiered support access (read-only support vs. SRE break-glass) and require X-Plat5-Operator-Reason on writes or impersonation | Topaz, Cerbos, OPA, or any OpenID AuthZEN 1.0 PDP (authorizer.mode: authzen) |
| Control plane auth | Static ADMIN_TOKEN (local dev) | Production / SOC 2 CC8: keyless CI OIDC (read on PRs, apply on main) and MFA-verified human admins with per-revision actor attribution | Multi-issuer OIDC via AUTH_CONFIG_FILE (GitHub/GitLab Actions, Okta, Entra ID) |
| Rate limiting | On (shared counters in Valkey, fail-open) | You already rate-limit at Cloudflare / your API gateway, or want one fewer datastore (plan tiers and rediss:// TLS supported when on) | RATE_LIMIT_ENABLED=false (drop Valkey completely) |
| Customer audit | On (fail-closed, Owner/Writer DB roles) + reads | Ship finalized events via GET /internal/events to SIEM/WORM, schedule monthly audit prune retention, hide customer reads, buffer async, or turn off in prototyping | Drop services/audit.yml (write-only), AUDIT_MODE=async, or AUDIT_MODE=off |
| Record-level & external authz | Built-in RBAC + service state rules | You need per-record sharing (Google Docs–style ReBAC), ABAC, or explicit deny rules at the gateway | Top-level AuthZEN 1.0 authorizer (Topaz, Cerbos, OpenFGA), composed with Plat5 roles (roles_property) or replacing built-in RBAC |
| Consoles & API starters | SolidJS consoles + Go / Node / Bun APIs | You already have a frontend or prefer another backend language/framework | Extend & own, or plat5 init -y + any plain HTTP service and UI |
| Observability | Local Grafana LGTM + Alloy | Production already has an APM or OpenTelemetry pipeline | Datadog, Honeycomb, Grafana Cloud, Sentry (OTLP / /metrics), or off |
See the request pipeline
Walk through the 8-step gateway pipeline, config as code, and lifecycle events—or boot the default stack locally in five minutes.