← Back to Leaderboard
Ppathwaycom

pathwaycom/pathway

Python pipelines on a Rust dataflow engine for streaming ETL and live RAG

Engineering Health (Methodology)
B+ · 73/100
Maintenance Activity
● Updated today
Latest Release
v0.32.1
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption18/25
Release Cadence14/20
License Clarity6/20
CLI
Total Stars
★ 61,929
24h Growth
+0
7d Growth
+10
Forks
1,694

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

pathwaycom/pathway Star History (2022-11-30 - 2026-12-04) ALL-TIME STAR HISTORY (2022-11 – 2026-12) +61.9k in 1465d · avg +42/day 65.4k 32.7k 0 2022-11-30: ★ 12023-03-04: ★ 262023-06-03: ★ 392023-09-02: ★ 932023-12-02: ★ 4382024-03-02: ★ 1,2862024-06-01: ★ 2,0702024-08-31: ★ 2,9502024-11-30: ★ 3,9642025-03-01: ★ 11,9462025-05-31: ★ 23,4992025-08-30: ★ 30,0762025-11-29: ★ 46,8412026-02-28: ★ 56,4172026-05-30: ★ 61,1452026-08-29: ★ 61,6382026-12-04: ★ 61,929 ★ 61.9k 2022-11 2024-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Pathway exposes a Python table API over a Rust engine built on Differential Dataflow. Connectors populate tables, schemas describe inputs, and operators such as filter and reduce define the computation. Attach a sink and start execution with pw.run(). The runtime applies changes incrementally, so the same transformation code can run against batch inputs, stream replays, and live feeds.

Maturin is the Python build backend, and Cargo.toml defines pathway_engine as a Rust library and cdylib. Runtime dependencies include NumPy, pandas, PyArrow, and aiohttp. Built-in operators put dataflow execution in Rust; custom Python functions and connectors provide extension points, but their cost should be profiled separately. The engine supports multithreaded, multiprocess, and distributed execution, with distributed Kubernetes deployment covered by the Enterprise offering.

Key Capabilities & Differentiators

The framework handles stateful joins, windowing, and sorting in addition to stateless transformations. Late and out-of-order records can revise computed results, and persistence saves computation state for restart. Input coverage includes Kafka, PostgreSQL, Google Drive, and SharePoint; Airbyte extends the supported source catalog, and custom Python connectors cover gaps.

The LLM extension adds service wrappers and utilities for live RAG. Examples include private RAG with Ollama and Mistral AI, adaptive RAG, and multimodal RAG with GPT-4o; LangChain and LlamaIndex integrations are also available. The Chroma sink maps table changes to collection records, including deletions. An explicit primary_key becomes the record ID; otherwise the sink uses Pathway’s internal row ID. Choose the key deliberately when downstream consumers depend on stable document identity.

Trade-offs & Limitations

Compared with using Flink or Spark for processing and a separate service for index maintenance, Pathway lets a Python team define both pieces in one pipeline. That is useful when retrieval freshness depends on timely updates and deletions. It also puts ingestion, stateful processing, and model calls in the same application's operational scope. Benchmark representative key distributions, late arrivals, and Python UDFs; an incremental Rust engine does not eliminate the RAM cost of retained state or the latency of model calls.

The free edition provides at-least-once consistency; exactly-once is an Enterprise feature. Test crash and replay behavior at the actual source and sink boundaries, and design idempotent consumers where duplicates matter. Licensing also warrants a release-specific check: the Rust crate declares BUSL-1.1, while the Python manifest uses an Other/Proprietary License classifier. Review LICENSE.txt and the applicable edition terms rather than assuming a permissive open-source license.

Hardware & Deployment Guide

Install pathway on Python 3.10+ on Linux or macOS, then run python main.py with a script that calls pw.run(). Set threads with pathway spawn --threads 3 python main.py, or package the app on pathwaycom/pathway; pin the tested package and image for production. The monitoring dashboard exposes connector message counts, latency, and logs. Kubernetes is a container deployment option; Enterprise covers distributed Kubernetes deployment with external persistence. Model execution can be local, as in the Ollama example, or use an external service, as in the GPT-4o example.

Connector changes are operationally significant: v0.31.0 added SQLite output with an append-only change stream or a maintained snapshot; v0.31.1 added Elasticsearch input via polling and overlap reconciliation rather than native CDC; v0.32.1 added Chroma synchronization. The supplied Cargo manifest declares 0.33.1, distinct from the latest listed release, v0.32.1. Validate connector behavior on the artifact you ship rather than assuming the source snapshot and published package match.

Execution: Python table pipelines run on a Rust engine built on Differential Dataflow.
Streaming semantics: Stateful joins, windows, and sorts update as new or out-of-order data arrives.
Integration: Kafka, PostgreSQL, Google Drive, and SharePoint connectors are available alongside Airbyte and custom Python connectors.
Live retrieval: The LLM extension covers RAG workflows, and pw.io.chroma.write synchronizes inserts, updates, and deletes to Chroma.
Recovery: Persistence saves computation state; the free and Enterprise editions distinguish at-least-once from exactly-once guarantees.
Runtime controls: Run a normal Python script or set worker threads with pathway spawn --threads 3 python main.py.
Best For

Python teams that want batch tests and live jobs to share transformation logic, particularly when document changes need to reach a retrieval index without scheduled full rebuilds.

Skip If

You only need a periodic static index, already have a well-operated streaming and indexing stack, or require exactly-once semantics without adopting Enterprise.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLI
pip install -U pathway

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
pathway ★61.9k+10Python—Python pipelines on a Rust dataflow engine for streaming ETL and live RAG
auto-ontology19.1k+3.7kPythonApache-2.0An ontology framework that grounds agent-generated SQL in reviewed business defi
llama_index53.1k+104PythonMITA modular Python SDK for document ingestion, indexing, and RAG
langextract39.5k+85PythonApache-2.0Python SDK for extracting structured data with traceable source spans

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/pathwaycom/pathway.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

pathwaycom/pathway Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about pathway

How do I integrate an existing source and test the pipeline before switching to live data?

Read from a connector into a Pathway table, define transformations, attach an output, and call pw.run(). Use the same transformation logic for batch tests and live processing, then verify the live connector’s update and replay behavior separately. If a source lacks a built-in connector, use the Python connector extension point.

Does Pathway require a GPU, and how should I size a worker?

The core ETL runtime does not require a GPU. Start by measuring RAM for retained join state, windows, and any local index, then profile CPU use under representative event rates and UDF concurrency. If you run embedding or generation models locally, size GPU memory separately for the chosen models and workload; there is no fixed VRAM requirement for Pathway itself.

Can we self-host Pathway for commercial use?

Verify the exact release and intended use before deploying. Cargo.toml declares BUSL-1.1 for the Rust crate, while pyproject.toml classifies the Python package under Other/Proprietary License. Review LICENSE.txt and applicable edition terms for production use, redistribution, or a hosted offering. An available Docker image is not a blanket commercial-use grant.

When should we choose Pathway over Flink or Spark plus a separate retrieval stack?

Pathway is worth evaluating when one Python-defined pipeline needs to handle both change processing and retrieval freshness. If you already operate a Flink or Spark pipeline and a separate indexing service, keep that split unless consolidating it offers a measurable operational benefit. Compare update lag, memory under realistic key distributions, and recovery behavior rather than assuming a throughput advantage.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining pathwaycom/pathway? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature pathwaycom/pathway on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare