# Fóir for SaaS

Every customer is an organisation from the first prompt, with its own members, roles, sign-in and data. Your agent builds the product, and Fóir keeps each customer to their own.

## Never worry about leaked data again.

Each of your customers is an organisation, nested as deep as your app needs: a chain, its studios, their teams. Postgres checks every read against the caller's organisation and role, under your code, so one customer's data never reaches another.

- **64%** of the time, Claude Code wrote its own sign-in when asked to build an app. On Fóir there's one, already tested. (Source: [Amplifying, study of Claude Code's choices when building apps, July 2026](https://amplifying.ai/research/claude-code-picks-fable/report))
- **5,000** of 380,000 AI-built apps in a May scan were leaking data. On Fóir, Postgres enforces access under your code. (Source: [RedAccess scan of 380,000 AI-built apps, May 2026, as reported by vibegraveyard.ai](https://vibegraveyard.ai))

## Hosted sign-in on your own domain

Passkeys, email codes, Apple, Google, Microsoft and GitHub, on your login domain and in your brand.

Any customer organisation can bring its own SAML connection, and SCIM maps its groups to your roles. That's the enterprise sign-in teams usually buy from WorkOS, already in your backend.

## Agent sandboxes, created instantly

Each agent run gets a sandbox with everything your backend has: data, sign-in, files and Logic. There's no infrastructure to set up.

It reads production through its role, writes only inside the sandbox, and is cleared when the run completes. The agent holds no copy, so what it may not see stays in production.

## What Fóir replaces

Each row is a service your agent would otherwise sign up for, connect and keep in step with the rest, on every app. In Fóir it's a line of config.

| Part | Usually | In Fóir |
| --- | --- | --- |
| Database and API | Supabase, Neon, Hasura, Firebase | A typed API and SDK, with access checked in Postgres on every read |
| SDKs and MCP server | Stainless, Speakeasy | A typed SDK, CLI and MCP server for every project, generated from one contract |
| Sign-in | Clerk, Auth0, WorkOS | Hosted sign-in on your domain, SAML and SCIM for any organisation, and an audit log each one can read |
| App logic and jobs | Inngest, Trigger.dev, Temporal, Hookdeck | Declared steps with retries and undo, started by calls, schedules or verified webhooks, and run as the caller |
| AI agents and chat | LangChain, Mastra, OpenAI Agents SDK | Agents with your data as tools, chat streamed to your app, each run in its own sandbox |
| Notifications | Resend, Loops, Customer.io, OneSignal | Email from your own domain, push and in-app, all from one step, with bounces as events |
| Realtime | Pusher, Ably, Convex | Every read can be watched |
| Hosting | Vercel, Netlify | foir.build or your own domain, with a preview for every pull request |
| Files, images and video | AWS S3, R2, Cloudinary, Mux | Images as WebP and AVIF, video streaming, and signed links |
| Search | Algolia, Pinecone | Search by meaning and by distance |
| Content and translation | Contentful, Sanity, Crowdin | Drafts, versions, scheduled publishing, and translation into each of your locales |
| Admin and support | Retool | Your pages, notes, approvals and impersonation in the console |
| Personalisation | Optimizely, Ninetailed | Variants of any record, field or list item, by audience |
| Plans and entitlements | Stigg, Schematic | Plans that gate any model or logic, granted by a subscription |
| Payments | Stripe, RevenueCat | Your own accounts, connected for you. Fóir turns their events into entitlements and takes no percentage |

## Start building for free

Production-ready from the first preview.
