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