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

Search