All 155 Dependencies

Every package knowhere depends on, ranked by repo health score.

Knowhere is an open-source document memory infrastructure stack that sits between raw files and AI agents. Instead of dumping flat text at an LLM, Knowhere ingests PDFs, Office files, images, and markdown, then reconstructs their full hierarchical structure using a proprietary tree-building algorithm — preserving headings, sections, tables, and cross-document relationships as a navigable memory graph.

The platform runs in two stages: build and retrieve. During the build phase, documents are routed to specialized parsers (defaulting to MinerU for PDFs), then a multi-pass document agent using a ReAct-style loop analyzes page anatomy, detects table-of-contents structures, assigns heading levels, and organizes chunks with full section-path context. During retrieval, a hybrid engine fuses keyword (BM25), path, semantic, and vector channels using Reciprocal Rank Fusion, then an LLM-driven navigation agent walks the section tree to drill into the most relevant regions.

Knowhere exposes its retrieval engine as an MCP (Model Context Protocol) server, making it natively compatible with Claude, Cursor, and other agentic tool frameworks. Every result carries traceable source paths — document, section, chunk, and linked assets — so downstream agents can cite evidence rather than hallucinate. Internal benchmarks show +36% first-try accuracy and +11% recall over feeding raw documents directly to agents.

The full stack is self-hostable via Docker Compose, with official Python and Node.js SDKs available for cloud API access. A companion dashboard, worker service, and shared infrastructure package ship as separate repositories in the Ontos-AI ecosystem, all orchestrated by a uv workspace.

