Skip to main content
Apache-2.0 Open Source100% Self-HostedVietnamese-Firstv0.3.1 Stable

Enterprise Self-Hosted RAG Verifiable citations, strict abstention without evidence

Enterprise-grade RAG platform: Workspace-scoped knowledge, hybrid Dense + Sparse + Graph retrieval, 2-stage Flowable BPMN document approval, and embedded Lakehouse DuckDB analytics — 100% on your own infrastructure.

Interactive RAG Showcase — Live Retrieval & Citation Flow

Select a business scenario to inspect:

Real-time Processing Stages:TTFT < 45ms • 100% On-Premise Sovereign
✓
Truy hồi hỗn hợp (Dense + BM25 + Đồ thị Kùzu)Tìm thấy 3 đoạn tài liệu đối sánh
✓
Kiểm tra quyền hạn & Dung hợp RRFTenant lọc ORG_OWNER / WORKSPACE_ADMIN
✓
Suy luận Ollama Vylinh 3BĐính kèm trích dẫn kiểm chứng
User Query:
Q:How is the 2-stage internal document approval workflow executed?
Verified Response from OpenVie:Click [S1], [S2] to inspect sources
Internal documents follow a 2-stage approval workflow powered by an embedded Flowable BPMN engine. Stage 1 requires review by the WORKSPACE_ADMIN; upon approval, it escalates to Stage 2 for final decision by the ORG_OWNER . Anti-self-approval rules prevent authors from approving their own documents, governed by a default 24h reminder / 48h escalation SLA.
Citation Inspector2 nguồn
🔍

No citation selected

Click on [S1] or [S2] inside the answer to view source excerpt and confidence.

Production Deployment with Docker Compose
cp .env.production.example .env.productionchmod 600 .env.production# Configure TOKEN_KEY secret & database credentials...docker compose -f docker-compose.prod.yml --env-file .env.production up -d --build# APISIX edge gateway ready at :8088 → Open /setup
100%
Data sovereignty on private infrastructure
Apache 2.0
Open source, zero license fees
2 Stages
e-Office approval on embedded Flowable BPMN
3 Roles
Strict RBAC: ORG · WORKSPACE · MEMBER
Hybrid RAG
Dense + BM25 + Kùzu Graph Fusion
DuckDB OLAP
Instant Lakehouse analytics on Parquet

Core Solutions

Three Critical Enterprise Challenges — Solved by OpenVie

No vague claims: Concrete technical mechanisms running in the repo, fully verifiable in architectural docs.

01Verified Mechanism

How do you prevent LLM hallucinations in internal documents?

OpenVie synthesizes answers strictly grounded in your workspace knowledge base, marking exact citations [S1] down to document snippets. When no supporting evidence is found, it triggers intelligent abstention rather than speculating.

💡Citations appear only after Spring authenticates user access and persists the final response.
02Verified Mechanism

Must sensitive data remain strictly on-premises?

All models run locally via Ollama (chat Vylinh ~3B; embedding BGE-M3). The platform self-hosts completely on your private servers or VPC, with zero bytes of confidential data leaking to external clouds.

💡External OpenAI-compatible endpoints can be optionally configured if desired by the operator.
03Verified Mechanism

How are internal documents vetted before knowledge ingestion?

Integrated embedded Flowable BPMN engine enforces a 2-stage approval workflow: stage 1 WORKSPACE_ADMIN, stage 2 ORG_OWNER. Features automated SLAs, anti-self-approval rules, and an immutable audit trail.

💡Approval decisions for one's own documents must come from an authorized peer reviewer.

Architecture & Data Plane

Transparent & Sovereign Architecture

Microservice-ready architecture cleanly separating control plane, data plane, and AI inference plane.

Tiered Architecture Blueprint

Decoupled, Transparent Microservice Architecture

💡 Click any component to inspect specifications
1. Perimeter & Client Edge PlaneEdge Security
↓ luồng dữ liệu & xác thực mTLS / SSE ↓
2. Core Business & Workflow PlaneSpring Boot 3 + Flowable
↓ luồng dữ liệu & xác thực mTLS / SSE ↓
3. AI Inference & Retrieval PlaneFastAPI + Ollama (Local)
↓ luồng dữ liệu & xác thực mTLS / SSE ↓
4. Storage & Lakehouse PlaneMulti-Store & DuckDB OLAP
⚙️

Spring Boot 3 API:8080

Giao thức: RESTful HTTP JSON, SSE Streaming
docs/ARCHITECTURE.md §1 §3
Core Responsibilities & Capabilities:

