█

AI/TLDR

Buy me a coffee
Buy me a coffee

Jonex

Self-hosted enterprise knowledge platform that parses multimodal content and compiles it into an ontology before retrieval

RAG Frameworks & PlatformsOpen source
Language
Python
License
Jonex Open Source License (Apache-2.0 with additional conditions)
$git clone https://github.com/yuezhiai/jonex.git
IN SHORT

What is Jonex?

Jonex describes itself as an ontology-based enterprise context engine: a self-hosted platform that turns raw company content into knowledge services that people and enterprise agents can query. It sits in the RAG Frameworks & Platforms category of the Retrieval & Knowledge (RAG) tools and is open-source, written in Python and licensed Jonex Open Source License (Apache-2.0 with additional conditions).

Overview

Jonex describes itself as an ontology-based enterprise context engine: a self-hosted platform that turns raw company content into knowledge services that people and enterprise agents can query. It joins an all-in-one multimodal parsing engine — text, images, audio, video and structured data — to a knowledge engine, and connects ingestion, parsing, domain knowledge compilation, vector and graph indexing, source-grounded retrieval, feedback loops and business applications in one governed system.

Jonex knowledge pipeline in five stages: raw multisource data, multimodal parsing, knowledge compiling into a graph, semantic alignment of entities and concepts, and actionable knowledge such as graph visualisation, Q&A and decision support.
Jonex's pipeline, from raw multimodal data through parsing, ontology compilation and alignment to queryable knowledge.Jonex README ↗

Its distinguishing step is compiling domain knowledge before retrieval. After parsing, Jonex extracts entities and relationships, builds an ontology and aligns entities and concepts across sources, so a search runs against compiled ontology instances as well as chunks. Its ontology search API returns the answer together with the matched knowledge bases, ontology instances, RAG usage, structured source references and an optional reasoning trace. One of its engines, the Ontology+Wiki layer, is spun out as a separate LLM wiki project, Jonex Wiki.

Under the hood it is a Python 3.12 / FastAPI backend with React and TypeScript front-ends behind a single gateway, deployed with Docker Compose (or a PowerShell script on Windows). It packages PostgreSQL, Redis, MinIO, Milvus and Neo4j, can connect RAG-Anything and MinerU for document parsing and LightRAG for graph-enhanced retrieval, and talks to any OpenAI-compatible endpoints for the LLM, embeddings, reranking, vision-language and speech models. Video can be processed locally with ASR, keyframes and a VLM or sent to a cloud service, and parsing workers scale separately, with an optional NVIDIA GPU. The code is under the Jonex Open Source License — Apache 2.0 with added conditions: commercial use is allowed, but running a multi-tenant deployment or removing the console's branding requires a commercial license.

What it does

  • Multimodal parsing of documents, images, audio, video and structured data, with parser profiles and independently scaled parsing workers
  • Ontology compilation: entity recognition and linking, relationship extraction and cross-source entity and concept alignment
  • Vector and graph indexing on Milvus and Neo4j, with LightRAG, RAG-Anything and MinerU integrations
  • Ontology-first knowledge search with source references, an optional reasoning trace and user feedback
  • Ingestion from file uploads, REST APIs and S3-compatible sources, organised into domain spaces and knowledge bases
  • Bring-your-own models over OpenAI-compatible endpoints for LLM, embeddings, reranking, VLM and ASR, plus an MCP server

Getting started

Docker Compose runs the complete platform. You need Docker with Compose v2 and Buildx, make on macOS or Linux, and an OpenAI-compatible LLM and embedding provider; the first build downloads images, Python dependencies and RAG models.

Clone and initialise configuration

make init writes deploy/.env (platform, database, storage, LLM gateway), deploy/.env.rag (LightRAG, embeddings, parsing), deploy/.env.mcp and the front-end .env files.

bashbash
git clone https://github.com/yuezhiai/jonex.git
cd jonex
make init

Point it at your models

Set at least one OpenAI-compatible LLM and embedding provider in deploy/.env. Keep EMBEDDING_MODEL and LIGHTRAG_API_KEY identical in deploy/.env and deploy/.env.rag; add VLM and ASR connections for audio, video or advanced image processing.

bashbash
LLMGW_UPSTREAM_LLM_HOST=https://your-openai-compatible-host/v1
LLMGW_UPSTREAM_LLM_API_KEY=your_llm_api_key

LLMGW_UPSTREAM_EMBED_HOST=https://your-embedding-host/v1
LLMGW_UPSTREAM_EMBED_API_KEY=your_embedding_api_key

Build and start

The first build creates a shared Python base image, then Compose builds the platform services. Use make logs to follow them; on Windows the same steps are .\jonex.ps1 init, build, up and ps.

bashbash
make build
make up
make ps

Sign in and build a knowledge base

Open http://localhost/ and sign in with the local demo account (admin / admin123, tenant tenant_jonex_demo) — evaluation only; change it before exposing the deployment. Create a domain space and knowledge base, pick a parser profile, upload files and wait for parsing and knowledge compilation.

texttext
URL:      http://localhost/
Username: admin
Password: admin123
Tenant:   tenant_jonex_demo

Query it through the API

Log in for an access token, then call the ontology-first search endpoint. The response carries the answer, matched ontology instances and structured source references.

bashbash
curl -X POST "http://localhost/api/v1/auth/login" \
  -H "Content-Type: application/json" \
  -H "X-Tenant-ID: tenant_jonex_demo" \
  -d '{"username":"admin","password":"admin123"}'

curl -X POST "http://localhost/api/v1/knowledge-base/search/ontology" \
  -H "Authorization: Bearer <access_token>" \
  -H "Content-Type: application/json" \
  -d '{"query": "What are the key risks described in these documents?",
       "knowledge_base_ids": ["<knowledge-base-id>"],
       "mode": "hybrid", "top_k": 5, "with_reasoning": true}'

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Build a self-hosted company knowledge base over mixed documents, recordings and video, with cited answers
  • Give enterprise agents a governed knowledge service whose answers carry source references and a reasoning trace
  • Compile a domain ontology and knowledge graph from unstructured files instead of relying on chunk-only retrieval
  • Keep parsing, indexing and models on your own infrastructure, swapping in any OpenAI-compatible model endpoints

How Jonex compares

Jonex alongside other open-source rag frameworks & platforms tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Dify★ 162kAn open-source platform with a visual workflow builder for creating LLM and RAG applications without writing much code.
graphify★ 157kTurns a folder of code, docs, PDFs and images into a local knowledge graph with tree-sitter AST parsing and Leiden communities — queryable by agents over MCP, no vector store.
RAGFlow★ 95.2kA RAG engine built around deep document understanding that turns complex files into a grounded, citation-backed question-answering layer.
Context7★ 65.9kContext7 pulls current, version-specific documentation and code examples for any library and feeds them into your LLM, available as a CLI skill or an MCP server.
Pathway★ 61.9kA Python framework with a Rust streaming engine that keeps ETL, real-time analytics and RAG pipelines continuously up to date as source data changes.
LightRAG★ 41kA graph-based RAG system that builds an entity-and-relationship knowledge graph for fast retrieval and easy incremental updates.
PageIndex★ 40.9kPageIndex turns long PDFs into a table-of-contents tree and uses LLM reasoning to retrieve relevant sections, with no vector database and no chunking.
Jonex—Self-hosted enterprise knowledge platform that parses multimodal content and compiles it into an ontology before retrieval