ObjectOS
Resources

Glossary

The vocabulary used across ObjectOS and ObjectStack — one definition each.

A single canonical definition for each term used in this documentation.

Artifact

A compiled objectstack.json file. Self-contained, immutable description of an app — manifest, objects, views, apps, flows, permissions, translations. Produced by os compile. The thing ObjectOS actually executes.

Action

A named operation declared in metadata, invocable via REST (/api/v1/data/<object>/actions/<action>), buttons in the UI, or flow steps. Inherits the caller's permissions.

Adapter

A framework package that integrates ObjectStack with a host runtime — Express, Fastify, Hono, Next.js, Nuxt, SvelteKit, NestJS. Most ObjectOS deployments don't need one; ObjectOS bundles its own HTTP server.

App

A bundle of objects + views + permissions presented as a single navigable application. Multiple apps can coexist in one runtime (e.g. CRM + Helpdesk + Setup).

Better Auth

The auth library powering @objectstack/plugin-auth. You don't configure Better Auth directly; the plugin wraps it.

Capability

An optional runtime feature declared by an artifact in its requires list. Maps to a package — e.g. audit@objectstack/plugin-audit. Loaded on demand by ObjectOS. See Runtime Capabilities.

CEL

Common Expression Language — Google's safe, sandboxed expression syntax. Used in formulas, validation rules, permission predicates, sharing rules, and flow conditions.

Control Plane

An optional service that publishes versioned artifacts to ObjectOS instances. Hosted as ObjectOS Cloud or self-hosted. Most deployments don't need one — file-backed mode works for single-app production.

Driver

A data backend implementation: driver-sql (Postgres, MySQL, SQLite, Turso/libSQL), driver-mongodb, driver-memory. Picked at boot via the database URL.

Embedder

The service that converts text to vectors for RAG / semantic search. Pluggable across providers (OpenAI, Azure, 硅基流动, Ollama, …). See AI Service.

Environment

A deployment's own identity — the id it reports as OS_ENVIRONMENT_ID, persisted once a cloud binding completes. A self-hosted ObjectOS is a single-environment runtime: one process, one environment, one app. Holding many environments, and publishing an artifact for each, is what a control plane does. See Environment Variables.

Field

A typed property on an Object. ~48 built-in types: text, select, lookup, markdown, file, formula, summary, etc. See Data Model.

Flow

Declarative business logic — autolaunched (record trigger), scheduled (cron), or manual (button / API). Executes as a DAG with condition/loop/retry/parallel primitives. See Flows & Automation.

Formula field

A computed field whose value is a CEL expression evaluated at read time. Not stored.

Hook

A function injected into the object lifecycle (beforeInsert, afterUpdate, …). Authored in TypeScript. Different from a flow: hooks are first-class code; flows are metadata.

Kernel

The microkernel inside ObjectOS that loads plugins, holds the DI container, dispatches events, and serves the deployment's metadata. One process builds one kernel, during startup, and does not report ready until it is built — so nothing per request decides which metadata to serve.

Manifest

The top-level metadata at the head of an artifact: id, namespace, version, type (app / plugin / service), name, description, requires list.

Marketplace

The built-in catalog of installable apps. Backed by a configurable package registry. See Marketplace.

MCP (Model Context Protocol)

An open protocol for AI agents to discover and call tools. ObjectOS can expose its objects + actions as MCP via @objectstack/mcp.

Object

A typed business entity — task, account, invoice. Declared as a TypeScript schema; generates REST APIs, views, audit entries, RBAC checkpoints automatically. See Data Model.

ObjectOS

The runtime — a single Node.js process that serves your apps. Open source, Apache-2.0. This documentation site is for ObjectOS.

ObjectQL

The data layer protocol and query engine. Compiles declarative queries to native SQL / Mongo queries. Used by REST endpoints, the UI, flows — all the same engine.

ObjectStack

The umbrella project: the framework (@objectstack/* npm packages), the runtime (ObjectOS), the optional cloud service, and the marketplace. Sometimes called "the platform."

ObjectUI

The view layer protocol — apps, views, pages, dashboards, actions, charts, navigation. ObjectOS renders ObjectUI declarations.

Permission Set

A bundle of grants — object permissions, field permissions, system permissions. Attached to users directly or via positions. The primary authorization unit. See Permissions.

Plugin

A framework package that extends the runtime with a capability — plugin-auth, plugin-security, plugin-audit, plugin-webhooks, mcp, etc. Activated via DI + lifecycle hooks (init → start → destroy).

Project

Old name for Environment. It survives in inherited configuration and in framework-internal identifiers; ObjectOS documentation says Environment.

Record Share

A direct grant of access to a specific record for one recipient — a user (user), a team (team), a position (position), a business unit (business_unit), or a business unit together with every unit beneath it (unit_and_subordinates). Stored as sys_record_share rows, whose recipient_type column takes exactly those five values. Different from sharing rules (declarative criteria).

Setup

The built-in administration app, at /apps/setup inside the UI served at /_console/, gated by the setup.access permission. Manages users, business units, teams, positions, permission sets, sharing rules, record shares and API keys, plus configuration, diagnostics and integrations. See Administration.

Sharing Rule

A declarative rule that grants record access based on criteria ("regional managers can see records in their region"). Evaluated at query time, compiled into row-level filters. A rule stored without criteria shares nothing — it is not a match-all. See Record Access.

Studio

The built-in metadata-authoring surface, at /studio inside the UI served at /_console/, gated by the studio.access permission. Where the metadata itself is designed — packages, objects, apps, flows and permission sets — one package at a time, across four pillars: Data, Automations, Interfaces, Access. Peer of Setup, not part of it: Setup operates a running deployment (its people, their grants, its configuration), Studio authors what that deployment runs — hence permissions are designed in Studio, assigned in Setup. Unlike Setup it is not an app under /apps/; the UI serves it as its own route subtree. See Administration.

Surface

One of the HTTP entry points a running ObjectOS exposes: / (REST API) and /_console/ (the UI). There are two, not three — account is not a surface of its own. Sign-in, registration and account self-service are all routes inside the UI:

Account surfaceWhere it lives
Sign in/_console/login — where every protected page sends you when you are not signed in
Register/_console/register — unless the deployment disables self-service sign-up
Account self-service/_console/apps/account — the Account app, alongside Setup at /_console/apps/setup

There is no /_account/ surface. It was retired when the standalone account portal was removed, and those URLs now return 404.

System Context

The internal execution mode used by plugins, hooks, and seed scripts that need to bypass security checks. Auditable; not exposed to user code.

Tenant

An isolation boundary between the organizations sharing one deployment. A walled tenancy posture puts the wall up and is a licensed capability. Those organizations still share the deployment's app, its database and its metadata, so the wall separates their data and memberships rather than their schema. See Multi-organization deployments.

Trigger

The condition that fires a flow — record event (after_insert), schedule (cron), or manual invocation.

View

A declarative UI configuration — list, form, kanban, calendar, gantt — attached to an Object. ObjectOS renders it; you don't write the component.

Zod schema

The runtime + compile-time type system used by @objectstack/spec. Every object, field, view, app, flow is parsed and validated by a Zod schema. JSON Schema, TypeScript types, and REST request validators are all derived from the same Zod definitions.

On this page