Core business state manager, 3-role multi-tenant RBAC, secure chat sessions, M2M ovk_ API keys, and HMAC-signed Webhook emitter.

Data Ownership & State Boundary:

Authoritative owner of PostgreSQL OLTP

✓ Strictly follows Single Source of Truth principles, preventing state contention.

🛡️Strict Data Ownership Boundaries

Spring Boot API

Manages business state, multi-tenant RBAC, secure chat sessions, and Flowable BPMN workflow execution on PostgreSQL.

Single Source of Truth
Python AI Service

Powers multi-stage retrieval (Qdrant Vector + Kùzu Graph) and local LLM inference, strictly decoupled from core business state.

Single Source of Truth
SeaweedFS S3

Stores raw original files and partitions Snappy Parquet Lakehouse files by tenant/year/month.

Single Source of Truth
Embedded DuckDB

Executes analytical OLAP queries directly against Parquet data at blazing speeds without impacting PostgreSQL OLTP.

Single Source of Truth

Architecture specifications grounded in docs/ARCHITECTURE.md §1 §3

Platform Capabilities

Integrated Enterprise-Grade Capabilities

Optimized specifically for Vietnamese and engineered to satisfy strict private infrastructure requirements.

Production ReadyModular ExtensionOperator Configured
#01
Production Ready

Cited Chat with [S1] References

Interactive Q&A over workspace knowledge bases via low-latency SSE streaming. Every answer links verifiable citations and automatically abstains when facts are missing.

#02
Production Ready

Hybrid Retrieval: Dense + Sparse + Graph

Fuses the power of BGE-M3 vector embeddings, BM25 keyword matching, and Kùzu Knowledge Graph. Rewrites conversational follow-ups and merges rankings via RRF.

#03
Production ReadyModular Extension

Multi-Format Document Ingestion

Asynchronous ingestion of PDF, DOCX, TXT, MD, HTML, XLSX, CSV with SHA-256 deduplication. Activate optional OCR for scanned docs and ASR for audio/video on demand.

💡 OCR & ASR — Flexible Modular Extensions
#04
Production Ready

2-Stage e-Office BPMN Approval

Embedded Flowable BPMN engine in the primary API runtime. Document lifecycle management with automated SLAs (24h reminder / 48h escalation) and anti-self-approval enforcement.

#05
Production Ready

Enterprise Identity & OIDC SSO

Keycloak OIDC SSO (PKCE S256) or password/JWT. IdP roles map directly to 3 RBAC tiers: ORG_OWNER, WORKSPACE_ADMIN, MEMBER. Issues machine-to-machine (M2M) ovk_ API keys.

#06
Production Ready

Lakehouse & Embedded DuckDB OLAP

Real-time CDC via RabbitMQ writes Snappy-compressed Parquet on SeaweedFS S3. Embedded DuckDB runs complex analytical SQL queries without slowing down primary databases.

#07
Production Ready

Headless REST API & Signed Webhooks

