ITWORX.TECH

Portfolio laden…Loading portfolio…

De pagina kon niet volledig laden.The page could not finish loading.

Controleer je verbinding en probeer het opnieuw.Check your connection and try again.

Opnieuw ladenReload page
Skip to content

All projects
Knowledge and source-grounded answersOperational self-hosted knowledge platformNo public demo

RAGcore

A private knowledge platform that makes documents searchable and connects answers to their source and access space.

Technical foundation · Python · FastAPI · PostgreSQL
PythonFastAPIPydanticSQLAlchemyAlembicPostgreSQLQdrantOllamaOIDCJinja2Tailwind CSSOpenTelemetryDocker ComposepytestRuffmypy

Admin overview: cards you are not authorised to see, or that depend on an unreachable service, say so explicitly instead of showing a zero

Screenshot 1 of 5

Evidence recorded on .Status and results describe that check; current availability may differ.

At a glance

Access

No public demo

Recorded status

Operational self-hosted knowledge platform

Evidence

Control plane with workspaces, applications, credentials, grants, policies and audit

Evidence date

20 August 2026

In progress or planned

RAGcore is operational as the central self-hosted knowledge layer for ingestion, retrieval and source-grounded answers. Fleet Ops and Knowledge Hub use its reusable integrations; further development focuses on additional connectors and reproducible quality measurement.

Completing the formal 1.0 release on top of the already built read-only MCP adapter and SDKs

Adding more source connectors for additional consumers besides Fleet Ops and the ITWorx Knowledge Hub

Measuring retrieval and answer quality further with reproducible evaluation sets

Case narrative

The problem, approach and result.

01

Problem and context

Every project that wants to feed documents or source code to a language model has to fetch, parse, chunk, embed, index, secure and evaluate those files itself. That means duplicated work, uneven quality and a real risk that one project's knowledge ends up in another project's context.

02

Solution

An API-first retrieval control plane with a knowledge space per consumer, controlled ingestion with immutable document versions, structure-aware chunking, combined dense and sparse retrieval with deterministic fusion, version-pinned citations and an answer path that validates every claim against its source. The server computes which spaces a caller may see; clients can never inject their own filter.

03

Operational value

RAGcore prevents every project from building its own uncontrollable knowledge layer and makes retrieval, citations, tenant boundaries and quality measurement reusable. It is also where I pull project knowledge from during development myself.

Key user flows

  1. 1

    Create a knowledge space, activate it and attach a data policy

  2. 2

    Register an application and issue a credential that is shown exactly once and stored only as a hash

  3. 3

    Grant access between application and space, with a role and a lifecycle

  4. 4

    Upload documents or synchronise them from a source and follow the indexing status per document

  5. 5

    Run a real query in the Query Lab and see per stage why a result is or is not included

  6. 6

    Compare a retrieval profile, activate it and roll it back when quality disappoints

Integrations at the recorded check

  • QdrantLive

    Fully rebuildable vector index with named vectors, aliases and mandatory payload filters; the index can be rebuilt from PostgreSQL and blobs through a shadow build with an atomic alias switch.

  • OllamaFunctional

    Local embedding, rerank and generation adapters behind a profile, so knowledge never has to leave the local network.

  • Authentik (OIDC)Live

    Browser sessions through OIDC with deny-by-default group-to-role mapping; machine callers use separate, scope-bound service tokens.

  • n8n · Fleet OpsFunctional

    Eleven Fleet Ops procedures in three languages were ingested through n8n into a dedicated knowledge space and verified as indexed there.

  • n8n · ITWorx Knowledge HubLive

    An n8n workflow periodically polls the ITWorx Knowledge Hub's publication endpoint, compares content by digest and syncs new, changed or withdrawn pages into a dedicated knowledge space through a least-privilege, read-only service token.

  • MCP-adapter en SDK’sLive

    A read-only MCP adapter with six tools and three resources, plus Python and TypeScript SDKs, expose the operational search, context and answer services for reusable integrations.

Reliability and safety boundaries

Deny by default: the effective spaces are the intersection of requested, granted, active and policy-compatible

Retrieved content is always evidence and never instruction; there are explicit prompt-injection tests

Audit events are append-only and protected against modification by a database trigger

Tokens are shown once and stored hashed only, with a separate pepper

If generation drops out, search and context keep working; if the index drops out, readiness says so explicitly

Backup writes an incomplete manifest first and then re-verifies every artefact; restore has been tested in an empty environment

Security and compliance

Part of a cross-project NIS2/CyFun hardening programme: risks from a real risk register translated into concrete controls on this platform

A Trivy dependency scan on this repository returned zero High/Critical findings, part of a scan across the full ITWorx repository scope (fifteen repositories)

A real restore was executed: backup, restore into a disposable environment, and verification of row counts, a real query and access control — passed in 12.53s

This platform's own backup/restore code was reused for the drill, not rebuilt separately for the exercise

Full risk-management case study

Validation

More than six hundred tests spread across unit, contract, integration, security, evaluation and architecture suites

Dedicated security suites for authorisation, retrieval filters, uploads, identity, connectors and prompt injection

Clean-room CI that builds the image and runs the integration tests against a real PostgreSQL and Qdrant

Restore gate with a real pg_restore in an empty environment

Design decisions

Retrieval is the product; generation is optional and must never be a precondition for search

PostgreSQL and blobs are the source of truth, the vector index is derived and rebuildable

Clients never get direct access to Qdrant or to a filter of their own

Scores are ranking signals, not probabilities; no likelihood claims are derived from them

Evidence before claims: every completed task produces its own evidence dossier

Current limitations

RAGcore is a private, operational self-hosted platform without a public demo. Project documents remain in isolated knowledge spaces and only authorised applications receive access. No generic accuracy, adoption or time-saving claims are made.

Key lesson

A reliable knowledge layer starts with access control, versioning, provenance and measurable retrieval quality; generation comes afterwards. The Query Lab turned out to be the most important part for trust: as soon as you can see per stage why something is or is not returned, retrieval stops being a black box.

Continue the conversation

Looking for someone who runs infrastructure and automates it in practice?

Available immediately for a permanent, full-time role in infrastructure, internal IT, Microsoft 365 and automation.