AI 与无代码融合的开源平台,让编码 Agent 与人工协作搭建业务系统
NocoBase 是一个开源、可自托管的“AI + 无代码”业务系统构建平台,面向 CRM、ERP、项目管理与内部工具等场景。它的核心主张是:AI 不应从零生成脆弱代码,而是让 Claude Code、Cursor、Codex 等编码 Agent 直接工作在成熟的数据模型、权限与工作流基础设施之上,和可视化 WYSIWYG 界面互相补位。平台内置“AI 员工”角色,可在业务流程中处理文档识别、风险监控、问答填表等任务,并通过 MCP、HTTP API、CLI 开放给外部 Agent 生态。适合需要交付管理系统的一线工程师、产品或实施团队,也适合关注 LLM Agent 工程化的开发者。
NocoBase is an open-source TypeScript platform that merges AI with no-code building for business systems. It was created for teams that need CRM, ERP, admin dashboards, internal tools, or similar applications fast, but without trusting black-box generated code. Instead of asking AI to compose an entire application from scratch, NocoBase gives AI a real platform to stand on: a WYSIWYG interface, standard data models, permissions, workflows, and a plugin system. The result is an environment where AI accelerates delivery while the underlying infrastructure stays production-proven.
NocoBase 是一个开源的 TypeScript 平台,把 AI 与无代码搭建合在一起,面向需要快速交付 CRM、ERP、后台、内部工具等业务系统的团队,同时不让结果变成黑盒代码。它不让 AI 从零生成整个应用,而是给 AI 一个真实平台:可视化 WYSIWYG 界面、标准数据模型、权限、工作流和插件系统。AI 负责提速度,底层设施保持生产级稳定。
AI code generation is fast but often weak exactly where business systems are unforgiving: data models, field-level permissions, workflow state, and auditing. Recreating those from scratch on every project is risky and expensive. NocoBase treats them as prebuilt, production-tested infrastructure. AI agents and no-code users then assemble from these trusted modules. This narrows the gap between an AI-generated demo and a system that can actually run the business.
AI 生成代码很快,却往往在最不能妥协的地方掉链子:数据模型、字段级权限、工作流状态和审计日志。每个项目都从零重建这些能力既危险又昂贵。NocoBase 把它们做成预置、经过生产验证的基础设施。AI agent 和无代码使用者都是在这些可信模块上组装,因此“AI 生成的 demo”与“能支撑业务运转的系统”之间的距离被大大缩短。
NocoBase deliberately keeps two building tracks. On the coding-agent track, tools such as Claude Code, Cursor, Codex, OpenCode, and TRAE get a CLI and can handle setup, development, migration, and release end to end. On the manual track, a WYSIWYG interface lets people switch between usage mode and configuration mode with one click, then visually review and adjust data models, pages, workflows, and permissions. Since both tracks work on the same system, the work can be split naturally: an agent scaffolds a model, a person polishes the UI and interactions, and the agent continues from there.
NocoBase 刻意保留了双通道构建。在 coding agent 通道,Claude Code、Cursor、Codex、OpenCode、TRAE 等工具通过 CLI 可以端到端完成搭建、开发、迁移与发布。在人工通道,WYSIWYG 界面让使用者一键在“使用模式”和“配置模式”间切换,可视化地检查和修改数据模型、页面、工作流与权限。因为两条通道作用在同一个系统上,分工可以很自然:agent 先搭出模型,人再打磨界面和交互,agent 再接着往下做。
Beyond building the system, NocoBase puts AI to work inside it. Built-in AI employees receive business context and can handle analysis, Q&A, form filling, document recognition, risk monitoring, and task routing. Connected to workflows, they participate in decisions and execution on both front-end and back-end sides. External agents also connect through standard interfaces such as MCP, HTTP APIs, CLI, and skills. Platforms including OpenClaw, Hermes, Dify, Coze, and n8n can talk to the system, while channels like Telegram, WhatsApp, Slack, and Gmail can query data and trigger business workflows. Every AI employee has its own role and inherits the same granular permissions as human users, including field-level read/write control, with audit logs recording data changes and workflow triggers.
除了搭建系统,NocoBase 还让 AI 直接在系统内工作。内置 AI 员工能获得业务上下文,承担分析、问答、表单填写、文档识别、风险监控、任务路由等任务;接入工作流后,它们可以参与前台分析或后台决策与执行。外部 agent 也可通过 MCP、HTTP API、CLI 和 skills 等标准接口接入;OpenClaw、Hermes、Dify、Coze、n8n 等平台能连接系统,Telegram、WhatsApp、Slack、Gmail 等渠道可查询数据、触发业务流程。每个 AI 员工有独立角色,并继承与人类用户一致的细粒度权限(含字段级读写),配合审计日志追踪数据变更与工作流触发,让 AI 行为始终可控、可回溯。
Reliability comes from built-in infrastructure rather than regenerated code. NocoBase ships data models, permission controls, workflows, and audit logs out of the box. Its data-model-driven design keeps business data in standard relational structures, decoupled from UI. You can use the platform's own database, external databases, or third-party APIs as data sources. The microkernel architecture treats everything as a plugin, so official and custom plugins can be mixed while staying aligned with the same system conventions. AI-generated plugins and manually built plugins follow the same rules, which also avoids vendor lock-in because business data remains in your own database.
NocoBase 的可靠性来自内置基础设施,而非每次生成的新代码。数据模型、权限控制、工作流、审计日志开箱即用。数据模型驱动的设计让业务数据落在标准关系型结构中,与 UI 解耦;数据源可以是自带的数据库、外部数据库或第三方 API。微内核架构把所有能力视为插件,官方插件与自研插件可以混用,并遵循同样的系统规范;AI 生成的插件和人工开发的插件也遵守同一套规则。数据始终留在你自己的数据库里,因此不会形成平台锁定。
A NocoBase app can be initialized from the official CLI. After installing the CLI, you can create a project like this:
npm install -g @nocobase/cli
nb --version
nb init --ui
nb init --ui bootstraps a full NocoBase application. If you want a coding agent to help you build on top of it, you can run the agent afterwards, for example:
codex # claude, opencode
Detailed instructions are available in the NocoBase docs section on installing an app and the AI Agent Integration Guide.
从官方 CLI 即可初始化一个 NocoBase 应用。安装 CLI 后,可以这样创建项目:
npm install -g @nocobase/cli
nb --version
nb init --ui
nb init --ui 会生成一个完整的 NocoBase 应用。如果想接着用 coding agent 来协助构建,可在初始化后运行 agent 命令,例如:
codex # claude, opencode
更详细的安装步骤和 AI Agent 接入指南见 NocoBase 官方文档。
NocoBase is best suited to data-heavy business systems with structured relationships and permission requirements: CRM, ERP, project management, internal tools, salesforce-like platforms, and admin dashboards. It is also a good fit when you want to iterate with AI but keep human control over model, workflow, and access.
It may be too heavy for a one-off landing page or a simple prototype that does not need relational data, permissions, or audit. And while the AI coding agents perform real development, the safety guarantees depend on configuration: role permissions and audit settings must still be designed by someone. Teams adopting NocoBase should be prepared to think in terms of data models and plugins rather than "ask AI for a complete app and walk away".
NocoBase 适合结构化关系复杂、权限要求高的数据型业务系统:CRM、ERP、项目管理、内部工具、类 Salesforce 平台和管理后台。如果你想用 AI 快速迭代,又希望人对数据模型、工作流和访问权限保留控制权,它也很合适。
如果只是做一次性落地页或不需要关系型数据、权限和审计的简单原型,它可能偏重。另外,coding agent 虽然能完成真实开发,但安全边界仍依赖配置:角色权限和审计设置必须有人设计。采用 NocoBase 的团队需要习惯用数据模型和插件的角度看问题,而不是“让 AI 生成一个完整应用后就交差”。