26 FastAPI Users DB SQLAlchemy ==7.0.0 29 QStash Python SDK ==3.2.0 outdated 29 psycogreen >=1.0.2 34 mdurl ==0.1.2 35 win32-setctime ==1.2.0 36 click-didyoumean ==0.3.1 36 zope.event ==6.1 outdated 37 PyMuPDF Layout ==1.27.2 outdated 38 sniffio ==1.3.1 40 h11 ==0.16.0 41 defusedxml ==0.7.1 41 python-tabulate ==0.10.0 42 jmespath.py ==0.10.0 outdated 42 rank_bm25 ==0.2.2 44 Colorama ==0.4.6 44 backoff ==2.2.1 44 six ==1.17.0 45 BlingFire ==0.1.8 45 async-timeout ==5.0.1 45 python-pptx ==1.0.2 47 makefun ==1.16.0 49 aiohappyeyeballs ==2.6.1 outdated 50 python-markdownify ==1.2.2 outdated 50 tabula-py >=2.10.0 51 distro ==1.9.0 51 python-docx ==1.2.0 52 argon2-cffi-bindings ==25.1.0 outdated 52 jieba ==0.42.1 53 click-plugins ==1.1.1.2 53 httpcore >=1.0.6 54 pwdlib ==0.3.0 outdated 56 rich ==15.0.0 58 annotated-types ==0.7.0 outdated 60 typing-inspection ==0.4.2 outdated 61 PyYAML ==6.0.2 outdated 61 PyYAML ==6.0.2 outdated 61 fastapi-users ==15.0.5 63 executing ==2.2.1 outdated 64 Aliyun Python SDK Core ==2.16.0 outdated 64 Aliyun Python SDK KMS ==2.16.5 64 limits >=5.8,<6 65 email-validator ==2.2.0 outdated 65 s3transfer ==0.13.1 outdated 65 tzdata ==2026.1 outdated 66 HTTPX ==0.28.1 67 Certifi ==2026.4.22 outdated 67 annotated-doc ==0.0.4 outdated 67 click-repl ==0.3.0 outdated 67 mrab-regex ==2026.4.4 outdated 68 argon2-cffi ==23.1.0 outdated 68 python-multipart ==0.0.27 outdated 68 pytz ==2025.2 outdated 70 pgvector-python ==0.2.4 outdated 70 prompt_toolkit ==3.0.52 outdated 70 psycopg2 ==2.9.12 outdated 71 greenlet ==3.4.0 outdated 72 propcache ==0.4.1 outdated 72 python-dotenv ==1.2.2 outdated 73 Pygments ==2.20.0 outdated 73 SQLAlchemy-Utils ==0.41.1 outdated 73 vine ==5.1.0 74 asgiref ==3.11.1 outdated 74 bcrypt (Python) ==4.3.0 outdated 74 zope.interface ==8.3 outdated 75 aiosignal ==1.4.0 75 markupsafe ==3.0.3 outdated 75 py-amqp ==5.3.1 outdated 75 zipp ==3.23.1 outdated 76 FlatBuffers ==25.12.19 76 Requests ==2.33.0 outdated 77 cffi ==2.0.0 outdated 78 billiard ==4.2.0 outdated 78 tenacity ==9.1.4 outdated 79 RapidFuzz ==3.14.5 outdated 79 loguru ==0.7.3 81 idna ==3.13 outdated 81 pluggy ==1.6.0 outdated 81 redbeat ==2.2.0 outdated 82 Mako ==1.3.11 outdated 82 attrs ==26.1.0 82 botocore ==1.38.46 outdated 82 frozenlist ==1.8.0 82 gevent >=24.11.1 82 posthog ==7.18.1 outdated 83 Charset Normalizer ==3.4.7 outdated 83 psutil ==5.9.8 outdated 84 cryptography ==46.0.7 outdated 84 markdown-it-py ==4.0.0 outdated 84 pymupdf4llm ==1.27.2.1 outdated 84 typing_extensions ==4.14.1 outdated 84 wcwidth ==0.6.0 outdated 85 Magika ==0.6.2 outdated 85 asyncpg ==0.31.0 outdated 85 packaging ==26.1 outdated 85 tqdm ==4.67.1 outdated 87 AnyIO ==4.13.0 outdated 87 Click ==8.3.3 outdated 87 PyJWT ==2.12.0 outdated 87 PyJWT ==2.12.0 outdated 87 pytest-mock ==3.15.1 outdated 87 soupsieve ==2.8.3 outdated 88 MarkItDown ==0.1.2 outdated 88 Pydantic Logfire >=4.25.0 88 python-dateutil ==2.9.0.post0 outdated 88 wrapt ==1.17.3 outdated 89 lxml ==6.1.0 outdated 89 pycparser ==3.0 outdated 89 pydantic-settings ==2.14.1 outdated 90 Alembic ==1.13.1 outdated 90 Uvicorn ==0.34.3 outdated 90 boto3 ==1.38.46 outdated 90 dnspython ==2.8.0 outdated 90 multidict ==6.7.1 outdated 90 pytest-asyncio ==1.3.0 outdated 90 python-sdk >=1.27.0 91 Celery ==5.4.0 outdated 91 PyMuPDF ==1.27.2 outdated 91 importlib_metadata ==8.7.1 outdated 91 kombu ==5.4.0 outdated 91 pycryptodome ==3.23.0 outdated 92 FastAPI ==0.135.1 outdated 92 Pillow ==12.2.0 outdated 92 networkx ==3.6.1 outdated 93 Pydantic ==2.13.4 outdated 93 Pydantic ==2.46.4 outdated 93 urllib3 ==2.6.3 outdated 93 yarl ==1.23.0 outdated 94 Authlib ==1.6.11 outdated 94 OpenTelemetry Prometheus Exporter ==1.40.0 outdated 94 OpenTelemetry Prometheus Exporter ==1.40.0 outdated 94 OpenTelemetry Prometheus Exporter ==1.40.0 outdated 94 OpenTelemetry Prometheus Exporter ==1.40.0 outdated 94 OpenTelemetry Prometheus Exporter ==0.61b0 outdated 94 OpenTelemetry Python SDK ==1.40.0 outdated 94 SQLAlchemy ==2.0.42 outdated 94 Starlette ==0.52.1 outdated 94 Stripe Python ==13.0.1 outdated 95 ONNX Runtime ==1.25.0 outdated 95 OpenTelemetry Instrumentation for kafka-python ==0.61b0 outdated 95 OpenTelemetry Instrumentation for kafka-python ==0.61b0 outdated 95 OpenTelemetry Instrumentation for kafka-python ==0.61b0 outdated 95 OpenTelemetry Instrumentation for kafka-python ==0.61b0 outdated 95 OpenTelemetry Instrumentation for kafka-python ==0.61b0 outdated 95 OpenTelemetry Instrumentation for kafka-python ==0.61b0 outdated 95 OpenTelemetry Instrumentation for kafka-python ==0.61b0 outdated 95 aiohttp ==3.13.4 outdated 95 pypdf ==6.10.2 outdated 95 redis-py ==5.3.1 outdated 96 NumPy ==2.2.6 outdated 96 pytest ==9.0.3 outdated 97 OpenAI Python SDK ==1.93.3 outdated 98 Protocol Buffers ==6.33.6 outdated 98 SciPy ==1.17.1 outdated 98 google-auth ==1.74.0 outdated 98 pandas ==2.3.1 outdated

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers