All 109 Dependencies

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

Morphik is an AI-native ingestion and retrieval platform built for documents that don't reduce cleanly to plain text — scanned PDFs, technical manuals with diagrams, slide decks, spreadsheets, and video. Instead of assembling a pipeline out of a separate OCR tool, embedding model, and vector database, Morphik bundles ingestion, multimodal embedding, storage, and retrieval into one FastAPI-based service that developers call through a Python SDK, a REST API, or the Model Context Protocol.

Its ingestion pipeline (core/services/ingestion_service.py, core/parser/morphik_parser.py) parses files with Docling and PyMuPDF, then represents pages using the ColPali technique — patch-level image embeddings that capture the layout of a chart, table, or diagram directly, rather than flattening it into lossy OCR text. Rules-based metadata extraction runs alongside ingestion to pull out bounding boxes, labels, and classifications. Everything is stored in Postgres with pgvector, using dedicated multi-vector store implementations (core/vector_store/multi_vector_store.py, fast_multivector_store.py) to handle the many-vectors-per-page shape that ColPali produces, and heavy ingestion work is offloaded to Redis-backed background workers (arq) so the API stays responsive.

A custom Rust extension (morphik_rust, built with PyO3) handles the CPU-bound parts of the pipeline — base64 encoding, text chunking with overlap, and binary quantization / Hamming-distance search over embeddings — to keep large ingestion batches fast without leaving Python. LiteLLM sits behind the embedding and completion layers, so teams can point Morphik at OpenAI, Anthropic, Google, or a local Ollama model without changing application code.

Morphik can be self-hosted via Docker Compose (Postgres/pgvector, Redis, the API, and an ingestion worker) or run as a managed Morphik Cloud service with a free tier. The core codebase ships under the Business Source License 1.1 — a source-available license, not an OSI-approved open source one — and a separate, stricter Enterprise license covers the Google Drive, GitHub, and Zotero connectors; see the Enterprise & Self-Hosting section below for exactly what that means in practice.

16 importlib >=1.0.4 34 tailwindcss-animate ^1.0.7 38 SnakeViz >=2.2.0 40 remark-gfm ^4.0.1 40 toml >=0.10.2 41 Tailwind CSS Container Queries ^0.1.1 42 clsx ^2.1.1 43 Yappi >=1.6.0 44 filetype.py >=1.2.0 44 next-themes ^0.4.6 46 base64 0.22 outdated 46 itsdangerous >=2.2.0 46 pdf2image >=1.16.0 47 SheetJS (xlsx-republish) ^0.2.0 outdated 54 arq >=0.26.3 59 types-boto3 >=1.39.1 61 prettier-plugin-tailwindcss ^0.6.11 outdated 62 React Syntax Highlighter ^15.6.1 outdated 63 HTTPX >=0.28.1 63 react-markdown ^10.1.0 65 tomli >=2.2.1 67 eslint-config-prettier ^10.1.2 67 opencv-python >=4.12.0.88 67 rayon 1.10 70 ollama-python >=0.4.8 71 greenlet >=3.2.2 72 psycopg2 >=2.9.9 73 eslint-plugin-prettier ^5.4.0 73 line_profiler >=4.1.2 74 pgvector-python >=0.4.1 74 tqdm >=4.67.1 77 Radix UI ^1.1.2 77 Radix UI ^1.2.3 77 Radix UI ^1.1.10 77 Radix UI ^1.1.5 77 Radix UI ^1.1.7 77 Radix UI ^2.1.7 outdated 77 Radix UI ^2.1.2 outdated 77 Radix UI ^1.1.3 77 Radix UI ^1.2.4 77 Radix UI ^1.2.2 77 Radix UI ^2.1.7 outdated 77 Radix UI ^1.2.3 77 Radix UI ^1.1.1 77 Radix UI ^1.1.3 77 Radix UI ^1.1.2 77 Radix UI ^1.2.7 77 Requests >=2.32.3 78 rust-numpy 0.22 outdated 79 python-multipart >=0.0.20 81 Psycopg >=3.2.9 81 Psycopg >=3.2.9 81 Psycopg >=3.2.6 81 torchaudio ==2.8.0 outdated 82 turbopuffer-python >=1.10.0 83 Pyzotero >=1.6.11 83 asyncpg >=0.30.0 83 class-variance-authority ^0.7.1 85 ty >=0.0.1a6 86 AssemblyAI Python SDK >=0.40.2 87 PyJWT >=2.0.0 88 WeasyPrint >=61.2 88 build >=1.2.2.post1 88 tailwind-merge ^2.6.0 outdated 89 Docling >=2.15.0 89 React-PDF ^9.2.1 outdated 89 sharp ^0.34.1 outdated 90 PyO3 0.22 outdated 90 Tabler Icons React ^3.34.0 90 Uvicorn >=0.34.2 90 instructor >=1.8.1 90 lxml >=5.2.2 90 pydantic-settings >=2.9.1 90 shadcn ^2.4.0-canary.11 outdated 91 PyMuPDF ==1.25.5 outdated 91 Tailwind CSS ^3.4.1 outdated 91 boto3 >=1.38.14 91 prettier ^3.5.3 92 FastAPI >=0.115.12 92 Google API Python Client >=2.169.0 92 Pillow >=10.4.0 92 lucide-react ^0.469.0 outdated 92 postcss ^8.5.3 92 pytest-asyncio >=0.26.0 93 LiteLLM >=1.69.1 93 Pydantic >=2.11.4 93 SQLAlchemy >=2.0.40 94 Google Gen AI Python SDK >=1.15.0 94 OpenTelemetry Prometheus Exporter >=1.33.0 outdated 94 PDF.js ^5.3.31 outdated 94 Stripe Python >=12.1.0 94 vision ==0.23.0 outdated 95 Anthropic Python SDK >=0.51.0 95 ESLint ^8 outdated 95 OpenAI ^4.28.4 outdated 95 TypeScript ^5.8.3 outdated 96 Next.js 14.2.16 outdated 96 Next.js ^14 outdated 96 NumPy >=1.19.0 96 PyTorch ==2.8.0 outdated 96 pytest >=8.3.5 96 sentry-sdk >=2.33.0 97 OpenAI Python SDK >=1.75.0 97 OpenTelemetry Instrumentation for kafka-python >=0.54b0 98 Protocol Buffers >=3.19.0 98 React ^18 outdated 98 React DOM ^18 outdated 98 google-auth >=2.40.1 98 google-auth >=1.2.2

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