Fóir

The backend for apps built with AI agents. Your agent configures Fóir instead of writing a backend: sign-in, organisations, data, Logic, payments and hosting on foir.build. Building runs on the person's own ChatGPT, Claude or Cursor plan, with no build credits.

What Fóir runs for an app

Sign-in

hosted on the app's domain: passkeys, email codes, Apple, Google, Microsoft, GitHub, and SAML and SCIM for any customer organisation

Organisations

each customer kept apart, nested as deep as the app needs, checked in Postgres on every read

Logic

declared steps with waits, retries, approvals and undo, started by calls, schedules or webhooks

Agents

with the app's data as tools, each run in its own sandbox

Payments

the app's own Stripe or RevenueCat account, with their events turned into entitlements

Hosting

foir.build or the app's own domain, with a preview for every pull request

Everywhere

one SDK and API for the web, iPhone, ChatGPT and Claude as an MCP app, and email from the app's own domain

Set up

ChatGPT or Claude

add a connector at https://mcp.foir.dev/mcp and sign in to Fóir

Claude Code

claude mcp add --transport http foir https://mcp.foir.dev/mcp

Codex, Cursor or any agent

add https://mcp.foir.dev/mcp as an MCP server

A new project

npm create foir creates it and adds the Fóir skill and AGENTS.md

Building on Fóir

Use Fóir's parts first

models, roles, sign-in, agents and Logic in foir.config.ts

Write code only as operations

in TypeScript, Python or Rust, for what Fóir doesn't already do

Ship

foir lint, then foir push, then share the preview link

What Fóir replaces

PartUsuallyIn Fóir
Database and APISupabaseNeonHasuraFirebaseA typed API and SDK, with access checked in Postgres on every read
SDKs and MCP serverStainlessSpeakeasyA typed SDK, CLI and MCP server for every project, generated from one contract
Sign-inClerkAuth0WorkOSHosted sign-in on your domain, SAML and SCIM for any organisation, and an audit log each one can read
App logic and jobsInngestTrigger.devTemporalHookdeckDeclared steps with retries and undo, started by calls, schedules or verified webhooks, and run as the caller
AI agents and chatLangChainMastraOpenAI Agents SDKAgents with your data as tools, chat streamed to your app, each run in its own sandbox
NotificationsResendLoopsCustomer.ioOneSignalEmail from your own domain, push and in-app, all from one step, with bounces as events
RealtimePusherAblyConvexEvery read can be watched
HostingVercelNetlifyfoir.build or your own domain, with a preview for every pull request
Files, images and videoAWS S3R2CloudinaryMuxImages as WebP and AVIF, video streaming, and signed links
SearchAlgoliaPineconeSearch by meaning and by distance
Content and translationContentfulSanityCrowdinDrafts, versions, scheduled publishing, and translation into each of your locales
Admin and supportRetoolYour pages, notes, approvals and impersonation in the console
PersonalisationOptimizelyNinetailedVariants of any record, field or list item, by audience
Plans and entitlementsStiggSchematicPlans that gate any model or logic, granted by a subscription
PaymentsStripeRevenueCatYour own accounts, connected for you. Fóir turns their events into entitlements and takes no percentage

Plans

Free for one project and 1,000 records. Entry is £0.99 a month after a 90-day trial with no card, Starter £29 and Pro £99. Hosting and sign-in come with every plan.

Free£0 per monthSomething small to build on, with no card and no end date.
Entry£0.99 per monthEverything working, at a size you can start on.
Starter£29 per monthA live site, with room to grow into.
Pro£99 per monthSeveral projects, a real team, real traffic.
Free trial
90 days, no card needed
14 days
14 days
Projects
1
1
3
10
Team members
2
5
10
20
Records
1,000
25,000
500,000
2,000,000
Media
250 MB
2 GB
50 GB
250 GB
Signed-in end users
100
10,000
25,000
100,000
Emails
50 / month
250 / month
AI credits
40 to start
40 to start
150 / month
500 / month
API requests
10,000 / hour
10,000 / hour
100,000 / hour
500,000 / hour
Video streaming
Included
Web research
Included
EnterpriseHigher ceilings, and terms that suit procurement.
Talk to usGet in touch
View included limits
Projects
Agreed
Team members
Agreed
Records
Agreed
Media
Agreed
Signed-in end users
Agreed
AI credits
Agreed
API requests
Agreed
Video streaming
Included
Web research
Included

Prices exclude VAT. Every number is for the whole workspace, however many projects you split it across, and you can cap an individual project below it so one client cannot use the lot. Where a row shows a rate you can grow past the included amount and pay for what you use. Where it does not, the number is the ceiling.