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