ontomato-ai/OntoPlato
Sobre
Open-source enterprise ontology platform built on Ontomato — multi-domain identity & RBAC/ABAC governance, identity plugins, enterprise data adapters, Praxis workflow runtime, and workbench distribution.
IA e aprendizado de máquinaCrescimento medido de estrelas
- em 24 h
- +2
- em 7 dias
- Coletando histórico
- em 15 dias
- Coletando histórico
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalOntoPlato
OntoPlato is an open-source ontology platform distribution built on top of Ontomato. It extends the Ontomato core with multi-domain identity and RBAC/ABAC governance, organizational data scopes, identity & roster plugins, enterprise data adapters, workflow execution (Praxis), and the OntoPlato workbench distribution.
Quick Start
Requires Docker 26+ (with Docker Compose v2), Python 3.8+, and openssl.
1. Clone the repository and initialize .env (auto-detects ARCH as amd64 or arm64, and generates random database and runtime tokens):
git clone https://github.com/ontomato-ai/OntoPlato.git
cd OntoPlato/deploy
cp .env.example .env
cat >> .env <<EOF
ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
ONTOMATO_VERSION=5.0.0-preview
POSTGRES_PASSWORD=$(openssl rand -hex 16)
ONTOMATO_MODEL_RUNTIME_TOKEN=$(openssl rand -hex 24)
EOF
2. Add your access host and initial superAdmin password to .env (edit .env and append these two lines with your own values):
PUBLIC_HOST=your-server-ip-or-domain
ONTOMATO_INITIAL_SUPER_ADMIN_PASSWORD=your-strong-password
3. Generate internal secrets, pull images, run sandbox preflight, and start:
python3 prepare-env.py .env
docker compose pull
python3 prepare-env.py .env --sandbox-preflight
docker compose up -d --wait
ARCHshould beamd64orarm64matching your server architecture (automatically detected in Step 1).5.0.0-previewis a preview tag whose contents may be updated as fixes land.- PostgreSQL (
pgvector/pgvector:pg18) and optional Watchtower (nickfedor/watchtower:1.23.1) pull from official upstream Docker Hub images (while OntoPlato application images pull fromghcr.io/ontomato-ai). If Docker Hub is slow or unreachable in your network, configure a Docker registry mirror or overridePOSTGRES_IMAGE/WATCHTOWER_IMAGEin.env. - Wait about 30 seconds after
docker compose up -d --waitcompletes before opening the browser (the gateway may briefly return502for ~10 seconds while the workbench finishes starting). - Open
http://<PUBLIC_HOST>:3000and sign in withsuperAdminand theONTOMATO_INITIAL_SUPER_ADMIN_PASSWORDyou set in Step 2.
First-Time Setup
A freshly installed instance starts empty:
- Sign in as
superAdminand create your first business domain together with its domain administrator (Super Admin Console → Domains → Create Domain). - Sign out and sign in as the domain administrator. Under System Settings → Models → Providers and Models, add your model provider(s) and models, then select both the domain default chat model and embedding model under Model Usage (both must be selected to save; if your chat provider does not offer an embedding model, add a provider that does).
- Before running data queries, connect a data source and build an ontology. See Configuration, Model and Data, and Quick Start Guide (中文快速开始).
Optional External Data Adapter Plugins
OntoPlato ships with built-in open data adapters and supports loading additional external data adapters via Java SPI without modifying product images. To install a custom or third-party adapter plugin, place its plugin subdirectory (containing the plugin JAR and any vendor JDBC driver JAR) under deploy/backend_data/adapters/ (mounted at /deploy/adapters/ inside the container), and restart the data engine:
docker compose restart datarag
See Data adapter plugins for directory layout, isolation, and plugin API version rules, and ontomato-ai/ontoplato-plugins for official external adapters (Dameng, IBM DB2, Oracle).
Agent Skills
OntoPlato maintains all 20 built-in ontoplato-* Agent Skills centrally under skills/ (skills/zh/ and skills/en/), using the exact same files for both in-platform agents and external Agents (external skill scripts require Node.js 24+):
- Install Chinese skills:
npx skills add https://github.com/ontomato-ai/OntoPlato/tree/main/skills/zh --skill <ontoplato-*>
- Install English skills:
npx skills add https://github.com/ontomato-ai/OntoPlato/tree/main/skills/en --skill <ontoplato-*>
For example, install ontoplato-query, ontoplato-analyst, ontoplato-model-builder, ontoplato-app-builder, ontoplato-workflow-admin, or ontoplato-permission. You can also browse all 20 built-in skills directly in Ontology manager → Capabilities → Skill and export any skill as a complete ZIP package (recommended when you need bundled runtime dependencies such as offline PPT rendering). See skills/README.md for the full skill catalog and usage guide.
Documentation
Full bilingual documentation (oriented to both operators and AI agents) is maintained in docs/:
- 简体中文文档 — 快速开始 · 系统架构 · 安装部署 · 配置参考 · 运维与更新
- English Documentation — Quick Start · Architecture · Installation · Configuration · Operations
Repository Layout
OntoPlato is a single monorepo organized by function at the repository root (earlier core commit history is preserved in ontomato-ai/Ontomato):
apps/— Final application entrypoints (workbench,data-engine,agent-runtime,gateway,praxis)packages/— Shared TypeScript, Vue, and Java packages (workbench-server,agent-runtime,data-engine-core,data-adapters/*includingm3,apps-sdk,contracts,platform-auth,skill-scripts, and UI packages). OntoPlato supports integrating external identity plugins over its HTTP contract (docs/en/identity-plugins/contract-v1.md) and external data adapter plugins via Java SPI (docs/en/capabilities/data-adapter-plugins.md); official identity plugins are not bundled with the open-source distribution at this time.applications/— Built-in application sources (data-agent)skills/— Unified built-in Agent Skills (skills/zh/andskills/en/, 20ontoplato-*skills shared across in-platform and external Agents; seeskills/README.md)deploy/— Docker Compose definitions, environment templates, database init SQL, secret & sandbox preflight scripts, and plugin examples (seedeploy/README.md)docker/&dev/— Container build Dockerfiles and local development Compose filesdocs/— Platform capability, deployment, configuration, plugin, and interface documentationMakefile— Root image build entry point (make build,workbench,data-engine,agent-runtime,gateway,praxis)
Local Build & Development
Clone this single repository and run commands directly from the repository root:
pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
To build container images locally from the repository root, run make build (or individual targets such as make workbench, make data-engine). Container images are published to GHCR under ghcr.io/ontomato-ai/ontoplato-* (configurable via IMAGE_REGISTRY). See docs/en/deployment/build-and-release.md / docs/zh/deployment/build-and-release.md for build details.
License
The entire OntoPlato repository is licensed under a modified Apache License 2.0 — see LICENSE and NOTICE for full terms and conditions. The earlier Ontomato core was previously developed and published under the Apache License 2.0 in ontomato-ai/Ontomato; versions published there remain available under that license.
Explore projetos relacionados
Carregando…