Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Why AI Agents Need Verifiable Evidence: Building an MCP-Native Retrieval Engine with PostgreSQL

Описание и применение

Система Knowledge Fabric обеспечивает проверяемые доказательства для агентных рабочих процессов, объединяя BM25 и векторный поиск в PostgreSQL, предоставляя метаданные и хеши для каждой извлечённой части текста.

Задача

Standard Retrieval-Augmented Generation (RAG) systems lack provenance, exact-term recall, and efficient context sizing, making them unsuitable for agentic workflows that require verifiable evidence and policy compliance.

Результат

Agents can now retrieve context with exact-term recall, provenance, and efficient prompt sizing, reducing policy failures and improving execution reliability.

Рабочий процесс

  • 1. Index documents into PostgreSQL with pgvector and tsvector for hybrid search.
  • 2. Use Knowledge Fabric’s retrieve_evidence MCP tool to perform RRF‑based hybrid search and obtain cited evidence packages.
  • 3. Agent calls get_document to fetch full content if needed.
  • 4. Agent uses explain_retrieval to understand scoring breakdown.
  • 5. Agent plans actions via Intent Fabric and executes writes through Enterprise Adapters, ensuring provenance and policy compliance.

Доказательства

Knowledge Fabric is built directly on PostgreSQL + pgvector: Hybrid Search with Reciprocal Rank Fusion (RRF) fuses PostgreSQL BM25-style lexical search with semantic vector embeddings

Источник

retrieve_evidence: Performs hybrid search and returns bounded, cited evidence packages

Источник

  • Дата записи: 2026-09-21T17:45:25.748Z