Reference

Overview

The chapters so far told a story. This section is the index card — a rough map of the classes, features and functions WebFluid exposes, grouped by where they live. It is deliberately terse: enough to find a name and remember what it does, not a line-by-line specification.

 

From this beta onwards, everything listed in a package's __all__ follows semantic versioning. Anything else — module layout, private attributes, helpers that are not exported — is internal and may move in any release. Treat this page as a compass rather than a specification, and keep your version pinned while the beta runs.

How the package is laid out

The import tree mirrors the layers you've worked through:

  • Corewebfluid, webfluid.core.*: the Fluid app, config, context, the shared extension registry and the runtime constants.
  • Extensionswebfluid.extensions.*: the base extension and the full battery set.
  • Surfacewebfluid.surface.*: the frontend integration, Node and Tailwind tooling.
  • Additives — the Additive system, manifests and the registry helpers.
  • Utilswebfluid.utils.*: framework helpers, logging and the exception hierarchy.

Top-level exports

What you can import straight from webfluid:

  • Fluid — the application class. See Core.
  • Additive, Manifest — the module system. See Additives.
  • version — a callable returning the running framework version.
  • utils, fluid, extensions, exceptions — the sub-packages.
 

Every package in the tree resolves its exports lazily through a module __getattr__, so importing webfluid does not drag the whole framework into memory and an extension you never enable is never instantiated. It also means dir() on a package is the honest list of what it offers.

One more reader

These pages were written for you. There is a second audience, and it gets its own edition: every page here is also published as Markdown at the same address with a .md suffix, written for coding agents — the same subjects, without the narrative, with the exact signatures and the traps spelled out. The index is /llms.txt, the whole corpus in one document is /llms-full.txt.

And the package itself carries a compact version of that material as an agent skill under webfluid/.agents/skills/webfluid, so an agent working inside your project finds it without a network call. Nothing you have read here changes; it is simply the same knowledge in the shape the reader needs.

Continue reading

From here you can continue straight with Core.