Client
Fractal Studio
Industry
Software platform
Year
2024
Stack
  • Fractal
  • FastAPI
  • SvelteKit
  • 40+ applications modelled in it
  • 15 reusable modules
Concept design of a Fractal Studio model editor: an entity canvas with Client, Project, TimeEntry, Invoice and InvoiceLine, and an inspector for Invoice with fields, commands and field permissions.

Fractal builds Fractal

Concept design of a custom Fractal Studio front-end. The studio runs in its generated portal today.

The challenge

A modelling studio is itself a serious application: projects, entities, fields, value objects, commands, queries, workflows, roles, modules, environments and deployments, all with their own rules and relationships. And it has to be the tool we trust to build everything else.

What we built with Fractal

Since January 2024, Fractal Studio has been modelled in Fractal Studio. Its own API, portal, auth, command-line tool and MCP server are generated by the same generator it drives, and it is regenerated from its own model like any other project.

  • Fractal builds Fractal. Every feature we add to the generator has to hold up in the tool we use to build with it every day.
  • Template improvements reach every app. A fix or improvement in the generator's templates lands in the studio, and in every other application, on its next regeneration.
  • Custom code next to generated code. The generator itself is hand-written code in the studio's custom layer, and survives every regeneration of the studio around it.
  • Built for AI-assisted work. Through its MCP server and command-line tool, an AI assistant can read and change models and generate projects, with the permissions of the person it works for.
Fractal builds Fractal: Studio's own model is generated into Studio, whose custom generator code then builds every other app, so one template fix reaches all apps on regeneration.

The result

More than forty applications and fifteen reusable modules have been modelled in the studio so far, including every other case on this page.

Concept design of a Fractal Studio deploy screen: production and staging environments with health and drift status, the last regeneration, installed modules and an activity log.

Concept design: a project's environments, drift status and installed modules.