Skip to content
Proyek

Tentang

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.

AI dan pembelajaran mesin

Cara angka ini diukur

15 bintang4 Fork +2 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+2
dalam 7 hari
Mengumpulkan riwayat
dalam 15 hari
Mengumpulkan riwayat
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

OntoPlato

English | 简体中文

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
  • ARCH should be amd64 or arm64 matching your server architecture (automatically detected in Step 1).
  • 5.0.0-preview is 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 from ghcr.io/ontomato-ai). If Docker Hub is slow or unreachable in your network, configure a Docker registry mirror or override POSTGRES_IMAGE / WATCHTOWER_IMAGE in .env.
  • Wait about 30 seconds after docker compose up -d --wait completes before opening the browser (the gateway may briefly return 502 for ~10 seconds while the workbench finishes starting).
  • Open http://<PUBLIC_HOST>:3000 and sign in with superAdmin and the ONTOMATO_INITIAL_SUPER_ADMIN_PASSWORD you set in Step 2.

First-Time Setup

A freshly installed instance starts empty:

  1. Sign in as superAdmin and create your first business domain together with its domain administrator (Super Admin Console → Domains → Create Domain).
  2. 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).
  3. 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/:

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/* including m3, 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/ and skills/en/, 20 ontoplato-* skills shared across in-platform and external Agents; see skills/README.md)
  • deploy/ — Docker Compose definitions, environment templates, database init SQL, secret & sandbox preflight scripts, and plugin examples (see deploy/README.md)
  • docker/ & dev/ — Container build Dockerfiles and local development Compose files
  • docs/ — Platform capability, deployment, configuration, plugin, and interface documentation
  • Makefile — 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.

Jelajahi proyek terkait

Memuat…