Microsoft’s Rayfin uses TypeScript models to build AI-assisted Fabric Apps
Rayfin combines TypeScript definitions, GraphQL endpoints and Fabric authentication, giving business users and developers a shared structure for building data applications.

Microsoft Fabric users can build data applications with AI assistance in Replit and deploy them into Fabric through Rayfin, a TypeScript-based SDK, according to InfoWorld’s examination of the development workflow. The process starts with defined data models and permissions rather than an unrestricted prompt to generate an application.
Fabric Apps extend a platform already used to store, query and explore operational data. They let business analysts create applications around selected data, including raw records and semantic models built with Power BI. Analytics can use DAX rather than SQL or KQL queries. Replit provides an AI-assisted route for business users, while developers can work with Visual Studio Code or the GitHub Copilot CLI alongside traditional coding methods.
The distinction between a quick experiment and a maintained business application runs through the workflow. An improvised program may be sufficient for a one-off job, but software that becomes part of a department’s routine needs structures that other developers can understand and maintain. Rayfin’s approach is to establish those structures before users begin building on the data.
Define the data before the application
The open-source SDK lets developers specify which models an application can access and the permissions attached to them. Rayfin exposes those models through GraphQL endpoints, with TypeScript clients connecting the application to Fabric data. Typed interfaces form part of that design rather than being left to each generated application to implement independently.
Tables become classes, and decorators assign types to individual fields. An employee directory, for example, can represent identifiers, names and contact details through an employee class. Definitions from @microsoft/rayfin-core supply the structures. Access controls can restrict data to authenticated users who belong to the appropriate groups.
Developers also have a choice of starting templates. A to-do application demonstrates a complete application structure; other templates incorporate Fabric authentication for data access. These scaffolds give subsequent development an established layout instead of requiring every user or coding agent to assemble one from scratch.
Separate development from the Fabric back end
Setup begins with an application template and an Entra ID login to Fabric. Rayfin’s development loop then creates a runtime and configures the back end before the initial scaffold is deployed. Microsoft’s documentation includes a prompt that coding agents can use to carry out this setup.
Entity definitions sit in a designated directory within the scaffold. Each class can have its own TypeScript file, keeping data definitions separate as the application grows. After adding the required entities, the developer rebuilds and redeploys the scaffold for testing.
The back-end services and entity definitions operate within Fabric’s authentication and security framework. Application code can run on development hardware, allowing the front end and back end to be developed separately. Rayfin functions contain the business logic and use typed connectors to access the defined entities. They can also call HTTPS APIs, combining Fabric records with information from other business applications or services.
The resulting project contains TypeScript code and YAML configuration that can be tested locally against a Fabric back end. Human-readable documentation has a matching set of markdown files for coding agents, while Replit supplies a rendering canvas with familiar Power BI features for non-coding users.
Deployment uploads the function code and front-end assets to Fabric. Users can open the applications through the Fabric portal or published browser endpoints. Running them requires Fabric capacity: the completed app remains tied to that operating environment, even when users reach it outside the portal.




















