Modules
Install features, don't rebuild them
Sign-in, OAuth, an MCP server for AI assistants, email, background jobs, webhooks, metrics, payments and more. Fractal modules are generated into your application, so they fit your model instead of sitting next to it.

How modules work
A module is a model of its own. Each module is a Fractal Studio project with its own entities, commands, settings and services. You add it to your project in the studio, and the next generation brings its domain, API, portal screens, CLI commands and tests into your application, in the same structure as your own code.
Modules build on each other. A module declares the modules it depends on. Install Scheduled Tasks and Background Processing comes with it; install Authentication and you get Email for its login links and invitations.
Ports and adapters. Anything that talks to the outside world, a mail provider, a payment provider, a storage service, is a port: an interface the domain depends on. The implementation behind it is an adapter, and you choose one per environment with a setting. Your business logic never imports a provider's SDK.
Components per port. Adapters are delivered as components: reusable packages you install per project. The Email module has components for Bird, Mailjet, Forward Email, Lettermint and a generic HTTP relay. Authentication has components for Google, Microsoft and GitHub sign-in. Install the ones you need, switch later without touching your domain.
Available modules
-
Authentication
Users, sign-in, invitations, sessions and two-factor authentication, with single sign-on through Google, Microsoft or GitHub.
-
OAuth2
Turns your application into its own OAuth 2.1 authorization server, so other apps, the CLI and AI assistants can act on behalf of a signed-in user.
-
MCP
A Model Context Protocol server for your application, so AI assistants can work with it using the signed-in user's own permissions.
-
API Keys
Let users create their own API keys for integrations, with an expiry, an optional single role and immediate revocation.
-
Webhooks
Send your application's events to other systems, signed so the receiver can verify they really came from you.
-
Email
Transactional email as a pluggable port, with editable templates per account and a choice of providers.
-
Background Processing
Run any command in the background on a durable job queue, with progress visible in the portal.
-
Scheduled Tasks
Let users put commands on a schedule themselves, per account and in their own time zone.
-
Metrics
Event-driven KPIs: count what happens in your app and follow it on a dashboard, without a separate analytics stack.
-
Secret Service
Encrypt sensitive fields at rest with authenticated encryption and rotatable keys, by ticking a box in the model.
-
Guest Access
Give outside parties access to their own slice of data through a link and a one-time code, without creating an account.
-
Cloud Storage
Store files in S3-compatible storage or Google Cloud Storage through one port, and switch without touching your code.
-
Payments
Take online payments for anything in your model, with Mollie as the first payment provider.
-
GitHub App
Connect your application to GitHub as a GitHub App: let users link their account, install the app and create repositories.
-
MongoDB
Store your application's data in MongoDB, the default storage backend, configured per entity in Fractal Studio.
Need something that is not on the list?
Modules are made the same way as applications. Tell us what your product needs and we will show you how it fits.