LumiBase is built to work natively with AI coding agents. Get your agent up to speed instantly:
# For any AI agent — paste this into your first message:
Read https://docs.lumibase.dev/en/agent-setup/prompt.md and follow the setup instructions.| Agent | Config file | Guide |
|---|---|---|
| Claude Code | CLAUDE.md (this repo) |
claude-code.md |
| Cursor | .cursorrules (this repo) |
cursor.md |
| GitHub Copilot | .github/copilot-instructions.md |
github-copilot.md |
| OpenAI Codex | AGENTS.md (this repo) |
codex.md |
| Windsurf | See guide | windsurf.md |
LLM-friendly docs index: docs/llms.txt
LumiBase is a Content Operating System (Content OS) — a runtime where AI agents operate content while humans set intent, taste, and accountability. A traditional CMS is a tool humans use to manipulate content. LumiBase inverts that: you declare the desired state of your content, and a control loop of governed agents converges toward it — continuously, with full provenance and human-held veto.
Built Edge-native on Cloudflare Workers for high-performance multi-website delivery, LumiBase pairs that delivery layer with an Agent Harness and an earned-autonomy trust model so automation is something agents earn, not something granted. Read the full thesis in docs/en/ai-native-vision.md.
CMS → Content OS: the unit of work shifts from operations (create item, edit field, publish) to intent (a declarative goal + constraints + budget); the operator shifts from editor-in-the-UI to agent-in-a-harness with a human reviewing exceptions; and content state shifts from static (correct at last edit) to live (continuously reconciled toward its SLO).
- Intent-driven operation: declare content SLOs (e.g. "every published
producthas ≥1 image, a 50–200 word description, andvi+entranslations"); agents converge content toward them - Reconciliation control loop: continuous drift detection + a reconciler that raises goals on drift and fixes them within a write budget
- Earned-autonomy trust ledger (L0–L4): per (site, agent, capability) autonomy from Shadow → Propose → Co-sign → Veto-window → Autopilot, with data-driven promotion, auto-demotion on incidents, and a four-scope kill switch
- Tenant Constitution: versioned, hashed publish-gate evaluators (rule DSL + LLM-judge); artifacts that fail the constitution never publish, at any autonomy level
- Provenance-first revisions: every revision records the agent/run/model, references, constitution hash, evaluation, and approver — exposed on the Delivery API via
?provenance=true - Multi-agent newsroom: a role library with planner delegation, narrow per-role capability grants, and agent-as-reviewer gated approvals with a self-review ban
- Studio Mission Control: exception inbox, trust ledger, kill-switch UI, and per-field pin badges
- Edge-first + true multi-tenancy: Cloudflare Workers delivery, hard
site_idisolation, page-hydration API, per-field AES-GCM encryption, and type-safe SDKs
lumibase/
├── apps/
│ ├── cms/ # Hono.js backend (Cloudflare Workers)
│ ├── studio/ # No-code admin SPA (React + Vite)
│ ├── docs/ # Vite docs viewer (Cloudflare Pages)
│ ├── landing/ # Next.js marketing site
│ ├── marketplace/ # Next.js marketplace site
│ └── consumer/ # Next.js delivery API demo
├── packages/
│ ├── database/ # Drizzle ORM schema + migrations
│ ├── shared/ # Types, zod schemas, policy DSL, field DSL
│ ├── sdk/ # JS SDK (REST + WS) + typegen core
│ ├── ui/ # Shared shadcn components + CVA tokens
│ └── extension-sdk/ # Types/helpers for building extensions
├── docs/ # Architecture + feature specs + roadmap
├── architecture.md # Root summary (update on structural changes)
├── .cursorrules # AI agent instructions
└── package.json
pnpm install
pnpm --filter @lumibase/cms dev # Hono API on :1989
pnpm --filter @lumibase/studio dev # Studio SPA on :2026 (proxies /api → :1989)The Studio placeholder dashboard pings /api/v1/utils/health to verify the wire-up. Full documentation lives in docs/; the task roadmap is in docs/en/roadmap/tasks.md. For production release operations, see the upgrade runbooks in English and Vietnamese.
Every release must pass a green GitHub Actions CI run before it can be published or deployed. The required CI gate runs on every pull request and every push to main, and includes dependency installation with the locked pnpm version, version policy validation, typechecking, tests, lint for the current stable allowlist, and the production build.
Current release: v0.5.0 (2026-06-12) — Content OS. This release introduces content intents (SLOs), the drift/reconciliation control loop, the earned-autonomy trust ledger (L0–L4) with the L3 veto window and a four-scope kill switch, the tenant constitution, provenance-first revisions, the multi-agent newsroom with agent-as-reviewer, and Studio Mission Control. It ships 9 schema migrations (0019–0027) — back up your database before upgrading.
LUMIBASE_VERSION=0.5.0 docker compose -f docker/docker-compose.yml -f docker/docker-compose.prod.yml up -dSee CHANGELOG.md for upgrade steps, rollback notes, compatibility details, and backup guidance.
LumiBase uses 1989 as its default CMS API port as a small tribute to the Web's origin story: in March 1989, Tim Berners-Lee wrote the proposal that became the World Wide Web. The same year also evokes walls coming down, which fits a headless CMS built to separate backend content infrastructure from frontend presentation.
- Edge-First: Runs entirely on Cloudflare Workers & Hyperdrive.
- True Multi-Tenancy: Hard-coded
site_idisolation. - Page Hydration API: Delivers layout and data in a single payload.
- GitOps Ready:
cms config:exportfor roles and schemas. - Agent Harness: Govern AI agents with goals, context, capabilities, approvals, evaluations, and artifact commits.
For detailed AI-assisted development guidance, including database architecture patterns, edge optimization strategies, and UI/UX integration patterns, see docs/ai-skills.md. This comprehensive guide provides the prompts and patterns used to accelerate LumiBase development with AI assistance.
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by Directus
- Built with Cloudflare
- UI components from shadcn/ui
⭐ If you find this project helpful, please consider giving it a star!
Made with ❤️ by Khuepm
