Create a governed Workspace from any source; repo, skill, kit, or existing product — customize it visually, keep it current, & rapidly deploy.
50
stars
306
commits
JavaScript
primary language
Sep 7, 2026
updated
A self-correcting, information-theoretic system that treats workspace data as a governed, low-entropy machine.
Quick links: Architecture thesis · Operational loop · Core features · Installation · Quick start · Documentation · Contributing
Growthub Local is not a framework. It is not a platform. It is a governed operating system for agent-native development—a workspace where humans and AI agents collaborate through deterministic, auditable primitives.
Growthub Local applies Information-Theoretic Transformation to the workspace state:
Causation ITT = A deterministic process that takes a high-entropy workspace state and transforms it into low-entropy, actionable guidance through pure, read-only derivation.
state → eligibility → guidance → action → evidence
This is the engine that powers every operation in the system.
A workspace with many objects, relationships, receipts, configs, sandboxes, traces, and potential inconsistencies is a high-entropy state. The causal derivation layer applies a deterministic compression function:
E(state) = Shannon entropy of workspace state
D(state) = Causal Derivation (compression function)
O(state) = D(state) (low-entropy output)
O(state) = compress(E(state)) where compress is deterministic and information-preserving
From GOVERNED_MCP_CONSOLE_V1.md, the system operates through an explicit, iterative agent loop:
Agent reads the full current workspace state and provenance (all objects, relationships, receipts, traces).
Agent uses causal tools:
simulate_causal_impact — Predict what dashboards, widgets, workflows, or downstream surfaces would be affected by a changetrace_lineage + find_downstream_dependencies — Map actual dependency chains across the workspace graphAgent uses preflight_patch to test the exact change against the Law layer without writing anything. The system checks if the change would violate any governance rules.
Agent emits only sanctioned routes (e.g., PATCH /api/workspace). The governance layer ensures the mutation stays inside the workspace boundary.
Agent re-reads the new state. Live rehydration happens on every call—no stale state, no assumptions.
graph LR
A[Read State] --> B[Reason with Causal Tools]
B --> C[Dry-Run preflight_patch]
C --> D[Governed Hand-off via Sanctioned Routes]
D --> E[Re-read New State]
E --> A
The system uses TypeScript's type system to enforce algebraic constraints on the derivation process. This is the governance shell that ensures all products conform to a governed shape.
MarketplaceProduct
├── SchedulerProduct (executionLane: 'serverless-scheduler')
│ ├── QStashProduct (authRef: 'QSTASH')
│ └── FutureSchedulerProduct
├── DataProduct (executionLane: 'workspace-data')
│ ├── RedisProduct (authRef: 'UPSTASH_REDIS')
│ └── NeonProduct
└── RetrievalProduct (executionLane: 'workspace-retrieval')
├── SearchProduct
└── VectorProduct
The type system enforces that a product must:
executionLaneenvRef for its authRefType constraint → Product shape → Product verification → Type constraint
The type system constrains what products can exist, which enables the causal layer to reason about products, which produces evidence that can be used to refine the type system.
Traditional agent systems scale complexity poorly:
| System Type | Complexity Scaling | Error Rate |
|---|---|---|
| Traditional agent systems | Grows linearly (or worse) with surface area | Compounds over time |
| Growthub's causal-driven system | Marginal cost decreases over time | Remains bounded by governance layer |
more evidence → better derivation → safer actions → more evidence → better derivation
This is the recursive scaling property. The more the system is used, the better it becomes at handling complexity.
Recursive inference vs. the Law:
if (state.patch.violatesLaw) return 403;
The system has recursive capabilities (infinite derivation loops, self-improving drivers) but is bounded by the "Law layer" that enforces governance. This prevents the recursion from becoming unbounded or unsafe.
Official marketplace plugins are governed workspace capabilities installed into the existing Agent Workspace as Code universe. A plugin does not create a second runtime, database, workflow engine, or mutation lane. It registers governed rows, server-side env references, UI affordances, receipts, and provider-specific adapters that operate through the workspace's existing control plane.
The rule: Plugins extend the governed workspace universe; they do not bypass it.
| Layer | Technology |
|---|---|
| Runtime | Node.js (JavaScript/TypeScript) |
| Package Manager | npm |
| Type System | TypeScript with strict algebraic constraints |
| API Layer | Next.js App Router |
| Data Model | API Registry as source of truth |
| Event Sourcing | Receipt ledger (workspace:agent-outcomes) |
| Agent Protocol | MCP (Model Context Protocol) |
| External Providers | Upstash, Supabase, Stripe, Resend, Neon, Cloudflare R2 |
npm create @growthub/growthub-local@latest
Choose Custom AI Governed Workspace, then pick the fastest source:
npm create @growthub/growthub-local@latest -- --profile workspace --out ./my-workspace
npm create @growthub/growthub-local@latest -- --profile self-improving --out ./my-workspace
npx -p @growthub/cli@latest growthub kit download growthub-custom-workspace-starter-v1 --out ./my-workspace --yes
cd my-workspace/apps/workspace
npm install
npm run dev
npm install -g @growthub/cli@latest
growthub workspace status --json
For version grounding, read cli/package.json, packages/create-growthub-local/package.json, and packages/api-contract/package.json on the branch. See Artifact Versions.
Open the Add-ons Marketplace in your workspace, select a provider (e.g., Upstash), and complete the setup flow. The provider row appears in the API Registry with syncStatus: verified.
Open the Workflow Canvas, create a new workflow, and set the Input Node to Serverless Schedule with your desired cron expression.
/scheduleOpen the Workspace Helper and type /schedule. The Schedule Cockpit opens, showing:
| Document | Description |
|---|---|
| Official Marketplace Plugins V1 | The governed plugin model |
| Serverless Scheduler Command Guide V1 | The /schedule command lifecycle |
| Causation ITT Eligibility Drivers | The mathematical foundation of CDI |
| Governed MCP Console V1 | The agent operational loop |
| Claude Code Plugin Marketplace V1 | The governed console packaged for Claude Code |
| Codex Plugin Marketplace V1 | The governed console packaged for Codex app, CLI, and IDE users |
| First-Run Paths | The canonical repo, skill, starter, and template entry paths |
| Governed Workspace Topology V1 | The official AWaC workspace topology |
| Agent Dist Rebuild Guide | Source/dist lane rules and when version bumps are required |
Growthub Local is built on the principle that plugins extend the governed workspace universe; they do not bypass it.
The provider supplies power.
The workspace supplies authority.
The graph supplies causality.
The cockpit supplies operation.
The receipt supplies truth.
MIT © Growthub AI
This system is built on the foundational insight that governance is not optional. The academic and production literature of 2026 converges on this truth:
"Runtime governance is non-negotiable. Deterministic policy enforcement beneath the model layer prevents undesired actions before they reach the wire."
Growthub Local is the implementation of that insight.
Growthub Local — The Governed Workspace OS for Agent-Native Development
"The provider supplies power. The workspace supplies authority. The graph supplies causality. The cockpit supplies operation. The receipt supplies truth."
JavaScript
55.9%
TypeScript
40.2%
CSS
3.5%
Create a governed Workspace from any source; repo, skill, kit, or existing product — customize it visually, keep it current, & rapidly deploy.
50
stars
306
commits
JavaScript
primary language
Sep 7, 2026
updated
A self-correcting, information-theoretic system that treats workspace data as a governed, low-entropy machine.
Quick links: Architecture thesis · Operational loop · Core features · Installation · Quick start · Documentation · Contributing
Growthub Local is not a framework. It is not a platform. It is a governed operating system for agent-native development—a workspace where humans and AI agents collaborate through deterministic, auditable primitives.
Growthub Local applies Information-Theoretic Transformation to the workspace state:
Causation ITT = A deterministic process that takes a high-entropy workspace state and transforms it into low-entropy, actionable guidance through pure, read-only derivation.
state → eligibility → guidance → action → evidence
This is the engine that powers every operation in the system.
A workspace with many objects, relationships, receipts, configs, sandboxes, traces, and potential inconsistencies is a high-entropy state. The causal derivation layer applies a deterministic compression function:
E(state) = Shannon entropy of workspace state
D(state) = Causal Derivation (compression function)
O(state) = D(state) (low-entropy output)
O(state) = compress(E(state)) where compress is deterministic and information-preserving
From GOVERNED_MCP_CONSOLE_V1.md, the system operates through an explicit, iterative agent loop:
Agent reads the full current workspace state and provenance (all objects, relationships, receipts, traces).
Agent uses causal tools:
simulate_causal_impact — Predict what dashboards, widgets, workflows, or downstream surfaces would be affected by a changetrace_lineage + find_downstream_dependencies — Map actual dependency chains across the workspace graphAgent uses preflight_patch to test the exact change against the Law layer without writing anything. The system checks if the change would violate any governance rules.
Agent emits only sanctioned routes (e.g., PATCH /api/workspace). The governance layer ensures the mutation stays inside the workspace boundary.
Agent re-reads the new state. Live rehydration happens on every call—no stale state, no assumptions.
graph LR
A[Read State] --> B[Reason with Causal Tools]
B --> C[Dry-Run preflight_patch]
C --> D[Governed Hand-off via Sanctioned Routes]
D --> E[Re-read New State]
E --> A
The system uses TypeScript's type system to enforce algebraic constraints on the derivation process. This is the governance shell that ensures all products conform to a governed shape.
MarketplaceProduct
├── SchedulerProduct (executionLane: 'serverless-scheduler')
│ ├── QStashProduct (authRef: 'QSTASH')
│ └── FutureSchedulerProduct
├── DataProduct (executionLane: 'workspace-data')
│ ├── RedisProduct (authRef: 'UPSTASH_REDIS')
│ └── NeonProduct
└── RetrievalProduct (executionLane: 'workspace-retrieval')
├── SearchProduct
└── VectorProduct
The type system enforces that a product must:
executionLaneenvRef for its authRefType constraint → Product shape → Product verification → Type constraint
The type system constrains what products can exist, which enables the causal layer to reason about products, which produces evidence that can be used to refine the type system.
Traditional agent systems scale complexity poorly:
| System Type | Complexity Scaling | Error Rate |
|---|---|---|
| Traditional agent systems | Grows linearly (or worse) with surface area | Compounds over time |
| Growthub's causal-driven system | Marginal cost decreases over time | Remains bounded by governance layer |
more evidence → better derivation → safer actions → more evidence → better derivation
This is the recursive scaling property. The more the system is used, the better it becomes at handling complexity.
Recursive inference vs. the Law:
if (state.patch.violatesLaw) return 403;
The system has recursive capabilities (infinite derivation loops, self-improving drivers) but is bounded by the "Law layer" that enforces governance. This prevents the recursion from becoming unbounded or unsafe.
Official marketplace plugins are governed workspace capabilities installed into the existing Agent Workspace as Code universe. A plugin does not create a second runtime, database, workflow engine, or mutation lane. It registers governed rows, server-side env references, UI affordances, receipts, and provider-specific adapters that operate through the workspace's existing control plane.
The rule: Plugins extend the governed workspace universe; they do not bypass it.
| Layer | Technology |
|---|---|
| Runtime | Node.js (JavaScript/TypeScript) |
| Package Manager | npm |
| Type System | TypeScript with strict algebraic constraints |
| API Layer | Next.js App Router |
| Data Model | API Registry as source of truth |
| Event Sourcing | Receipt ledger (workspace:agent-outcomes) |
| Agent Protocol | MCP (Model Context Protocol) |
| External Providers | Upstash, Supabase, Stripe, Resend, Neon, Cloudflare R2 |
npm create @growthub/growthub-local@latest
Choose Custom AI Governed Workspace, then pick the fastest source:
npm create @growthub/growthub-local@latest -- --profile workspace --out ./my-workspace
npm create @growthub/growthub-local@latest -- --profile self-improving --out ./my-workspace
npx -p @growthub/cli@latest growthub kit download growthub-custom-workspace-starter-v1 --out ./my-workspace --yes
cd my-workspace/apps/workspace
npm install
npm run dev
npm install -g @growthub/cli@latest
growthub workspace status --json
For version grounding, read cli/package.json, packages/create-growthub-local/package.json, and packages/api-contract/package.json on the branch. See Artifact Versions.
Open the Add-ons Marketplace in your workspace, select a provider (e.g., Upstash), and complete the setup flow. The provider row appears in the API Registry with syncStatus: verified.
Open the Workflow Canvas, create a new workflow, and set the Input Node to Serverless Schedule with your desired cron expression.
/scheduleOpen the Workspace Helper and type /schedule. The Schedule Cockpit opens, showing:
| Document | Description |
|---|---|
| Official Marketplace Plugins V1 | The governed plugin model |
| Serverless Scheduler Command Guide V1 | The /schedule command lifecycle |
| Causation ITT Eligibility Drivers | The mathematical foundation of CDI |
| Governed MCP Console V1 | The agent operational loop |
| Claude Code Plugin Marketplace V1 | The governed console packaged for Claude Code |
| Codex Plugin Marketplace V1 | The governed console packaged for Codex app, CLI, and IDE users |
| First-Run Paths | The canonical repo, skill, starter, and template entry paths |
| Governed Workspace Topology V1 | The official AWaC workspace topology |
| Agent Dist Rebuild Guide | Source/dist lane rules and when version bumps are required |
Growthub Local is built on the principle that plugins extend the governed workspace universe; they do not bypass it.
The provider supplies power.
The workspace supplies authority.
The graph supplies causality.
The cockpit supplies operation.
The receipt supplies truth.
MIT © Growthub AI
This system is built on the foundational insight that governance is not optional. The academic and production literature of 2026 converges on this truth:
"Runtime governance is non-negotiable. Deterministic policy enforcement beneath the model layer prevents undesired actions before they reach the wire."
Growthub Local is the implementation of that insight.
Growthub Local — The Governed Workspace OS for Agent-Native Development
"The provider supplies power. The workspace supplies authority. The graph supplies causality. The cockpit supplies operation. The receipt supplies truth."
JavaScript
55.9%
TypeScript
40.2%
CSS
3.5%