English | Español | Français | Deutsch | Português | Русский | Bahasa Indonesia | Tiếng Việt | 简体中文 | 繁體中文 | 日本語 | 한국어
AI + NocoBase. Build reliable business systems.
NocoBase is the open-source platform for enterprises to build and run business systems with AI. People define needs and make decisions; agents write code and execute; NocoBase keeps systems reliable and the process under control.
This repository is the source code for NocoBase Core, the open-source application foundation built for AI development. Every new app initializes with 30+ ready-made building blocks, one consistent architecture, and built-in AI capabilities, so coding agents focus on your business logic and released systems run independently.
https://github.com/user-attachments/assets/007bac15-397a-42ba-a2d3-7ca90d92820f
Website · Core Overview · Documentation · Quick Start · Studio · Open-Source Apps · Community
Looking for the NocoBase 2 no-code platform? See the
2.0branch and nocode.nocobase.com.
Why NocoBase Core
AI writes code fast. Building reliable business systems is still hard.
Even when your team already builds with Claude Code, Codex, Cursor, OpenCode, or Antigravity, turning fast code generation into production business systems runs into three recurring engineering problems:
-
Rebuilding foundational modules from scratch
Permissions, authentication, workflow engines, approvals, and file storage are complex, full of edge cases, and expensive to verify when generated from scratch by AI for every project. NocoBase Core provides and maintains 30+ proven building blocks out of the box, so coding agents write only your business logic and testing stays focused on your own features.
-
Architecture drifts out of control
Switch developers, models, or even sessions, and AI tends to improvise differently each time, making the codebase harder to maintain over time. NocoBase Core ships one project structure,
AGENTS.mdarchitecture rules, and versioned development skills that synchronize with every upgrade, keeping your system consistent for years. -
General AI assistants sit outside business systems
Standalone AI assistants cannot read live business data safely, lack permission scopes and audit records, and can only answer questions instead of handling operational work. NocoBase Core includes model services, business agent orchestration, and a versioned AI knowledge base, so business agents can work inside your app 24/7 under their owner's permissions and ask people to confirm key actions.
Your business source code stays in your own Git repository, and released apps run independently with no platform lock-in.
Quick start
Requires Node.js 24+ and pnpm 11. Windows users should use WSL. The steps below use SQLite by default, so no separate database server is needed.
1. Create and start an app
With a coding agent (recommended): Open Claude Code, Codex, Cursor, OpenCode, Antigravity, or any coding agent in an empty directory and send:
Read https://docs.nocobase.com/getting-started/develop-your-first-app/ and create a local NocoBase 3 app in this empty directory using the default template and SQLite. Start it and share the local URL and initial sign-in credentials.
Or create it manually from the terminal
PNPM_CONFIG_MINIMUM_RELEASE_AGE=0 pnpm create @nocobase/app@beta my-app --template-tag=beta
cd my-app
pnpm nocobase config init --dialect sqlite
pnpm nocobase config check
pnpm dev
2. Sign in
Open the Local: URL returned by your coding agent or printed by pnpm dev (for example http://127.0.0.1:13000/main/) and sign in with the default administrator account: username nocobase, password admin123.
After signing in, the home page lists Core's built-in building blocks along with copyable starter prompts:
Open System settings in the bottom-left sidebar to explore the built-in capabilities ready out of the box, including users and role permissions, sign-in methods, workflows, notifications, AI model services, file storage, database explorer, and plugins:
3. Build your first business feature
In the application root directory, send a business requirement to your coding agent:
Build customer management. Customers have a name, contact details, notes, assigned sales rep, next follow-up date, and status (lead, in progress, or won).
Users can create, view, edit, and delete customers, search by name, and filter by status.
Sales managers manage all customers; sales reps can only view customers assigned to them and update their status; read-only users can view all customers without modifying them.
Describe only the business rules. Your coding agent uses Core's synchronized Skills to build database migrations, API routes, role-based permissions, UI pages, localization, and tests on one consistent architecture.
See the Quick Start guide for PostgreSQL, MySQL, SQL Server, Oracle, and production deployment with Docker or PM2.
How NocoBase Core compares
| Dimension | Coding tools alone (vibe coding) | Traditional low-code platforms | NocoBase Core + coding tools |
|---|---|---|---|
| Foundational modules | AI rebuilds permissions, auth, workflows, and approvals from scratch for every project | Pre-built modules tied to proprietary runtime configuration | 30+ proven open-source building blocks ready out of the box and continuously maintained |
| Architecture over time | Structure drifts as developers, models, or sessions change | Constrained by preset schemas and extension limits | One project structure, AGENTS.md standards, and versioned Skills shipped with Core |
| Capability ceiling | High, but engineering overhead grows fast on complex systems | Hits workarounds on custom business rules, UIs, or deep integrations | Standard TypeScript source code with no proprietary ceiling |
| Code ownership and runtime | You own the source code | Depends on proprietary metadata and platform runtime | Business source stays in your own Git repo and runs independently after release |
| Day-to-day AI operations | Requires building model integration, agent permissions, and audit trails by hand | Produces conventional software operated manually by people | Built-in model services, business agents under owner permissions, and an AI knowledge base |
What's included in Core
Every initialized app comes with ready-to-use building blocks backed by modular packages and plugins in this repository:
| Area | Included building blocks |
|---|---|
| Users and access | Sign-in and sessions (password, resets, OIDC, enterprise SSO, 2FA, passkeys, CLI device login via Better Auth), user management, RBAC for pages and actions, data access rules (default scope, sharing rules, restriction rules), API keys, and one-time verification codes |
| Data and files | Data models and migrations (@nocobase/db) on SQLite, PostgreSQL, MySQL, SQL Server, and Oracle, read-only database explorer, file storage with uploads/preview/ACLs, Office template printing, local document text extraction, and database/file backup and restore |
| Workflows and automation | Declarative record lifecycles and multi-step approvals with full audit history, scheduled jobs, persistent queues and recurring jobs (in-process or BullMQ), transactional message broker (outbox/inbox), and concurrency locks |
| Messaging and realtime | Notification runtime with delivery logs, authenticated in-app inbox, built-in channels (SMTP, Resend, Feishu, DingTalk), browser Web Push, resumable mailbox sync and sending, and authorized WebSocket realtime topics |
| Built-in AI | Unified model services for cloud or locally hosted models, business agent orchestration and run history under owner permissions, versioned Markdown AI knowledge base with search and proposals, and Agent Client Protocol (ACP) sessions |
| UI, operations, and devex | Reusable page framework and UI component library (data tables, flow diagrams, rich text, charts, light/dark themes), multi-language i18n, versioned AES-256-GCM secret encryption and rotation, request audit logging, caching, demo mode, and CLI builds/deploys/rollbacks |
Explore the repository structure
| Directory | Contents |
|---|---|
packages/app/ |
Application runtime (app-server, app-client, app-cli, app-skills, app-websocket, app-host, agent-runner) |
packages/plugins/ |
Product feature plugins (authentication, authorization, users, files, notifications, mail, scheduler, agents, knowledge, releases, and more) |
packages/libs/ |
Standalone libraries (db + 5 SQL dialects, lifecycle, authorization, secrets, audit, queue, jobs, message-broker, realtime, drive, i18n, mailer, backup, and more) |
packages/templates/ |
Runnable starter templates scaffolded by create-app (app-template-default, app-template-examples) |
packages/examples/ |
Readable reference plugins demonstrating individual Core building blocks |
packages/tools/ |
Scaffolding, testing, deployment, and build tooling (create-app, create-plugin, app-installer, app-testing, dev-config) |
ui-library/ |
Shared React UI component registry built on Tailwind CSS and Base UI / shadcn |
skills/ |
Global agent skills (nocobase-create-app, nocobase-app-installer, nocobase-app-plugin-development) |
Architecture and tech stack
Core builds on a standard, widely known TypeScript stack with zero proprietary language or metadata lock-in:
- Backend: Node.js 24+, TypeScript, Hono, Better Auth,
@nocobase/db(Knex-based query and migration layer for SQLite, PostgreSQL, MySQL, SQL Server, and Oracle) - Frontend: React, Vite, Tailwind CSS, Base UI / shadcn (
ui-library), TanStack Table and Query, React Router, React Hook Form, ECharts, TipTap, React Flow - Quality and deployment: Vitest, Playwright, Oxlint, Prettier, Docker, PM2, and
@nocobase/app-installer
Every generated app starts with one clean layout that both humans and coding agents can navigate immediately:
my-app/
├── AGENTS.md # Project architecture rules loaded by coding agents
├── .agents/skills/ # Versioned Core development, plugin, upgrade, and deployment skills
├── client/ # React pages, components, locales, and theme
├── server/ # Hono API routes, business logic, and plugins
├── database/ # Schema migrations and seeds (immutable history)
├── cli/ # Application-owned CLI commands
└── tests/ # Unit, API permission, and Playwright browser tests
When a new version of Core is released, pnpm nocobase skills sync updates the bundled skills and the nocobase-app-upgrade skill merges template updates without overwriting your business code or executed migrations.
Going further with NocoBase
You can start directly with Core and run your business apps in production on their own. When you are ready to expand across teams or start from a finished app, the rest of the NocoBase platform connects cleanly:
-
NocoBase Studio (team development workbench)
When projects multiply and you need team collaboration, governance, and automated quality gates, Studio brings Claude Code, Codex, OpenCode, and other coding tools across personal computers and team servers into one 24/7 agent team. Business users and tech leads submit requests, inspect live test environments, and approve releases on desktop or mobile. Studio Community Edition is free to start, and released Core apps run independently without Studio in the request path.
-
NocoBase Solution (open-source business apps)
A line of free, open-source enterprise apps built on Core, including NocoCRM, NocoITAM, and NocoReach. Business agents handle routine execution and people make key decisions. Install and use them out of the box, or customize them with your own coding tools or in Studio.
Community, contributing, and license
- Ask questions and share patterns in the community forum.
- Report reproducible bugs and request improvements in GitHub Issues.
- Read the documentation for setup guides, capability references, and tutorials.
Contributions are welcome. Before making changes to this repository, read AGENTS.md and the development instructions relevant to your change.
NocoBase Core is free and open source under the NocoBase License Agreement, ready for production and client delivery. See Editions & Pricing and License for details on Community, Professional, and Enterprise editions.