100% of capabilities exposed over standard RESTful endpoints at /api/v1/**. HMAC-SHA256-signed webhooks notify external systems with an outbox-backed retry mechanism.

#08
Production Ready

APISIX Edge Security & Virus Quarantine

Apache APISIX edge gateway enforces route-based rate limits and security headers. ClamAV scans byte streams INSTREAM, quarantining malware at the perimeter before storage.

Security & Sovereignty

Internal Data, Your Own Private Infrastructure

Engineered to satisfy the stringent requirements of enterprise IT, regulated industries, and sovereign institutions:

Embedded BPMN e-Office Workflow

Strict 2-Stage Internal Document Lifecycle Control

MEMBER / ADMINSHA-256 Check

1. Draft & Upload

Document scanned by ClamAV malware quarantine and assigned PENDING_STAGE1 status.

Trạng thái:INIT_DONE
WORKSPACE_ADMIN24h Reminder SLA

2. Stage 1 Review

Workspace Admin vets document content. Anti-self-approval rule prevents author from self-approving.

Trạng thái:VETTED
ORG_OWNER48h Escalation SLA

3. Stage 2 Approval

Organization Owner issues the final verdict. Decision is signed into an immutable audit log.

Trạng thái:APPROVED
Flowable EngineReal-time

4. Published & Ingested

Status changes to APPROVED, RabbitMQ triggers CDC to Lakehouse, activating vector & graph indexing.

Trạng thái:KNOWLEDGE_ACTIVE
✓ Audit Trail:All actions recorded: Reviewer ID, timestamp, IP, cryptographic hash, and webhook.approved dispatch.
X-OpenVie-Signature: HMAC-SHA256
100% Data Sovereignty

All data, search indexes, and language models operate entirely within your private perimeter, preventing confidential data leaks.

✓ Enterprise Grade
Multi-Tenant Isolation

Enforced tenant_id filtering across every tier: PostgreSQL records, Qdrant vector spaces, and Kùzu graph partitions.

✓ Enterprise Grade
Audit Trails & Lineage

Immutable logs for all approvals, queries, and uploads anchored by SHA-256 hashes and uploader provenance.

✓ Enterprise Grade
Perimeter Malware Scanning

ClamAV inspects uploaded byte streams INSTREAM, isolating malware before document parsing and ingestion queues.

✓ Enterprise Grade
SHA-256 Backup & Disaster RecoveryOperator Configured

Automated backup.sh and restore.sh scripts verified against SHA-256 manifests for rapid disaster recovery drills.

✓ Enterprise Grade
3-Tier RBAC Security

Strict role enforcement across Organization Owners, Workspace Admins, and regular Members.

✓ Enterprise Grade
🔒
Sovereignty & Security Guarantee

OpenVie puts complete technological control into your engineering team's hands: full authority over data retention policies, network zoning, TLS certificates, and identity integration.

API & Integration

Headless Core — 100% Exposed via HTTP JSON

OpenVie's core is headless: All capabilities are accessible via HTTP JSON at /api/v1/**, ready for seamless integration into existing DMS, ERP, or portal architectures.

Create Machine (M2M) API Key — Automated Service Auth
curl -X POST "$BASE/api/v1/admin/api-keys" \  -H "Authorization: Bearer $ACCESS_TOKEN" -H 'Content-Type: application/json' \  -d '{"name":"DMS-Bridge","workspaceId":"<workspace-uuid>","role":"MEMBER"}'# → Returns 201 Created with secret key ovk_... (revealed once)
Synchronous Server-to-Server Chat (REST API)
curl -X POST "$BASE/api/v1/chat/sessions/$SESSION_ID/messages" \  -H "Authorization: Bearer $ACCESS_TOKEN" \  -H 'Content-Type: application/json' -H 'Accept: application/json' \  -d '{"content":"Summarize this security policy document","documentIds":["<doc-uuid>"]}'
Register Signed Webhook (HMAC-SHA256)
curl -X POST "$BASE/api/v1/admin/webhook-endpoints" \  -H "Authorization: Bearer $ACCESS_TOKEN" -H 'Content-Type: application/json' \  -d '{"name":"DMS-Webhook","url":"https://dms.example.com/hooks","events":["document.status.changed","workflow.approved"]}'# → 201 Created with signing secret whsec_... for payload verification

⚡Real-time Webhook Events (Signed with X-OpenVie-Signature)

document.status.changedworkflow.startedworkflow.approvedworkflow.rejectedworkflow.escalatedwebhook.test

Standard JSON envelope: { id, type, occurred_at, workspace_id, data } with an Outbox pattern for guaranteed delivery and Idempotency-Key deduplication.

Standards & Guarantees

Architectural Standards & Data Sovereignty

Open, transparent architecture delivering complete technological sovereignty to your engineering team.

✓Production-Ready Capabilities

  • ✓Verifiable cited document chat with [S1] references and access-controlled sources
  • ✓Intelligent abstention mechanism that suppresses hallucinations when evidence is absent
  • ✓Hybrid multi-stage retrieval: Dense Vector (BGE-M3) + BM25 Sparse + Kùzu Graph RAG with RRF
  • ✓Asynchronous multi-format ingestion: PDF, DOCX, TXT, MD, HTML, XLSX, CSV
  • ✓2-stage e-Office document review and approval on embedded Flowable BPMN
  • ✓Keycloak OIDC SSO (PKCE S256) + password/JWT with 3-tier enterprise RBAC
  • ✓Headless REST API /api/v1/**, M2M ovk_ keys, and HMAC-SHA256 signed webhooks
  • ✓Snappy Parquet Lakehouse on SeaweedFS S3 with embedded DuckDB OLAP
  • ✓APISIX perimeter gateway, ClamAV INSTREAM malware quarantine, and internal mTLS gRPC
  • ✓SHA-256 verified disaster recovery and automated backup scripts

⚡Open Commitments & Operational Freedom

  • ⚡100% On-Premise: Never sends confidential data or queries to third-party public clouds
  • ⚡Apache-2.0 Open Source: Zero license fees, zero per-seat taxes, zero hidden charges
  • ⚡Zero Vendor Lock-in: Full access to inspect and audit 100% of backend and frontend source code
  • ⚡Modular AI flexibility: Pluggable adapters for local Ollama, vLLM, or private model endpoints
  • ⚡Extensible OCR & ASR: Activate Tesseract/VLM and Faster-Whisper modules when needed
  • ⚡Clean OLAP/OLTP separation: Analytical DuckDB queries never slow down the operational DB
  • ⚡Perimeter security control: Operators retain full freedom to configure WAF and TLS termination
  • ⚡Industry-standard observability: Pre-provisioned Prometheus & Grafana monitoring profiles
“Engineered for organizations where data sovereignty is paramount: Transparent, independent, fully auditable, and completely free from cloud vendor lock-in.”
Resource-Efficient Modular Architecture

Extended capabilities such as OCR scanning, ASR speech-to-text, TEI reranker, and monitoring are designed as optional modules — consuming server resources only when explicitly enabled.

Quick Deployment

Three Steps to Launch on Your Own Servers

Ready for on-premise hardware, private VPS, or VPC clusters with a single Docker Compose command.

1. Prepare Environment Secrets

Create .env.production from the template, lock permissions to chmod 600, and generate high-entropy 32-byte secret tokens:

cp .env.production.example .env.productionchmod 600 .env.production# Generate cryptographically secure tokens:openssl rand -hex 32

2. Launch Stack via Docker Compose

Validate the configuration and launch all containers with a single command:

docker compose -f docker-compose.prod.yml --env-file .env.production config --quietdocker compose -f docker-compose.prod.yml --env-file .env.production up -d --build

3. Complete Initial Setup

Access the APISIX gateway at /setup to create your initial Organization Owner (ORG_OWNER) account:

# Open your browser: http://your-domain:8088/setup# CLI tool available for offline owner recovery if ever needed:make -C api recover-owner ENV_FILE=../.env.production
Pull AI models into Ollama
ollama pull bge-m3ollama pull hf.co/QuantFactory/Arcee-VyLinh-GGUF:Q4_K_Mollama cp hf.co/QuantFactory/Arcee-VyLinh-GGUF:Q4_K_M vylinh
Enterprise Deployment Support

Need architectural guidance or on-premise deployment assistance?

We assist enterprises and public institutions with sovereign on-premise & private cloud RAG deployment. Contact our engineering team directly on Facebook.

Contact Facebook

Release Milestones

Development Roadmap & Release Milestones

Four major milestones delivered with strict acceptance criteria verified in the repo:

v0.1.xReleased

Self-hosted RAG Foundation: Spring Boot + FastAPI + Next.js, APISIX gateway, PostgreSQL/SeaweedFS/Qdrant/Kùzu, cited chat, and intelligent abstention.

✓ Verified in Repository
v0.2.0Released

Enterprise Identity: Keycloak OIDC SSO, Spring Resource Server, 3-tier RBAC mapping (Owner/Admin/Member), and multi-factor authentication support.

✓ Verified in Repository
v0.3.0Released

BPMN Approval & Multimodal Citations: Embedded Flowable OSS engine for 2-level e-Office workflow, approval inbox, multimodal image citations, and SHA-256 backup.

✓ Verified in Repository
v0.3.1Released

Lakehouse & DuckDB OLAP: RabbitMQ CDC streaming to Snappy Parquet on SeaweedFS S3, embedded DuckDB executing instant SQL analytics without OLTP locking.

✓ Verified in Repository

Open Source & License

Open Source & Apache 2.0 License

OpenVie is a pure open-source project delivering complete technological sovereignty to enterprise engineering teams.

  • ✓Apache License 2.0 — Copyright 2026 LinkedNodeDigital, documented in NOTICE.
  • ✓Complete freedom to self-host, customize, fork, or deliver hosted services under Apache-2.0 terms.
  • ✓Third-party libraries, container images, and model weights retain their respective open licenses.
  • ✓All release artifacts adhere to rigorous security validation before distribution.
Codebase Auditability & Freedom

Your organization has full access to inspect every line of code, adapt internal workflows, customize the interface, and deploy on air-gapped infrastructure with zero licensing hurdles.

Ready to own your enterprise RAG stack?

Review the architecture — Launch in one command — Retain 100% control over internal knowledge.

Need technical guidance & deployment consultation? Contact on Facebook →