Glossary
The core vocabulary of LVD in plain language.
- Adapter
- A small piece of code that makes an outside system's interface fit the one your code expects. Read more about Adapter
- Agent
- An AI system that decides which tools to call and in what order to reach a goal. Layer 8 in LVD. Read more about Agent
- Aggregate
- A cluster of domain objects treated as one unit for consistency, with a single entry point. Read more about Aggregate
- Anti-corruption layer
- A translation boundary that stops an outside system's concepts and quirks from leaking into your own model. Read more about Anti-corruption layer
- API layer (L5)
- The REST, GraphQL or gRPC interface to the system, together with its authentication and authorization sublayer. Read more about API layer (L5)
- Axiom A5
- No tool may import, call or otherwise depend on another tool. Shared logic moves down into Utils or Resources, and multi-tool workflows are orchestrated from a higher layer such as the API. Read more about Axiom A5
- Axiom A6
- The UI boundary rule: the UI may use Schema, Utils and the published contracts of the API, MCP, Skills and Agents layers, but never Resources, Tools or anyone's internals. Read more about Axiom A6
- Big ball of mud
- A system with no discernible structure, where everything depends on everything else. Read more about Big ball of mud
- Blast radius
- How much of a system is disturbed when one part changes. Good decomposition keeps it small. Read more about Blast radius
- Bounded context
- A domain-driven design term for the area in which a particular model and vocabulary apply consistently. Read more about Bounded context
- Bulkhead
- Isolating resources so that one overloaded dependency cannot drain capacity needed by the rest. Read more about Bulkhead
- Circuit breaker
- A guard that stops calling a failing service for a while so failures do not pile up, then tests whether it has recovered. Read more about Circuit breaker
- Dependency cycle
- A chain of dependencies that leads back to where it started, so no part of it can be built, tested or changed on its own. Read more about Dependency cycle
- Dependency direction axiom
- The core LVD rule: a component may depend only on components in its own layer or a lower, more stable one. Read more about Dependency direction axiom
- Directed acyclic graph (DAG)
- A graph whose edges have a direction and which contains no loops. A codebase whose dependencies form a DAG has a valid build order and no cycles. Read more about Directed acyclic graph (DAG)
- Domain event
- A record that something meaningful happened in the domain, published so other parts can react. Read more about Domain event
- Effective volatility
- A component is at least as volatile as anything it depends on, because every upstream change can ripple into it. This is why a UI that shows agent output ends up above the agents. Read more about Effective volatility
- Facade
- A simple front for a complicated subsystem, offering only the operations callers actually need. Read more about Facade
- Folder-as-layer
- Mirroring the layers as top-level folders so that the physical structure of the repository shows the architecture and tools can enforce it. Read more about Folder-as-layer
- Information hiding
- David Parnas's principle that a module should conceal the design decisions most likely to change. Read more about Information hiding
- Layer
- One band of the architecture, holding components with a similar rate of change. LVD defines nine, numbered L1 (Schema) to L9 (UI). Read more about Layer
- Layered Volatility Decomposition (LVD)
- The book's extension of VBD: nine layers ordered by volatility, with strict one-way dependencies and a folder structure that mirrors them. Read more about Layered Volatility Decomposition (LVD)
- lvd-diagram
- The companion tool that draws the layers and their dependencies from real code. Read more about lvd-diagram
- lvd-lint
- The companion command-line tool that checks imports against the layer rules. Read more about lvd-lint
- lvd-metrics
- The companion tool that measures how well real dependencies follow the volatility order. Read more about lvd-metrics
- Manager, engine, accessor
- Roles in Löwy's VBD: managers sequence work, engines hold business activities and accessors wrap access to resources. Read more about Manager, engine, accessor
- Model Context Protocol (MCP)
- An open protocol for exposing tools and data to AI models in a standard way. In LVD, MCP servers form Layer 6. Read more about Model Context Protocol (MCP)
- Project-to-project reference rule
- The rule that the build system itself should forbid a stable component from referencing a volatile one, so the dependency direction cannot be broken under deadline pressure. Read more about Project-to-project reference rule
- Published contract
- An artefact generated from a lower layer for its consumers, such as a typed client built from an OpenAPI description or an MCP tool descriptor. Read more about Published contract
- Repository pattern
- Hiding a data store behind an interface that speaks in domain terms, so the rest of the code never sees SQL or a vendor SDK. Read more about Repository pattern
- Resources layer (L3)
- Wrappers around databases, third-party services and other outside systems, including their retries, caching and error translation. Read more about Resources layer (L3)
- Saga
- A way to complete a multi-step business operation across systems without one big transaction, by pairing each step with a compensating action. Read more about Saga
- Schema layer (L1)
- Types, validation rules and data contracts. The most stable layer. Read more about Schema layer (L1)
- Skill
- A document that teaches an agent how and when to use a set of tools. LVD treats skills as versioned, testable code in Layer 7. Read more about Skill
- Three-tier model
- VBD's original structure: resource access at the bottom, business logic in the middle and clients on top. LVD splits these tiers into finer layers. Read more about Three-tier model
- Tools layer (L4)
- Business logic packaged as self-contained tools with validated inputs and predictable outputs. Read more about Tools layer (L4)
- Ubiquitous language
- The shared vocabulary that business and engineering use for a domain, reflected directly in names in the code. Read more about Ubiquitous language
- UI layer (L9)
- The screens and interactions people use. The most volatile layer, and the one nothing else may import. Read more about UI layer (L9)
- Utils layer (L2)
- Pure, stateless helper functions organised by domain. Read more about Utils layer (L2)
- Volatility
- How often, and how widely, a piece of software is likely to change. LVD groups code by volatility rather than by function. Read more about Volatility
- Volatility score (ν)
- A number between 0 and 1 that ranks a layer by its expected rate of change: 0.3 for Schema at the bottom up to 1.0 for the UI at the top. Read more about Volatility score (ν)
- Volatility-Based Decomposition (VBD)
- Juval Löwy's approach of drawing module boundaries around things that change at the same rate, with fast-changing parts depending on slow-changing ones. Read more about Volatility-Based Decomposition (VBD)