Install Prefab
We recommend using uv to install and manage Prefab.Verify Installation
Versioning Policy
Prefab is pre-1.0 software under extremely active development. The API surface is evolving quickly — components get added, renamed, and reworked as the project discovers what patterns work best for building agent-native UIs.What This Means in Practice
Minor versions (0.x.0) may include breaking changes. Prefab follows semantic versioning with the standard pre-1.0 caveat: while the major version is0, any minor version bump can change the public API. A bump from 0.5.0 to 0.6.0 might rename components, change default behaviors, or restructure modules.
Patch versions (0.0.x) are safe updates. Patch releases contain only bug fixes without breaking changes.
Pin Your Version
For any use beyond experimentation, pin to an exact version:Breaking Change Philosophy
Prefab is young, and that means being willing to fix API mistakes early rather than carrying them forever. Each breaking change is a deliberate decision to keep the framework simple and consistent rather than accumulating design debt. When breaking changes occur:- They only happen in minor versions (e.g., 0.5.x to 0.6.0)
- Release notes explain what changed and how to migrate
- Changes must substantially benefit users to justify disruption
Public API
The public API — what’s covered by compatibility guarantees within a minor version — consists of:- All classes exported from
prefab_ui.componentsandprefab_ui.actions PrefabAppand related app-level utilities- The
prefabCLI commands - The JSON wire protocol schema