A modern Backend-as-a-Service (BaaS) platform built for the agentic era.
Define your data model with TypeScript decorators — Rayfin provisions and manages the backend for you.
Docs •
Website •
Templates •
Issues •
Reddit
Getting Started
npm create @microsoft/rayfin@latest
This CLI scaffolds a new Rayfin project with everything you need: data models, authentication, APIs, and a ready-to-deploy app.
[!TIP]
Prefer to build with a coding agent? Hand it the guided setup prompt and
describe what you want to build:
copilot -i "$(curl -sSfL https://aka.ms/rayfin/start.md)"
On Windows (PowerShell):
copilot -i (irm https://aka.ms/rayfin/start.md)
This loads the Rayfin starter prompt: it checks your environment, scaffolds the bundled default app template, and helps you customize.
Agent plugin
Install the Rayfin getting-started skill through your agent's native marketplace or extension manager:
Claude Code
/plugin marketplace add microsoft/rayfin
/plugin install rayfin@rayfin-skills
Grok Build automatically reads Claude Code marketplaces.
GitHub Copilot CLI
copilot plugin marketplace add microsoft/rayfin
copilot plugin install rayfin@rayfin-skills
Codex
codex plugin marketplace add microsoft/rayfin
After adding the marketplace, install Rayfin from the Plugins Directory.
Kimi Code
/plugins marketplace https://raw.githubusercontent.com/microsoft/rayfin/main/kimi-marketplace.json
Gemini CLI
gemini extensions install https://github.com/microsoft/rayfin
Alternatively, use the cross-agent plugins CLI:
npx plugins add microsoft/rayfin
The plugin supports Claude Code, Cursor, Codex, GitHub Copilot CLI, Grok Build, Kimi Code, Visual Studio Code agent plugins, and Gemini CLI.
What is Rayfin?
Rayfin is a fully managed Backend-as-a-Service (BaaS) platform that helps teams build and ship applications faster without building or operating backend infrastructure.
With Rayfin, you define your data model using TypeScript decorators, and the platform automatically provides and manages:
- Database
- Authentication
- Data APIs
- Storage
- Hosting
So you can focus on building your application, not backend services.
npm create @microsoft/rayfin@latest # scaffold a new project
npx rayfin up # deploy and run
Why Fabric?
Rayfin is built on Microsoft Fabric, which provides centralized data discovery, access control, and governance capabilities -- helping organizations manage data access, sharing, and compliance consistently across workloads.
This means your Rayfin apps inherit enterprise-grade security and governance out of the box, so you can build fast without compromising on compliance.
👉 Get started with Microsoft Fabric
Local Development (Experimental)
Rayfin supports a pure local development experience — no cloud resources required. This is currently experimental and great for trying out Rayfin or building offline.
👉 See the Todo Local Experimental template to get started.
Packages