← Back to Leaderboard
PPipelex

Pipelex/pipelex

A Python runtime for reusable, typed AI workflows declared in MTHDS

AI FrameworkQuickstart ↓
Engineering Health (Methodology)
A · 77/100
Maintenance Activity
● Updated today
Latest Release
v0.124.1
Commercial License Check
Custom / Check Repo

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

Maintenance35/35
Fork Adoption16/25
Release Cadence20/20
License Clarity6/20
CLILocal AIAPI
Total Stars
★ 951
24h Growth
+0
7d Growth
+2
Forks
78

GitHub Star History

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

Pipelex/pipelex Star History (2025-05-25 - 2026-12-03) ALL-TIME STAR HISTORY (2025-05 – 2026-12) +950 in 557d · avg +2/day 1k 502 0 2025-05-25: ★ 12025-06-28: ★ 222025-08-02: ★ 502025-09-06: ★ 552025-10-11: ★ 1642025-11-15: ★ 5502025-12-20: ★ 5782026-01-24: ★ 5882026-02-28: ★ 6032026-04-04: ★ 6292026-05-09: ★ 6522026-06-13: ★ 6712026-07-18: ★ 6842026-08-22: ★ 7182026-09-26: ★ 9252026-10-31: ★ 9472026-12-03: ★ 951 ★ 951 2025-05 2026-02 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Pipelex is a Python runtime for MTHDS, a declarative standard for reusable AI procedures. A .mthds bundle declares a domain, a main_pipe entry point and named steps such as PipeLLM. Inputs and outputs use named semantic types. Pipes can run in sequence, in batches or as nested methods. Pipelex controls the declared execution flow and parses structured results, so a model does not have to plan the procedure on each run.

The runtime lives in pipelex/, and api/ is the build source for the REST image. Python applications can execute a bundle in-process with PipelexMTHDSProtocol().execute(...). The CLI is another entry point: Typer and Instructor are core dependencies, while the cli extra is required for Rich-based CLI rendering. The coding-agent plugin and the hosted MCP connector are separate integrations. The former helps author and validate methods; the latter lets chatbots invoke methods saved to a Pipelex account.

Key Capabilities & Differentiators

The runtime composes LLM generation, OCR and image generation into the same typed procedure. One practical pattern is extracting document text, then mapping it into fields that downstream steps or applications can consume. Provider selection is configurable: when a method omits the model name, the inference deck can resolve default-general to a configured model. That keeps routing out of the method definition, but switching models still calls for testing output quality and format adherence.

Optional packages cover Anthropic and Amazon Bedrock for text generation, Google Vertex for text, Gemini for text and images, and Mistral for text and OCR. Docling adds OCR, fal adds image generation, and Linkup adds web search. Local model endpoints can be configured through Ollama, vLLM, LM Studio or llama.cpp. Hosted integrations include Python’s PipelexAPIClient and @pipelex/sdk for Node; the separate mthds package targets MTHDS APIs.

Trade-offs & Limitations

Compared with calling a provider SDK directly, Pipelex adds a method format and backend configuration in exchange for reusable, typed steps and several execution targets. A direct SDK is simpler for a single call. Compared with a code-first agent framework, Pipelex is better suited to procedures whose execution flow should be reviewable before a run than to tasks where the model must decide what happens next. Deterministic orchestration does not guarantee identical model outputs.

Portability also has operational limits: local setup may require provider extras and an inference-deck override, and moving between backends warrants regression tests on representative inputs. The manifest declares Elastic-2.0, which matters when evaluating managed-service or redistribution plans. For privacy-sensitive deployments, distinguish local orchestration from local inference, check where each step sends data, and disable usage statistics if policy requires it.

Hardware & Deployment Guide

The package supports Python 3.11 through 3.14. For terminal use, install with uv tool install "pipelex[cli]", then run pipelex init and pipelex doctor. Initialization defaults to hosted execution, which uses a Pipelex account but does not require separate provider credentials. A locally configured CLI can send an individual run to the hosted API with --hosted. For self-hosted REST, use pipelex/pipelex-api, built from api/. Node.js is required by the coding-agent plugin’s tools and hook, not by in-process Python execution.

To run without external inference calls, keep every backend used by the method local, including OCR or image generation where applicable. Size the model server and document workers separately from the Python orchestrator, based on model choice, document workload and concurrency. Recent releases add template input-field reporting in v0.123.1, opt-in PNG/JPEG submissions to Jev for TypeSafe judgments in v0.124.0, and published reasoning-level vocabulary in the Inference SPI table in v0.124.1. The TypeSafe image path is not marked production-ready.

Method contract: TOML-style .mthds bundles name an entry point with main_pipe and declare each pipe’s input and output types.
Model routing: Methods can omit a provider-specific model name and resolve default-general through the configured inference deck.
Multimodal composition: Pipes can combine LLM generation with OCR and image generation; optional extras include docling, mistralai and google-genai.
Authoring integration: The separate Claude Code and Codex plugin provides method design and run tools plus a Node.js edit-validation hook.
Service boundary: api/ backs the pipelex/pipelex-api Docker image; Python embedding and hosted MCP access use distinct integration paths.
Telemetry controls: Usage statistics can be turned off with pipelex usage-stats disable or DO_NOT_TRACK=1.
Best For

Teams turning repeatable document or content workflows into typed methods shared across CLI jobs, Python applications, APIs or chatbots.

Skip If

You only need a direct model call, need the model to plan its own execution path, or cannot accommodate Elastic-2.0 for your distribution model.

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

Quick Start & Installation

CLILocal AIAPI
uv tool install "pipelex[cli]"
pipelex init
pipelex doctor

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
pipelex ★951+2Python—A Python runtime for reusable, typed AI workflows declared in MTHDS
ruflo82.8k+342TypeScriptMITA TypeScript orchestration layer for coding agents, with shared memory and MCP
browser-use122.7k+477PythonMITPython REPL and CDP for adaptive browser automation
agentscope37.2k+322PythonApache-2.0Python ReAct SDK and FastAPI service for observable, interruptible agent workflo

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/Pipelex/pipelex.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.

Pipelex/pipelex Star History on RepoForAI

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

Frequently Asked Questions about pipelex

How do I integrate a method into an existing application?

Define the inputs, output and entry pipe in a .mthds bundle. Use pipelex run bundle method.mthds --inputs inputs.json from the CLI or PipelexMTHDSProtocol().execute(...) inside Python. For a service boundary, use the hosted API or the self-hosted REST image. The separate Pipelex MCP connector exposes methods saved to a Pipelex account; it is not the same as serving a local bundle over REST.

Do I need a GPU, and how should I size a local deployment?

There is no universal GPU or VRAM requirement. When inference is hosted or sent to an external provider, the Python runtime need not load the model into local VRAM. For local inference, size the model server around the chosen model, precision or quantization, context length and parallel requests. Measure document processing separately if OCR is part of the workflow. No hardware or throughput figures are specified.

Can I self-host Pipelex for commercial use?

The package manifest declares Elastic-2.0. The availability of a self-hosted image does not by itself establish permission to resell Pipelex as a managed service. Review LICENSE against your use case, particularly if customers will receive access to substantial Pipelex functionality, and assess model-provider terms separately.

When is Pipelex a better fit than a direct model SDK or a code-first agent framework?

Choose Pipelex when the process is stable enough to declare as typed steps and the same procedure needs to run from several entry points. Use a direct SDK when the job is just a single call or a small amount of application-specific glue. Consider a code-first agent framework when the model must choose which tools to call or plan the next step at runtime.

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 Pipelex/pipelex? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Pipelex/pipelex 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