Skip to content

Layer Overview

Baseline Protocol uses a 7-layer architecture. Each layer is an OS service with a distinct responsibility. Together, they turn unstructured AI usage into a structured, repeatable operating system.

The language runtime. Governs how your AI expresses itself — vocabulary, safety boundaries, output attribution, prompt integrity.

Package: @baselineos/lang

The context manager. Manages operational contexts, modes, authority levels, and environments. Every operation runs within a defined scope. Frame consumes organizational identity from baseline.config.ts (voice, industry, formality, company size) and adjusts AI behavior accordingly. Frame treats the LLM context window as a programmable operating system.

Package: @baselineos/frame

The execution engine and artifact manager. Where work gets done. Every AI-generated artifact is tracked, attributed, and cryptographically verified.

Package: @baselineos/studio

The compliance engine. Enforces your organization’s rules on every AI operation. One of seven layers — not the product identity.

Package: @baselineos/govern

The user interaction layer. Manages consent, oversight, onboarding, accessibility, and how users engage with AI.

Package: @baselineos/experience

The agent operations manager. Controls how far AI can act independently, when to escalate, and how trust is earned and lost.

Package: @baselineos/autonomy

The adaptive workspace system. Each user gets a persona with tailored tools, workflows, and AI behaviors.

Package: @baselineos/persona

Persona → Adaptive workspace for each role
Autonomy → How far agents act independently
Experience → How users engage with AI
Govern → What rules are enforced
Studio → Where work gets done
Frame → What context applies
Lang → How AI expresses itself

Each layer is an independent package that can be used standalone. The baselineos package composes all seven into a unified runtime with REST API, WebSocket streaming, and MCP server.