OntoPlato

agent
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: NOASSERTION
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Basarisiz
  • network request — Outbound network request in deploy/docker-compose.plugins.example.yml
  • network request — Outbound network request in deploy/docker-compose.yml
  • exec() — Shell command execution in ontomato/agent-skills/data-retrieval/scripts/dataset.mjs
  • process.env — Environment variable access in ontomato/agent-skills/data-retrieval/scripts/dataset.mjs
  • network request — Outbound network request in ontomato/agent-skills/data-retrieval/scripts/dataset.mjs
  • process.env — Environment variable access in ontomato/agent-skills/knowledge-governance/scripts/governance.mjs
  • network request — Outbound network request in ontomato/agent-skills/knowledge-governance/scripts/governance.mjs
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

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.

README.md

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.

Documentation

Full bilingual documentation (oriented to both operators and AI agents) is maintained in docs/:

Repository Layout

OntoPlato is a single monorepo containing both the Ontomato core and the OntoPlato platform distribution side by side (earlier core commit history is preserved in ontomato-ai/Ontomato):

  • ontomato/ — Ontomato core engine (workbench-server, agent-runtime, data-engine-core, gateway, open data adapters, SDK, and core packages)
  • platform/ — OntoPlato platform distribution layer (apps/ workbench & data-engine assembly, applications/, packages/ identity/governance/Praxis/brand/extended adapter m3, agent-skills/, and dev/); references the sibling core via ../ontomato. 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.
  • deploy/ — Docker Compose definitions, environment templates, database init SQL, secret & sandbox preflight scripts, and plugin examples (see deploy/README.md)
  • docs/ — Platform capability, deployment, configuration, plugin, and interface documentation
  • Makefile — Root build entry point forwarding image targets (make build, workbench, data-engine, agent-runtime, gateway, praxis) to platform/

Local Build & Development

Clone this single repository — no separate core checkout is required:

cd platform
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 core portion (ontomato/) was previously developed and published under the Apache License 2.0 in ontomato-ai/Ontomato; versions published there remain available under that license.

Yorumlar (0)

Sonuc bulunamadi